Skip to content

Commit

Permalink
Fixes path setting in venv
Browse files Browse the repository at this point in the history
  • Loading branch information
holm10 committed Jan 10, 2025
1 parent aae8285 commit d2059a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/wheeltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ jobs:
ln -s /usr/local/bin/gfortran-13 /usr/local/bin/gfortran
gfortran --version
- name: Symlink gfortran for ARM macOS
if: matrix.os == 'macos-14'
run: |
# make sure gfortran is available
ln -s /opt/homebrew/bin/gfortran-13 /opt/homebrew/bin/gfortran
gfortran --version
-name: Store clang location as environment variable
run: echo "LLVMCLANG=$(brew --prefix llvm@15)" >> $GITHUB_ENV

- name: Build wheels
if: ${{ !(matrix.os == 'macos-14' && matrix.pyver == 'cp37') }}
uses: pypa/[email protected]
Expand All @@ -41,7 +43,7 @@ jobs:
CIBW_SKIP: "pp37-* cp37-* *-win32 *-manylinux_i686"
CIBW_ARCHS_LINUX: auto
CIBW_BEFORE_BUILD: pip install numpy 'forthon>=0.10.7' 'build<0.10.0'
CC: ${{ brew --prefix llvm@15 }}/bin/clang
CC: ${{ env.LLVMCLANG }}/bin/clang

- name: Upload Artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit d2059a9

Please sign in to comment.