Skip to content

Commit

Permalink
Cross-compile gfortran
Browse files Browse the repository at this point in the history
  • Loading branch information
kylc committed Nov 25, 2023
1 parent b58388d commit fc08848
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ jobs:
with:
submodules: true
- name: symlink gfortran (macOS)
if: runner.os == 'macOS'
if: (runner.os == 'macOS') && (runner.target == 'aarch64')
run: |
arch -arm64 brew install gcc-12
ln -s /opt/homebrew/bin/gfortran-12 /usr/local/bin/gfortran
gfortran --version
- name: symlink gfortran (macOS)
if: (runner.os == 'macOS') && (runner.target == 'aarch64')
run: |
ln -s /usr/local/bin/gfortran-12 /usr/local/bin/gfortran
gfortran --version
Expand Down

0 comments on commit fc08848

Please sign in to comment.