From 61aff293199799bdb26726b71653bb45cc49620d Mon Sep 17 00:00:00 2001 From: Giorgio Gori Date: Mon, 15 Apr 2024 12:41:31 -0700 Subject: [PATCH] setting accelerate threads to 1 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8abef0a..23f3c37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -202,6 +202,7 @@ elseif(NASOQ_USE_BLAS_Accelerate) target_link_libraries(nasoq PRIVATE BLAS::BLAS) target_link_libraries(nasoq PRIVATE LAPACK::LAPACK) target_compile_definitions(nasoq PRIVATE "ACCELERATE") + target_compile_definitions(nasoq PRIVATE "VECLIB_MAXIMUM_THREADS=1") target_compile_definitions(nasoq PUBLIC "ACCELERATE_NEW_LAPACK") endif()