diff options
author | mattip <matti.picus@gmail.com> | 2020-04-26 17:18:20 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-04-26 19:02:08 +0300 |
commit | f0f357cb0d35ac38973cc4fdeb34510c3f570b35 (patch) | |
tree | 9142cc65a8b5a64502e586aee18bb8e9d8918b1d /azure-pipelines.yml | |
parent | f99800fb31d1417497db07fe5e916744f7835022 (diff) | |
download | numpy-f0f357cb0d35ac38973cc4fdeb34510c3f570b35.tar.gz |
BLD: change link, add sha256 check
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 493e3fbd6..7b23fef61 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -101,8 +101,14 @@ stages: # just pulling in gfortran - script: | set -xe - # same version of gfortran as the wheel builds - curl -L https://github.com/fxcoudert/gfortran-for-macOS/releases/download/4.9.0/gfortran-4.9.0-Mavericks.dmg -o gfortran.dmg + # same version of gfortran as the open-libs and numpy-wheel builds + curl -L https://github.com/MacPython/gfortran-install/raw/master/archives/gfortran-4.9.0-Mavericks.dmg -o gfortran.dmg + GFORTRAN_SHA256=$(shasum -a 256 gfortran.dmg) + KNOWN_SHA256="d2d5ca5ba8332d63bbe23a07201c4a0a5d7e09ee56f0298a96775f928c3c4b30 gfortran.dmg" + if [ "$GFORTRAN_SHA256" != "$KNOWN_SHA256" ]; then + echo sha256 mismatch + exit 1 + fi hdiutil attach -mountpoint /Volumes/gfortran gfortran.dmg sudo installer -pkg /Volumes/gfortran/gfortran.pkg -target / otool -L /usr/local/gfortran/lib/libgfortran.3.dylib |