From d5810b077ac0814a1de4ec9c7e12b249353882d9 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 16 Dec 2022 09:16:49 +0100 Subject: [PATCH] Copy NO_WARMUP preset from Makefile.rule --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e830589e8..69117a721 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,8 @@ option(USE_LOCKING "Use locks even in single-threaded builds to make them callab option(USE_PERL "Use the older PERL scripts for build preparation instead of universal shell scripts" OFF) +option(NO_WARMUP "Do not run a benchmark on each startup just to find the best location for the memory buffer" ON) + if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") option(NO_AFFINITY "Disable support for CPU affinity masks to avoid binding processes from e.g. R or numpy/scipy to a single core" ON) else()