mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-23 15:08:27 +00:00
darwin build script
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user