llvm-project/libcxx/cmake/caches
Dimitry Andric 328261019f Define new/delete in libc++ when using libcxxrt
Always turn on LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS, if libcxxrt is used
as the C++ ABI library, since libcxxrt does not provide the full set
ofnew and delete operators. In particular, the aligned versions of these
operators are completely missing. This primarily addresses builds on
FreeBSD, as this platform uses libcxxrt by default.

Also, attempt to provide a FreeBSD.cmake cache file, with hopefully sane
settings, partially copied from the Apple.cmake cache file. This needs
more work, probably some additions to ci build scripts (although I am
not aware of any 'official' FreeBSD build bots).

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D96720
2021-02-15 21:22:12 +01:00
..
Apple.cmake [libc++] Clarify how we pick the typeinfo comparison 2020-11-18 16:58:45 -05:00
FreeBSD.cmake Define new/delete in libc++ when using libcxxrt 2021-02-15 21:22:12 +01:00
Generic-32bits.cmake [libc++][CMake] Add CMake caches for commonly supported configurations 2020-06-09 14:52:14 -04:00
Generic-asan.cmake [libc++][CMake] Add CMake caches for commonly supported configurations 2020-06-09 14:52:14 -04:00
Generic-cxx2b.cmake [libc++] Add basic support for -std=c++2b. 2021-01-08 19:02:41 +01:00
Generic-cxx03.cmake [runtimes] Allow passing Lit parameters through CMake 2020-07-09 12:45:00 -04:00
Generic-cxx11.cmake [runtimes] Allow passing Lit parameters through CMake 2020-07-09 12:45:00 -04:00
Generic-cxx14.cmake [runtimes] Allow passing Lit parameters through CMake 2020-07-09 12:45:00 -04:00
Generic-cxx17.cmake [runtimes] Allow passing Lit parameters through CMake 2020-07-09 12:45:00 -04:00
Generic-cxx20.cmake [libc++] Use c++20 instead of c++2a consistently. 2021-01-07 13:11:33 +01:00
Generic-msan.cmake [libc++][CMake] Add CMake caches for commonly supported configurations 2020-06-09 14:52:14 -04:00
Generic-no-filesystem.cmake [libc++] Make LIBCXX_ENABLE_FILESYSTEM fully consistent 2021-01-19 14:15:48 -05:00
Generic-no-localization.cmake [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
Generic-no-random_device.cmake [libc++] Allow building libc++ on platforms without a random device 2020-10-15 12:20:29 -04:00
Generic-nodebug.cmake [libc++] Rename LIBCXX_ENABLE_DEBUG_MODE to LIBCXX_ENABLE_DEBUG_MODE_SUPPORT 2020-10-09 14:39:20 -04:00
Generic-noexceptions.cmake [libc++][CMake] Add CMake caches for commonly supported configurations 2020-06-09 14:52:14 -04:00
Generic-singlethreaded.cmake [libc++][CMake] Add CMake caches for commonly supported configurations 2020-06-09 14:52:14 -04:00
Generic-tsan.cmake [libc++][CMake] Add CMake caches for commonly supported configurations 2020-06-09 14:52:14 -04:00
Generic-ubsan.cmake [libc++][CMake] Add CMake caches for commonly supported configurations 2020-06-09 14:52:14 -04:00
README.md [libc++][CMake] Add CMake caches for commonly supported configurations 2020-06-09 14:52:14 -04:00

README.md

libc++ / libc++abi configuration caches

This directory contains CMake caches for the supported configurations of libc++. Some of the configurations are specific to a vendor, others are generic and not tied to any vendor.

While we won't explicitly work to break configurations not listed here, any configuration not listed here is not explicitly supported. If you use or ship libc++ under a configuration not listed here, you should work with the libc++ maintainers to make it into a supported configuration and add it here.

Similarly, adding any new configuration that's not already covered must be discussed with the libc++ maintainers as it entails a maintenance burden.