@@ -105,29 +105,29 @@ if [ "$(uname)" == "Darwin" ]; then
105105 export MACOSX_DEPLOYMENT_TARGET=$mac_target
106106 # Keep this for now as some builds might depend on this being
107107 # available before install_gfortran is called
108- export GFORTRAN_SHA=c469a420d2d003112749dcdcbe3c684eef42127e
109108 # Set SDKROOT env variable if not set
110109 export SDKROOT=${SDKROOT:- $(xcrun --show-sdk-path)}
111110
112111 function download_and_unpack_gfortran {
113112 local arch=$1
114113 local type=$2
115- curl -L -O https://github.com/isuruf/gcc/releases/download/gcc-11.3.0-2 /gfortran-darwin-${arch} -${type} .tar.gz
114+ curl -L -O https://github.com/isuruf/gcc/releases/download/gcc-15.2.0 /gfortran-darwin-${arch} -${type} .tar.gz
116115 case ${arch} -${type} in
117116 arm64-native)
118- export GFORTRAN_SHA=0d5c118e5966d0fb9e7ddb49321f63cac1397ce8
117+ export GFORTRAN_SHA=999a91eef894d32f99e3b641520bef9f475055067f301f0f1947b8b716b5922a
119118 ;;
120119 arm64-cross)
121- export GFORTRAN_SHA=527232845abc5af21f21ceacc46fb19c190fe804
120+ export GFORTRAN_SHA=39ef2590629c2f238f1a67469fa429d8d6362425b277abb57fd2f3c982568a3f
122121 ;;
123122 x86_64-native)
124- export GFORTRAN_SHA=c469a420d2d003112749dcdcbe3c684eef42127e
123+ export GFORTRAN_SHA=fb03c1f37bf0258ada6e3e41698e3ad416fff4dad448fd746e01d8ccf1efdc0f
125124 ;;
126125 x86_64-cross)
127- export GFORTRAN_SHA=107604e57db97a0ae3e7ca7f5dd722959752f0b3
126+ export GFORTRAN_SHA=0a19ca91019a75501e504eed1cad2be6ea92ba457ec815beb0dd28652eb0ce3f
128127 ;;
128+ * ) echo Did not recognize arch-plat $arch -$plat ; return 1 ;;
129129 esac
130- if [[ " $( shasum gfortran-darwin-${arch} -${type} .tar.gz) " != " ${GFORTRAN_SHA} gfortran-darwin-${arch} -${type} .tar.gz" ]]; then
130+ if [[ " $( sha256sum gfortran-darwin-${arch} -${type} .tar.gz) " != " ${GFORTRAN_SHA} gfortran-darwin-${arch} -${type} .tar.gz" ]]; then
131131 echo " shasum mismatch for gfortran-darwin-${arch} -${type} "
132132 exit 1
133133 fi
0 commit comments