Skip to content

Commit 3111180

Browse files
committed
fix: change export statement order
1 parent 287235d commit 3111180

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
@@ -29,8 +29,6 @@ jobs:
2929
if: matrix.os == 'macos-13'
3030
run: |
3131
brew install libomp
32-
export CC=$(brew --prefix llvm@15)/bin/clang
33-
export CXX=$(brew --prefix llvm@15)/bin/clang++
3432
- name: Install dependencies
3533
run: |
3634
python -m pip install --upgrade pip
@@ -45,6 +43,8 @@ jobs:
4543
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4644
- name: Build CPP extension
4745
run: |
46+
export CC=$(brew --prefix llvm)/bin/clang
47+
export CXX=$(brew --prefix llvm)/bin/clang++
4848
python setup.py build
4949
find build/ -name "_C*.so" -exec cp {} ./torchlpc/ \;
5050
- name: Test with pytest

0 commit comments

Comments
 (0)