[LLVMbugs] [Bug 20435] New: CMake: native llvm-tblgen: Endless reconfigure-loop in parallel build

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 24 07:24:07 PDT 2014


            Bug ID: 20435
           Summary: CMake: native llvm-tblgen: Endless reconfigure-loop in
                    parallel build
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: martin.zenzes at dfki.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

If calling cmake with "-DCMAKE_SYSTEM_NAME=Linux" (compiling in cross-mode
[1]), the "native llvm-tblgen" will be created. This will cause endless rerun
of the cmake-target for "ConfigureNativeTableGen" when compiling in parallel
build. The dependencies of later targets depending on the TableGen are not set

    cmake -DCMAKE_SYSTEM_NAME=Linux ../path/to/CMakeLists.txt
    make -j9
    ...endless-loop, finally build error...
    build single-threaded

Tested: "release_34", "release_33" and "master"

[1] CMake is setting "CMAKE_CROSSCOMPILING" to "True" if the CMAKE_SYSTEM_NAME
is set. Your CMakeLists then checks this Variable and creates the native



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/20140724/e43070f1/attachment.html>

More information about the llvm-bugs mailing list