linux.preset 1.6 KB

1234567891011121314151617181920212223
  1. set(WITH_SYSTEM_CALLS "mmap" CACHE STRING "Choose what system calls can be used, options are: none, sbrk, mmap")
  2. set(SYS_ALLOC_SIZE 32768 CACHE INTEGER "Choose the default system allocation size")
  3. option(HAVE_LOCKS "Build with POSIX locking mechanisms" ON)
  4. option(TRYLOCK_ON_MALLOC "Use a trylock on malloc()" ON)
  5. set(FITTING_POLICY "good" CACHE STRING "Choose the fitting policy in freelist-organized raw blocks, options are: best, exact, first, good")
  6. set(GOOD_FIT_PERCENTAGE 0.8 CACHE DOUBLE "Choose the good-fit percentage")
  7. set(WITH_COALESCING "variable" CACHE STRING "Build with coalescing support")
  8. set(MAX_COAL_SIZE 60000 CACHE INTEGER "Maximum coalescing size")
  9. set(WITH_SPLITTING "variable" CACHE STRING "Build with splitting support")
  10. set(MIN_SPLIT_SIZE 64 CACHE INTEGER "Minimum splitting size")
  11. option(WITH_GLIBC_HOOKS "Place dmmlib functions on GLIBC hooks" OFF)
  12. option(WITH_KNOBS "Build with knobs support" ON)
  13. option(FREELIST_COALESCE_AFTER_SPLIT "Try to coalesce blocks after split" ON)
  14. set(STATS "none" CACHE STRING "Choose if the memory allocator keeps internally statistics per raw block or globally, options are: none, global")
  15. option(REQUEST_SIZE_INFO "Keep request size information in metadata" OFF)
  16. option(WITH_MEM_TRACE "Support for memory traces" OFF)
  17. option(WITH_STATS_TRACE "Support for statistics traces" OFF)
  18. option(WITH_STATIC_LIB "Build a static library" OFF)
  19. option(WITH_SHARED_LIB "Build a shared library" ON)
  20. option(PARSE_ENV "Build with support to parse dmmlib environment variables" ON)
  21. option(WITH_EXAMPLES "Build with examples" ON)
  22. option(WITH_DOC "Build with documentation" ON)