Skip to content

Commit

Permalink
GHA: Fix MacOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarbier committed Dec 10, 2024
1 parent 9d82162 commit d4b1462
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ jobs:
macos:
runs-on: macos-latest
env:
LDFLAGS: -L/usr/local/opt/openblas/lib
LDFLAGS: -L/opt/homebrew/opt/openblas/lib
CPPFLAGS: -I/opt/homebrew/opt/openblas/include
steps:
- uses: actions/checkout@v3
- run: brew install openblas
- run: cmake -DBUILD_EXAMPLES=ON -DCBLAS_INCLUDE_DIR=/usr/local/opt/openblas/include .
- run: cmake -DBUILD_EXAMPLES=ON -DCBLAS_INCLUDE_DIR=/opt/homebrew/opt/openblas/include .
- run: make -j$(sysctl -n hw.logicalcpu)
- run: ctest
mingw64:
Expand Down

0 comments on commit d4b1462

Please sign in to comment.