8000 fix(ci): Explicitly set cmake osx architecture · surtweig/llama-cpp-python@fb0b8fe · GitHub
[go: up one dir, main page]

Skip to content

Commit fb0b8fe

Browse files
committed
fix(ci): Explicitly set cmake osx architecture
1 parent 9d06e36 commit fb0b8fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ if (LLAMA_BUILD)
7070
set(GGML_AVX2 "Off" CACHE BOOL "ggml: enable AVX2" FORCE)
7171
set(GGML_FMA "Off" CACHE BOOL "gml: enable FMA" FORCE)
7272
set(GGML_F16C "Off" CACHE BOOL "gml: enable F16C" FORCE)
73+
74+
set(CMAKE_OSX_ARCHITECTURES "arm64" CACHE STRING "Build architecture for OS X" FORCE)
7375
endif()
7476

7577
if (APPLE)

0 commit comments

Comments
 (0)
0