Skip to content

Commit

Permalink
only export cxx falg
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyolicoris committed Jan 29, 2025
1 parent 49c18ce commit 173a130
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Build CPP extension
run: |
export CC=$(brew --prefix llvm@15)/bin/clang
export CXX=$(brew --prefix llvm@15)/bin/clang++
if [ ${{ matrix.os }} == 'macos-13' ]; then
export CXX=$(brew --prefix llvm@15)/bin/clang++
fi
python setup.py build
find build/ -name "_C*.so" -exec cp {} ./torchlpc/ \;
- name: Test with pytest
Expand Down

0 comments on commit 173a130

Please sign in to comment.