Skip to content

Commit 2c26c4a

Browse files
committed
try to find openblas on macos
1 parent 6c8f2d4 commit 2c26c4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# on macOs, openblas is alreadey installed
1919
- ${{ if contains(parameters.vmImage, 'macOs') }}:
2020
- bash: |
21-
brew install ninja open-mpi
21+
brew install ninja open-mpi && \
2222
displayName: 'Install BLAS and MPI libraries'
2323
2424
- bash : |
@@ -29,7 +29,7 @@ jobs:
2929
cd llama.cpp && \
3030
mkdir cmake-build && \
3131
cd cmake-build && \
32-
cmake -DCMAKE_BUILD_TYPE=Release -DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS -G Ninja .. && \
32+
cmake -DCMAKE_BUILD_TYPE=Release -DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS export -DCMAKE_PREFIX_PATH="/usr/local/opt/lapack;/usr/local/opt/openblas" -G Ninja .. && \
3333
ninja
3434
displayName: 'Build llama.cpp using ninja'
3535

0 commit comments

Comments
 (0)