summaryrefslogtreecommitdiff
path: root/src/lib/CMakeLists.txt
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-10-14 08:29:50 +0000
committerSander Vrijders <[email protected]>2017-10-14 08:29:50 +0000
commit1888c137a8ff315bc549c16740aa727da8c666f5 (patch)
tree9cd6534cdd79de613e1be76d876d435db8e344b5 /src/lib/CMakeLists.txt
parent76ce1f398a6efae7f62b6e786ef94e89be0784c1 (diff)
parent7a98128e053ccd59203757982f7332ed5e4568ea (diff)
downloadouroboros-1888c137a8ff315bc549c16740aa727da8c666f5.tar.gz
ouroboros-1888c137a8ff315bc549c16740aa727da8c666f5.zip
Merged in dstaesse/ouroboros/be-fix-multiblock (pull request #627)
lib: Re-enable multi-block support
Diffstat (limited to 'src/lib/CMakeLists.txt')
-rw-r--r--src/lib/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index 6ab5ebc8..00670f65 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -165,6 +165,8 @@ set(SHM_RDRB_NAME "/${SHM_PREFIX}.rdrb" CACHE INTERNAL
"Name for the main POSIX shared memory buffer")
set(SHM_RDRB_BLOCK_SIZE "sysconf(_SC_PAGESIZE)" CACHE STRING
"SDU buffer block size, multiple of pagesize for performance")
+set(SHM_RDRB_MULTI_BLOCK true CACHE BOOL
+ "SDU buffer multiblock SDU support")
set(SHM_RBUFF_LOCKLESS 0 CACHE BOOL
"Enable shared memory lockless rbuff support")