8000 update gfortran to 8.2 · MacPython/gfortran-install@3b6d5d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b6d5d4

Browse files
committed
update gfortran to 8.2
1 parent 4148a01 commit 3b6d5d4

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

archives/README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ Binary archives
66
gfortran
77
********
88

9-
From https://gcc.gnu.org/wiki/GFortranBinaries
9+
gfortran-8.2 from https://github.com/fxcoudert/gfortran-for-macOS/releases/download/8.2/gfortran-8.2-Mojave.dmg
1010

11-
* gfortran-4.9.0-Mavericks.dmg from http://coudert.name/software/gfortran-4.9.0-Mavericks.dmg.

gfortran_utils.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Bash utilities for use with gfortran
22

3-
GF_LIB_URL="https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com"
43
ARCHIVE_SDIR="${ARCHIVE_SDIR:-archives}"
54

65
GF_UTIL_DIR=$(dirname "${BASH_SOURCE[0]}")
@@ -81,17 +80,14 @@ function get_gf_lib_for_suf {
8180
if [ -n "$suffix" ]; then suffix="-$suffix"; fi
8281
local fname="$prefix-${plat_tag}${suffix}.tar.gz"
8382
local out_fname="${ARCHIVE_SDIR}/$fname"
84-
if [ ! -e "$out_fname" ]; then
85-
curl -L "${GF_LIB_URL}/$fname" > $out_fname || (echo "Fetch of $out_fname failed"; exit 1)
86-
fi
8783
[ -s $out_fname ] || (echo "$out_fname is empty"; exit 24)
8884
echo "$out_fname"
8985
}
9086

9187
if [ "$(uname)" == "Darwin" ]; then
9288
mac_target=${MACOSX_DEPLOYMENT_TARGET:-$(get_macosx_target)}
9389
export MACOSX_DEPLOYMENT_TARGET=$mac_target
94-
GFORTRAN_DMG="${GF_UTIL_DIR}/archives/gfortran-4.9.0-Mavericks.dmg"
90+
GFORTRAN_DMG="${GF_UTIL_DIR}/archives/gfortran-8.2-Mojave.dmg"
9591
export GFORTRAN_SHA="$(shasum $GFORTRAN_DMG)"
9692

9793
function install_arm64_cross_gfortran {

0 commit comments

Comments
 (0)
0