Skip to content

Commit

Permalink
Define Darwin definitions for llamacpp
Browse files Browse the repository at this point in the history
Defines the Darwin build definitions for
llamacpp. This should fix the earlier backwards
compatibility issues.
  • Loading branch information
gorkem committed May 7, 2024
1 parent 792effe commit 7c9bd03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/lib/harness/generated/gen_darwin.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7c9bd03

Please sign in to comment.