[PATCH] D11963: Create a __config_site file to capture configuration decisions.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 13:47:34 PDT 2015


EricWF updated this revision to Diff 32992.
EricWF added a comment.

This patch takes @jroelof's idea and runs with it. However this patch doesn't require a `__config_site` header. The patch works modifying `build-libcxx/include/c++/v1/__config` by prepending the contents of `__config_site`. If extra configuration options are needed the test suite uses `build-libcxx/include/c++/v1`. Otherwise the test suite still uses `libcxx/include`.

Note that if no extra configuration options are needed then `build-libcxx/include/c++/v1/__config` is not modified.


http://reviews.llvm.org/D11963

Files:
  CMakeLists.txt
  cmake/Modules/HandleLibcxxFlags.cmake
  include/CMakeLists.txt
  include/__config_site.in
  test/CMakeLists.txt
  test/libcxx/atomics/libcpp-has-no-threads.fail.cpp
  test/libcxx/atomics/libcpp-has-no-threads.pass.cpp
  test/libcxx/test/config.py
  test/lit.site.cfg.in
  test/std/utilities/date.time/tested_elsewhere.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11963.32992.patch
Type: text/x-patch
Size: 11678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150824/24e3b2e8/attachment-0001.bin>


More information about the cfe-commits mailing list