http://llvm.org/bugs/show_bug.cgi?id=16625
Bug ID: 16625
Summary: AArch64GenSubtargetInfo.inc is not created as part of
the cmake build
Product: Build scripts
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
I have attempted to find an existing bug report none found.
I'm working with release llvm 3.3 final tag from svn.
Building using make works on my Ubuntu 12.04.2 system. Building using cmake
does not.
directory structure is
ws/llvm - llvm source code
ws/build - location to build llvm
To build using make I did the following;
cd to ws/build
performed ../llvm/configure
then performed make
this works.
To build using cmake I did the following;
deleted and recreated the build directory so it was empty.
cd into the build directory.
performed cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ../llvm
this works until it get to the 29% mark then I get this error
"Scanning dependencies of target LLVMAArch64Utils
make[2]: *** No rule to make target
`lib/Target/AArch64/AArch64GenSubtargetInfo.inc', needed by
`lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/AArch64BaseInfo.cpp.o'.
Stop.
make[1]: *** [lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/all]
Error 2
make: *** [all] Error 2"
** note if I build using make and then cmake without cleaning the build
directory the .inc files are present and the cmake build completes.
Regards
Ray
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs