try building with osx_architectures var instead

This commit is contained in:
James Ravenscroft 2023-04-15 10:25:42 +01:00
parent 97480ed58b
commit f68d82f4d8

View File

@ -30,7 +30,7 @@ jobs:
id: make_build
run: |
cd ${{github.workspace}}/ggml
cmake -B ${{github.workspace}}/ggml/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -D CMAKE_C_FLAGS="-target arm64-apple-macos10.5"
cmake -B ${{github.workspace}}/ggml/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -D CMAKE_OSX_ARCHITECTURES="-arch;arm64"
cd ${{github.workspace}}/ggml/build
make codegen codegen-serve codegen-quantize
chmod +x ${{github.workspace}}/ggml/build/bin/codegen