Skip to content

Commit dde214e

Browse files
committed
fix: update LDFLAGS and CPPFLAGS paths for libomp in macOS build step
1 parent 264d45f commit dde214e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ jobs:
7878
- name: Build CPP extension with clang++
7979
run: |
8080
export CXX=$(brew --prefix llvm@18)/bin/clang++
81-
export LDFLAGS="-L/usr/local/opt/libomp/lib"
82-
export CPPFLAGS="-I/usr/local/opt/libomp/include"
81+
export LDFLAGS="-L/opt/homebrew/opt/libomp/lib"
82+
export CPPFLAGS="-I/opt/homebrew/opt/libomp/include"
8383
pip install -e .[dev]
8484
- name: Test with pytest
8585
run: |

0 commit comments

Comments
 (0)