Skip to content

Commit b4ad442

Browse files
committed
Disable thread_local_caching_allocator by default
1 parent 561b78d commit b4ad442

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

libs/core/allocator_support/CMakeLists.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Allow to disable caching allocator
88
hpx_option(
99
HPX_ALLOCATOR_SUPPORT_WITH_CACHING BOOL
10-
"Enable caching allocator. (default: ON)" ON ADVANCED
10+
"Enable caching allocator. (default: OFF)" OFF ADVANCED
1111
CATEGORY "Modules"
1212
MODULE ALLOCATOR_SUPPORT
1313
)
@@ -24,15 +24,9 @@ set(allocator_support_headers
2424
hpx/allocator_support/detail/new.hpp
2525
hpx/allocator_support/internal_allocator.hpp
2626
hpx/allocator_support/traits/is_allocator.hpp
27+
hpx/allocator_support/thread_local_caching_allocator.hpp
2728
)
2829

29-
if(HPX_ALLOCATOR_SUPPORT_WITH_CACHING)
30-
set(allocator_support_headers
31-
${allocator_support_headers}
32-
hpx/allocator_support/thread_local_caching_allocator.hpp
33-
)
34-
endif()
35-
3630
# cmake-format: off
3731
set(allocator_support_compat_headers
3832
hpx/allocator_support.hpp => hpx/modules/allocator_support.hpp

0 commit comments

Comments
 (0)