set(WITH_SYSTEM_CALLS "mmap" CACHE STRING "Choose what system calls can be used, options are: none, sbrk, mmap") set(SYS_ALLOC_SIZE 32768 CACHE INTEGER "Choose the default system allocation size") option(HAVE_LOCKS "Build with POSIX locking mechanisms" ON) option(TRYLOCK_ON_MALLOC "Use a trylock on malloc()" ON) set(FITTING_POLICY "first" CACHE STRING "Choose the fitting policy in freelist-organized raw blocks, options are: best, exact, first, good") set(GOOD_FIT_PERCENTAGE 0.8 CACHE DOUBLE "Choose the good-fit percentage") set(WITH_COALESCING "none" CACHE STRING "Build with coalescing support") set(WITH_SPLITTING "none" CACHE STRING "Build with splitting support") option(WITH_KNOBS "Build with knobs support" OFF) option(WITH_GLIBC_HOOKS "Place dmmlib functions on GLIBC hooks" OFF) option(FREELIST_COALESCE_AFTER_SPLIT "Try to coalesce blocks after split" OFF) set(STATS "none" CACHE STRING "Choose if the memory allocator keeps internally statistics per raw block or globally, options are: none, global") option(REQUEST_SIZE_INFO "Keep request size information in metadata" OFF) option(WITH_MEM_TRACE "Support for memory traces" OFF) option(WITH_STATS_TRACE "Support for statistics traces" OFF) option(WITH_STATIC_LIB "Build a static library" OFF) option(WITH_SHARED_LIB "Build a shared library" ON) option(PARSE_ENV "Build with support to parse dmmlib environment variables" OFF) option(WITH_EXAMPLES "Build with examples" ON) option(WITH_DOC "Build with documentation" ON)