|
@@ -71,21 +71,37 @@ else(BLOCKS_ORGANIZATION STREQUAL "dll")
|
|
|
endif(BLOCKS_ORGANIZATION STREQUAL "dll")
|
|
|
|
|
|
if(WITH_COALESCING STREQUAL "fixed")
|
|
|
+ if(NOT DEFINED MAX_COALESCE_SIZE)
|
|
|
+ message(FATAL_ERROR "You have to set MAX_COALESCE_SIZE by using -DMAX_COALESCE_SIZE={size}.")
|
|
|
+ endif(NOT DEFINED MAX_COALESCE_SIZE)
|
|
|
if (MULTIPLE_HEAPS)
|
|
|
+ # Coalescing on multiple heaps requires heap ownership information per
|
|
|
+ # block
|
|
|
set(WITH_OWNERSHIP ON)
|
|
|
endif (MULTIPLE_HEAPS)
|
|
|
set(COALESCING_FIXED ON)
|
|
|
elseif(WITH_COALESCING STREQUAL "variable")
|
|
|
+ if(NOT DEFINED MAX_COALESCE_SIZE)
|
|
|
+ message(FATAL_ERROR "You have to set MAX_COALESCE_SIZE by using -DMAX_COALESCE_SIZE={size}.")
|
|
|
+ endif(NOT DEFINED MAX_COALESCE_SIZE)
|
|
|
set(WITH_KNOBS ON)
|
|
|
if (MULTIPLE_HEAPS)
|
|
|
+ # Coalescing on multiple heaps requires heap ownership information per
|
|
|
+ # block
|
|
|
set(WITH_OWNERSHIP ON)
|
|
|
endif (MULTIPLE_HEAPS)
|
|
|
set(COALESCING_VARIABLE ON)
|
|
|
endif(WITH_COALESCING STREQUAL "fixed")
|
|
|
|
|
|
if(WITH_SPLITTING STREQUAL "fixed")
|
|
|
+ if(NOT DEFINED MIN_SPLITTING_SIZE)
|
|
|
+ message(FATAL_ERROR "You have to set MIN_SPLITTING_SIZE by using -DMIN_SPLITTING_SIZE={size}.")
|
|
|
+ endif(NOT DEFINED MIN_SPLITTING_SIZE)
|
|
|
set(SPLITTING_FIXED ON)
|
|
|
elseif(WITH_SPLITTING STREQUAL "variable")
|
|
|
+ if(NOT DEFINED MIN_SPLITTING_SIZE)
|
|
|
+ message(FATAL_ERROR "You have to set MIN_SPLITTING_SIZE by using -DMIN_SPLITTING_SIZE={size}.")
|
|
|
+ endif(NOT DEFINED MIN_SPLITTING_SIZE)
|
|
|
set(WITH_KNOBS ON)
|
|
|
set(SPLITTING_VARIABLE ON)
|
|
|
endif(WITH_SPLITTING STREQUAL "fixed")
|