Merge branch 'dev-slice' into dev-slice-cmask
This commit is contained in:
commit
8bf16746e9
@ -48,6 +48,7 @@ set(mi_sources
|
|||||||
# Convenience: set default build type depending on the build directory
|
# Convenience: set default build type depending on the build directory
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
message(STATUS "")
|
||||||
if (NOT CMAKE_BUILD_TYPE)
|
if (NOT CMAKE_BUILD_TYPE)
|
||||||
if ("${CMAKE_BINARY_DIR}" MATCHES ".*(D|d)ebug$" OR MI_DEBUG_FULL)
|
if ("${CMAKE_BINARY_DIR}" MATCHES ".*(D|d)ebug$" OR MI_DEBUG_FULL)
|
||||||
message(STATUS "No build type selected, default to: Debug")
|
message(STATUS "No build type selected, default to: Debug")
|
||||||
@ -199,7 +200,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU|Intel" AND NOT CMAKE_SYSTEM
|
|||||||
list(APPEND mi_cflags -ftls-model=initial-exec)
|
list(APPEND mi_cflags -ftls-model=initial-exec)
|
||||||
endif()
|
endif()
|
||||||
if(MI_OVERRIDE)
|
if(MI_OVERRIDE)
|
||||||
list(APPEND -fno-builtin-malloc)
|
list(APPEND mi_cflags -fno-builtin-malloc)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -263,13 +264,14 @@ endif()
|
|||||||
|
|
||||||
message(STATUS "")
|
message(STATUS "")
|
||||||
message(STATUS "Library base name: ${mi_basename}")
|
message(STATUS "Library base name: ${mi_basename}")
|
||||||
|
message(STATUS "Version : ${mi_version}")
|
||||||
message(STATUS "Build type : ${CMAKE_BUILD_TYPE_LC}")
|
message(STATUS "Build type : ${CMAKE_BUILD_TYPE_LC}")
|
||||||
if(MI_USE_CXX)
|
if(MI_USE_CXX)
|
||||||
message(STATUS "C++ Compiler : ${CMAKE_CXX_COMPILER}")
|
message(STATUS "C++ Compiler : ${CMAKE_CXX_COMPILER}")
|
||||||
else()
|
else()
|
||||||
message(STATUS "C Compiler : ${CMAKE_C_COMPILER}")
|
message(STATUS "C Compiler : ${CMAKE_C_COMPILER}")
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "Version : ${mi_version}")
|
message(STATUS "Compiler flags : ${mi_cflags}")
|
||||||
message(STATUS "Build targets : ${mi_build_targets}")
|
message(STATUS "Build targets : ${mi_build_targets}")
|
||||||
message(STATUS "")
|
message(STATUS "")
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ static mi_option_desc_t options[_mi_option_last] =
|
|||||||
{ 1, UNINIT, MI_OPTION(eager_commit_delay) }, // the first N segments per thread are not eagerly committed (but per page in the segment on demand)
|
{ 1, UNINIT, MI_OPTION(eager_commit_delay) }, // the first N segments per thread are not eagerly committed (but per page in the segment on demand)
|
||||||
#endif
|
#endif
|
||||||
{ 1, UNINIT, MI_OPTION(allow_decommit) }, // decommit slices when no longer used (after reset_delay milli-seconds)
|
{ 1, UNINIT, MI_OPTION(allow_decommit) }, // decommit slices when no longer used (after reset_delay milli-seconds)
|
||||||
{ 50, UNINIT, MI_OPTION(reset_delay) }, // page reset delay in milli-seconds (= decommit)
|
{ 25, UNINIT, MI_OPTION(reset_delay) }, // page reset delay in milli-seconds (= decommit)
|
||||||
{ 500, UNINIT, MI_OPTION(segment_decommit_delay) },// decommit delay in milli-seconds for freed segments
|
{ 500, UNINIT, MI_OPTION(segment_decommit_delay) },// decommit delay in milli-seconds for freed segments
|
||||||
{ 0, UNINIT, MI_OPTION(use_numa_nodes) }, // 0 = use available numa nodes, otherwise use at most N nodes.
|
{ 0, UNINIT, MI_OPTION(use_numa_nodes) }, // 0 = use available numa nodes, otherwise use at most N nodes.
|
||||||
{ 0, UNINIT, MI_OPTION(limit_os_alloc) }, // 1 = do not use OS memory for allocation (but only reserved arenas)
|
{ 0, UNINIT, MI_OPTION(limit_os_alloc) }, // 1 = do not use OS memory for allocation (but only reserved arenas)
|
||||||
|
Loading…
Reference in New Issue
Block a user