From 7c9bd0340ff82029665e67a8103a77e522749cd9 Mon Sep 17 00:00:00 2001 From: Gorkem Ercan Date: Mon, 6 May 2024 19:00:42 -0400 Subject: [PATCH] Define Darwin definitions for llamacpp Defines the Darwin build definitions for llamacpp. This should fix the earlier backwards compatibility issues. --- pkg/lib/harness/generated/gen_darwin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/lib/harness/generated/gen_darwin.sh b/pkg/lib/harness/generated/gen_darwin.sh index 0ba02d5d..55fe5547 100644 --- a/pkg/lib/harness/generated/gen_darwin.sh +++ b/pkg/lib/harness/generated/gen_darwin.sh @@ -1,10 +1,12 @@ set -ex set -o pipefail -echo "Build kit harness for darwin" +echo "Starting Darwin LLM Harneess build" source $(dirname $0)/gen_common.sh init_vars git_module_setup +COMMON_DARWIN_DEFS="-DCMAKE_OSX_DEPLOYMENT_TARGET=11.3 -DLLAMA_METAL_MACOSX_VERSION_MIN=11.3 -DCMAKE_SYSTEM_NAME=Darwin -DLLAMA_METAL_EMBED_LIBRARY=on" + ## Build devmode UI build_ui compress ${UI_DIR}/dist ../ui.tar.gz