Patch for supporting 'use_system_lib' on Linux

Michael van der Westhuizen r1mikey at gmail.com
Wed Feb 6 03:36:21 PST 2013


Hi All,

As per Daniel's commit message in libcxx r174404, here's Linux support for the use_system_lib parameter.

To use the freshly built libcxx without installing it in CMake you'll need to pass '-DLLVM_LIT_ARGS=-sv --param use_system_lib=0' to your CMake call (as this defaults to True to match the Darwin behaviour).

This is a deviation from previous behaviour (which was to unconditionally use the freshly built libcxx), so perhaps the logic under Linux needs to be reversed?

Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-lit-cfg-support-for-testing-system-libc++-on-linux.patch
Type: application/octet-stream
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130206/8e40b63e/attachment.obj>


More information about the cfe-commits mailing list