[llvm-bugs] [Bug 43049] New: Standalone libc++ build is broken

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 19 11:14:56 PDT 2019


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

            Bug ID: 43049
           Summary: Standalone libc++ build is broken
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mclow.lists at gmail.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

https://libcxx.llvm.org/docs/BuildingLibcxx.html has a section that starts out:
> It is sometimes beneficial to build separately from the full LLVM build. 
> An out-of-tree build would look like this:

And that no longer works.

If I do this (on Mac OS)
$ cmake -G Ninja -DLLVM_PATH=$LLVM/llvm -DLIBCXX_CXX_ABI=libcxxabi
-DLIBCXX_CXX_ABI_INCLUDE_PATHS=/usr/include $LIBCXX

that works, but then
$ ninja
$ ninja check-libcxx
"ninja: error: unknown target 'check-libcxx'"

Also, running individual tests via lit fails as well:
$ $LIT -sv --param "std=c++17" --param
"libcxx_site_config=$LLVM_BUILD/libcxx/test/lit.site.cfg"
--param=enable_warnings=true $LLVM/libcxx/test/std/utilities/time/

-- 
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/20190819/c124ec0e/attachment-0001.html>


More information about the llvm-bugs mailing list