Skip to content

Commit

Permalink
Resolve OpenMP issue in pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
LimHyungTae committed Jan 28, 2025
1 parent a76ea0d commit e80b266
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ jobs:
with:
package-dir: ${{github.workspace}}/python/

# To handle OpenMP issue in MacOS
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew install llvm
echo 'export CC=/opt/homebrew/opt/llvm/bin/clang' >> $GITHUB_ENV
echo 'export CXX=/opt/homebrew/opt/llvm/bin/clang++' >> $GITHUB_ENV
- name: Build all wheels
if: github.event_name == 'release'
uses: pypa/[email protected]
Expand Down

0 comments on commit e80b266

Please sign in to comment.