|
@@ -3,12 +3,13 @@ option(WITH_REALLOC "Build with realloc" OFF)
|
|
option(WITH_EXAMPLES "Build with examples" OFF)
|
|
option(WITH_EXAMPLES "Build with examples" OFF)
|
|
option(WITH_MEMORY_SPACE_AWARENESS "Build with memory space awareness" OFF)
|
|
option(WITH_MEMORY_SPACE_AWARENESS "Build with memory space awareness" OFF)
|
|
option(WITH_FIXED_LISTS "Build with predefined lists of fixed-sized blocks" ON)
|
|
option(WITH_FIXED_LISTS "Build with predefined lists of fixed-sized blocks" ON)
|
|
-option(WITH_STATS "Build with statistics" ON)
|
|
|
|
|
|
+option(WITH_STATS "Build with statistics" OFF)
|
|
option(WITH_KNOBS "Build with knobs support" OFF)
|
|
option(WITH_KNOBS "Build with knobs support" OFF)
|
|
option(WITH_ADAPTIVITY "Build with adaptivity" OFF)
|
|
option(WITH_ADAPTIVITY "Build with adaptivity" OFF)
|
|
option(WITH_STATIC_LIB "Build a static library" OFF)
|
|
option(WITH_STATIC_LIB "Build a static library" OFF)
|
|
option(WITH_SHARED_LIB "Build a shared library" OFF)
|
|
option(WITH_SHARED_LIB "Build a shared library" OFF)
|
|
option(WITH_DOC "Build with documentation" OFF)
|
|
option(WITH_DOC "Build with documentation" OFF)
|
|
|
|
+option(REPLACE_MALLOC "Replace function calls" OFF)
|
|
|
|
|
|
set(NUM_HEAPS 1)
|
|
set(NUM_HEAPS 1)
|
|
|
|
|
|
@@ -34,7 +35,6 @@ if (P2012)
|
|
set(NUM_HEAPS 1)
|
|
set(NUM_HEAPS 1)
|
|
set(LINUXTEST OFF)
|
|
set(LINUXTEST OFF)
|
|
set(WITH_FIXED_LISTS OFF)
|
|
set(WITH_FIXED_LISTS OFF)
|
|
- set(WITH_STATS OFF)
|
|
|
|
set(WITH_COALESCING "never")
|
|
set(WITH_COALESCING "never")
|
|
set(WITH_SPLITTING "never")
|
|
set(WITH_SPLITTING "never")
|
|
set(BLOCKS_ORGANIZATION "sll")
|
|
set(BLOCKS_ORGANIZATION "sll")
|
|
@@ -47,7 +47,6 @@ if (LEON3)
|
|
set(NUM_HEAPS 1)
|
|
set(NUM_HEAPS 1)
|
|
set(LINUXTEST OFF)
|
|
set(LINUXTEST OFF)
|
|
set(WITH_FIXED_LISTS OFF)
|
|
set(WITH_FIXED_LISTS OFF)
|
|
- set(WITH_STATS OFF)
|
|
|
|
set(WITH_COALESCING "fixed")
|
|
set(WITH_COALESCING "fixed")
|
|
set(MAX_COALESCE_SIZE 60000)
|
|
set(MAX_COALESCE_SIZE 60000)
|
|
set(WITH_SPLITTING "never")
|
|
set(WITH_SPLITTING "never")
|
|
@@ -62,9 +61,9 @@ if (LINUXTEST)
|
|
set(WITH_SPLITTING "variable")
|
|
set(WITH_SPLITTING "variable")
|
|
set(MIN_SPLITTING_SIZE 300)
|
|
set(MIN_SPLITTING_SIZE 300)
|
|
set(WITH_SHARED_LIB ON)
|
|
set(WITH_SHARED_LIB ON)
|
|
- set(WITH_DOC ON)
|
|
|
|
|
|
+ set(WITH_STATIC_LIB ON)
|
|
set(WITH_REALLOC ON)
|
|
set(WITH_REALLOC ON)
|
|
- set(BLOCKS_ORGANIZATION "dll")
|
|
|
|
|
|
+ set(REPLACE_MALLOC ON)
|
|
endif (LINUXTEST)
|
|
endif (LINUXTEST)
|
|
|
|
|
|
if(BLOCKS_ORGANIZATION STREQUAL "dll")
|
|
if(BLOCKS_ORGANIZATION STREQUAL "dll")
|