summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorcah <cah@ableton.com>2020-08-07 00:57:52 +0200
committercah <cah@ableton.com>2020-08-07 16:04:05 +0200
commita7317b40e95350ff8436f558265beebcec69c122 (patch)
tree3c06e8dd09d3757544ead45eb275d0891ed07d40 /CMakeLists.txt
parent1298f7dbca1d70aaadb152e53be558465ab20e0b (diff)
Increase BLOCK_DEV_CACHE_SIZE. Significantly speeds updebug
drive formatting on Windows (overall times to write and check a ~1Gb DCP go down from 21m to 13m).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8384760..81fb839 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,7 +34,7 @@ elseif(LIB_ONLY)
add_definitions(-DCONFIG_DEBUG_ASSERT=0)
add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)
- add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=16)
+ add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=256)
else()
#Generic example target
if (WIN32)
@@ -46,7 +46,7 @@ else()
add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=0)
add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)
add_definitions(-DCONFIG_HAVE_OWN_ASSERT=0)
- add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=16)
+ add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=256)
endif()
macro(output_configure)