sthorm.preset 1.9 KB

12345678910111213141516171819202122232425262728
  1. if(CMAKE_CROSSCOMPILING)
  2. set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> -mcore=stxp70v4 <LINK_FLAGS> cr <TARGET> <OBJECTS>")
  3. set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> -mcore=stxp70v4 <TARGET>")
  4. endif(CMAKE_CROSSCOMPILING)
  5. set(DMM_DATA_ALIGNMENT "4") # Do not change
  6. set(WITH_SYSTEM_CALLS "none" CACHE STRING "Choose what system calls can be used, options are: none, sbrk, mmap") # Do not change
  7. option(HAVE_LOCKS "Build with POSIX locking mechanisms" OFF)
  8. set(RAW_BLOCKS_TYPE "freelist" CACHE STRING "Choose what raw blocks can be used, options are: freelist, bitmap")
  9. set(ORDERING_POLICY "lifo" CACHE STRING "Choose the ordering policy in freelist-organized raw blocks, options are: address, fifo, lifo, size")
  10. set(FITTING_POLICY "first" CACHE STRING "Choose the fitting policy in freelist-organized raw blocks, options are: best, exact, first, good")
  11. set(WITH_COALESCING "never" CACHE STRING "Build with coalescing support")
  12. set(WITH_SPLITTING "never" CACHE STRING "Build with splitting support")
  13. option(FREELIST_COALESCE_AFTER_SPLIT "Try to coalesce blocks after split" OFF)
  14. option(WITH_REALLOC "Build with realloc() support" OFF)
  15. option(WITH_CALLOC "Build with calloc() support" OFF)
  16. option(WITH_MEMALIGN "Build with memalign() support" OFF)
  17. option(WITH_GLIBC_HOOKS "Place dmmlib functions on GLIBC hooks" OFF)
  18. option(WITH_KNOBS "Build with knobs support" OFF)
  19. set(STATS "none" CACHE STRING "Choose if the memory allocator keeps internally statistics per raw block or globally, options are: none, global")
  20. option(REQUEST_SIZE_INFO "Keep request size information in metadata" OFF)
  21. option(WITH_MEM_TRACE "Support for memory traces" OFF)
  22. option(WITH_STATS_TRACE "Support for statistics traces" OFF)
  23. option(WITH_STATIC_LIB "Build a static library" ON)
  24. option(WITH_SHARED_LIB "Build a shared library" OFF)
  25. option(PARSE_ENV "Build with support to parse dmmlib environment variables" OFF)
  26. option(WITH_EXAMPLES "Build with examples" OFF)
  27. option(WITH_DOC "Build with documentation" OFF)