File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ ifeq ($(OMIT_LOCAL_ENGINE),0)
181181 LLAMA_OPTIONS += -DCMAKE_OSX_ARCHITECTURES="arm64"
182182 LDFLAGS += -arch arm64
183183 else
184- LLAMA_OPTIONS += -DCMAKE_OSX_ARCHITECTURES=" x86_64;arm64"
184+ LLAMA_OPTIONS += ' -DCMAKE_OSX_ARCHITECTURES=x86_64;arm64'
185185 LDFLAGS += -arch arm64 -arch x86_64
186186 endif
187187 else ifeq ($(PLATFORM),linux)
@@ -227,7 +227,7 @@ ifeq ($(OMIT_LOCAL_ENGINE),0)
227227 LLAMA_OPTIONS += -DGGML_NATIVE=OFF -DGGML_METAL=ON -DGGML_ACCELERATE=ON -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=Apple
228228 endif
229229 else ifeq ($(PLATFORM),ios-sim)
230- LLAMA_OPTIONS += -DGGML_OPENMP=OFF -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 -DCMAKE_OSX_ARCHITECTURES=" x86_64;arm64"
230+ LLAMA_OPTIONS += -DGGML_OPENMP=OFF -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 ' -DCMAKE_OSX_ARCHITECTURES=x86_64;arm64'
231231 # Default iOS simulator build uses Metal + Accelerate + BLAS when LLAMA is empty
232232 ifeq ($(LLAMA),)
233233 LLAMA_OPTIONS += -DGGML_NATIVE=OFF -DGGML_METAL=ON -DGGML_ACCELERATE=ON -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=Apple
You can’t perform that action at this time.
0 commit comments