mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-09-22 21:16:20 +00:00
Merge a0bd8f0343
into 1b28061400
This commit is contained in:
commit
0bc8f72979
@ -1065,6 +1065,11 @@ if (NOT MSVC)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
list(LENGTH CMAKE_OSX_ARCHITECTURES OSX_ARCHITECTURES_LENGTH)
|
||||
if (OSX_ARCHITECTURES_LENGTH GREATER 1)
|
||||
message(FATAL_ERROR "There's no support for multiple architectures with CMAKE_OSX_ARCHITECTURES.\nPlease use 'lipo -create ...' to create a universal library/binary.")
|
||||
endif()
|
||||
|
||||
set(ARCH_FLAGS "")
|
||||
|
||||
if (CMAKE_OSX_ARCHITECTURES STREQUAL "arm64" OR
|
||||
|
Loading…
Reference in New Issue
Block a user