osx.preset 1.5 KB

123456789101112131415161718192021
  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 "first" 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 "none" CACHE STRING "Build with coalescing support")
  8. set(WITH_SPLITTING "none" CACHE STRING "Build with splitting support")
  9. option(WITH_KNOBS "Build with knobs support" OFF)
  10. option(WITH_GLIBC_HOOKS "Place dmmlib functions on GLIBC hooks" OFF)
  11. option(FREELIST_COALESCE_AFTER_SPLIT "Try to coalesce blocks after split" OFF)
  12. set(STATS "none" CACHE STRING "Choose if the memory allocator keeps internally statistics per raw block or globally, options are: none, global")
  13. option(REQUEST_SIZE_INFO "Keep request size information in metadata" OFF)
  14. option(WITH_MEM_TRACE "Support for memory traces" OFF)
  15. option(WITH_STATS_TRACE "Support for statistics traces" OFF)
  16. option(WITH_STATIC_LIB "Build a static library" OFF)
  17. option(WITH_SHARED_LIB "Build a shared library" ON)
  18. option(PARSE_ENV "Build with support to parse dmmlib environment variables" OFF)
  19. option(WITH_EXAMPLES "Build with examples" ON)
  20. option(WITH_DOC "Build with documentation" ON)