From 4cb0e35b641fd1837e1e9c2f501e1621f0799f38 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Tue, 12 Sep 2023 18:35:34 -0400 Subject: [PATCH] string options --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3dbe74f..079bfde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,10 +8,10 @@ option(LLAMA_BUILD "Build llama.cpp shared library and install alongside python if (LLAMA_BUILD) set(BUILD_SHARED_LIBS "On") if (APPLE) - set(LLAMA_AVX OFF) - set(LLAMA_AVX2 OFF) - set(LLAMA_FMA OFF) - set(LLAMA_F16C OFF) + set(LLAMA_AVX "Off") + set(LLAMA_AVX2 "Off") + set(LLAMA_FMA "Off") + set(LLAMA_F16C "Off") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mtune=native") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -mtune=native") endif()