[LLVMbugs] [Bug 16625] New: AArch64GenSubtargetInfo.inc is not created as part of the cmake build

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 14 07:21:01 PDT 2013


            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: unassignedbugs at nondot.org
          Reporter: rju65 at terransystems.com
                CC: llvmbugs at cs.uiuc.edu
    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
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.


You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130714/39d84819/attachment.html>

More information about the llvm-bugs mailing list