Mercurial > octave
changeset 32824:15238cb182a8
build: Enable polymorphic allocators by default (bug #65034).
* configure.ac: Enable "std-pmr-polymorphic-allocator" by default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 14 Dec 2023 18:18:05 +0100 |
parents | a41525ba51ac |
children | 24ed0e8812ae |
files | configure.ac |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Wed Jan 24 09:43:25 2024 -0800 +++ b/configure.ac Thu Dec 14 18:18:05 2023 +0100 @@ -305,10 +305,10 @@ AC_PROG_CXX AC_PROG_CXXCPP -ENABLE_STD_PMR_POLYMORPHIC_ALLOCATOR=no +ENABLE_STD_PMR_POLYMORPHIC_ALLOCATOR=yes AC_ARG_ENABLE(std-pmr-polymorphic-allocator, - [AS_HELP_STRING([--enable-std-pmr-polymorphic-allocator], - [build libraries requiring std::pmr::polymorphic_allocator if possible. This allows more efficient transfer of arrays at the .mex file interface. That also means that all libraries including Octave headers (e.g., .oct files) must be able to compile with that C++17 feature.])], + [AS_HELP_STRING([--disable-std-pmr-polymorphic-allocator], + [build libraries that do not require support for std::pmr::polymorphic_allocator. This prevents more efficient transfer of arrays at the .mex file interface. With enabled std::pmr::polymorphic_allocator, sources including Octave headers (e.g., for .oct files) must conform to C++17.])], [case $enableval in yes) ENABLE_STD_PMR_POLYMORPHIC_ALLOCATOR=yes ;; no) ENABLE_STD_PMR_POLYMORPHIC_ALLOCATOR=no ;;