[llvm-dev] How can I fix/exclude some failing tests when building with BUILD_SHARED_LIBS=ON

Don Hinton via llvm-dev llvm-dev at lists.llvm.org
Wed May 8 12:33:05 PDT 2019

The test in question is clang-check-mac-libcxx-fixed-compilation-db.cpp
which copies clang-check to a local directory to make sure clang can find
libcxx via rpath.

However, when built with shared libs, the copy of clang-check can't find
any of it's libraries, so I'd like to either turn if off when
BUILD_SHARED_LIBS=ON, or find a way to fix it.  Thought about trying to use
DYLD_LIBRARY_PATH, but don't think that's the correct approach.

There are also a set of clang module tests that fail, as well as a few
tools that build local without using llvm_add_library that I plan to fix,
but I think this one is special due to the copy.

thanks in advance...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190508/a1de756b/attachment.html>

More information about the llvm-dev mailing list