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: unassignedclangb...@nondot.org
          Reporter: mclow.li...@gmail.com
                CC: llvm-bugs@lists.llvm.org, mclow.li...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to