This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] Use __config_site to configure the test suite features.
ClosedPublic

Authored by EricWF on Oct 13 2015, 6:34 PM.

Details

Summary

This patch changes the tests to use the "__config_site" header if present instead of manually configuring for each option. This patch also removes the test flags for configuring some of these options. For example "lit -sv --param=enable_threads=OFF" no longer works. However lit will still correctly configure if the CMake option "-DLIBCXX_ENABLE_THREADS=OFF" is given at build time.

This patch will fix the libc++abi test configuration for LIBCXX_ABI_VERSION and LIBCXX_ABI_UNSTABLE one we teach it about 'project_obj_dir' . I would like to land this ASAP to prevent more work blockage.

Diff Detail

Event Timeline

EricWF updated this revision to Diff 37311.Oct 13 2015, 6:34 PM
EricWF retitled this revision from to [libcxx] Use __config_site to configure the test suite features..
EricWF updated this object.
EricWF added a subscriber: cfe-commits.
jroelofs accepted this revision.Oct 14 2015, 11:18 AM
jroelofs edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 14 2015, 11:18 AM
EricWF closed this revision.Oct 14 2015, 11:24 AM