From 6d19135b9b7f1e41e507b36438af955b6a801143 Mon Sep 17 00:00:00 2001 From: slaren Date: Mon, 25 Nov 2024 03:34:29 +0100 Subject: [PATCH] add cpu backend to the swift build --- Package.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 6b68aecde..d9e8a4e2d 100644 --- a/Package.swift +++ b/Package.swift @@ -43,7 +43,8 @@ linkerSettings.append(.linkedFramework("Accelerate")) cSettings.append( contentsOf: [ .define("GGML_USE_ACCELERATE"), - .define("GGML_USE_METAL") + .define("GGML_USE_METAL"), + .define("GGML_USE_CPU") ] ) #endif