darwin build script

This commit is contained in:
Jeffrey Morgan
2023-07-28 12:38:48 -04:00
parent 227da16909
commit ed832ce3b7
3 changed files with 20 additions and 18 deletions

View File

@@ -1,7 +0,0 @@
#!/bin/bash
mkdir -p dist
CGO_ENABLED=1 GOARCH=arm64 go build -o dist/ollama_arm64
CGO_ENABLED=1 GOARCH=amd64 go build -o dist/ollama_amd64
lipo -create -output dist/ollama dist/ollama_arm64 dist/ollama_amd64
npm run --prefix app make:sign