8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d430fe6 commit f902ac4Copy full SHA for f902ac4
gfortran_utils.sh
@@ -97,6 +97,16 @@ if [ "$(uname)" == "Darwin" ]; then
97
hdiutil attach -mountpoint /Volumes/gfortran $GFORTRAN_DMG
98
sudo installer -pkg /Volumes/gfortran/gfortran.pkg -target /
99
check_gfortran
100
+ if [[ "${PLAT:-}" == "universal2" || "${PLAT:-}" == "arm64" ]]; then
101
+ curl -L -O https://github.com/isuruf/isuruf.github.io/releases/download/v1.0/gfortran-darwin-arm64.tar.gz
102
+ sudo mkdir -p /opt/
103
+ sudo cp gfortran-darwin-arm64.tar.gz /opt/gfortran-darwin-arm64.tar.gz
104
+ pushd /opt
105
+ sudo tar -xvf gfortran-darwin-arm64.tar.gz
106
+ sudo rm gfortran-darwin-arm64.tar.gz
107
+ popd
108
+ export FC_ARM64="/opt/gfortran-darwin-arm64/bin/arm64-apple-darwin20.0.0-gfortran"
109
+ fi
110
}
111
112
function get_gf_lib {
0 commit comments