[llvm-bugs] [Bug 39212] New: Building with CLANG_ENABLE_BOOTSTRAP=On doesn't preserve the CMAKE option

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 8 01:35:58 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39212

            Bug ID: 39212
           Summary: Building with CLANG_ENABLE_BOOTSTRAP=On doesn't
                    preserve the CMAKE option
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at lists.llvm.org

To build the llvm-toolchain on Debian/Ubuntu, for various reasons, I need to
provide a set of options to the build system.

One of them is -DCMAKE_BUILD_TYPE=RelWithDebInfo

Building with make as a cmake target with CLANG_ENABLE_BOOTSTRAP=On, stage1
does have the option but this isn't pass to the stage2 step:

$ grep CMAKE_BUILD_TYPE build-llvm/CMakeCache.txt
build-llvm/tools/clang/stage2-bins/CMakeCache.txt 
build-llvm/CMakeCache.txt:CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
build-llvm/tools/clang/stage2-bins/CMakeCache.txt:CMAKE_BUILD_TYPE:STRING=Debug

-- 
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/20181008/0bf59ead/attachment.html>


More information about the llvm-bugs mailing list