build: recursive make ggml-cuda

This commit is contained in:
Michael Yang
2024-12-09 15:38:39 -08:00
parent 9f7d3ff2a8
commit 054e31146e
11 changed files with 195 additions and 62 deletions

View File

@@ -10,9 +10,7 @@ mkdir -p dist
# If installed to an alternate location use the following to enable
# export SDKROOT=/Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
# export DEVELOPER_DIR=/Applications/Xcode_12.5.1.app/Contents/Developer
export CGO_CFLAGS=-mmacosx-version-min=11.3
export CGO_CXXFLAGS=-mmacosx-version-min=11.3
export CGO_LDFLAGS=-mmacosx-version-min=11.3
export CGO_CPPFLAGS=-mmacosx-version-min=11.3
rm -rf llama/build dist/darwin-*
echo "Building darwin arm64"