Skip to content

Commit

Permalink
Use Wayback Machine as a mirror for hepforge
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Sep 6, 2023
1 parent 0a7e140 commit 4b998cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions maintainer/pineappl-ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ cargo install cargo-c --version ${CARGOC_V} --features=vendored-openssl
# remove files generated by cargo
rm -r /usr/local/cargo/registry

# install LHAPDF
curl "https://lhapdf.hepforge.org/downloads/?f=LHAPDF-${LHAPDF_V}.tar.gz" | tar xzf -
# install LHAPDF - use Wayback Machine as a mirror if hepforge is offline
( curl "https://lhapdf.hepforge.org/downloads/?f=LHAPDF-${LHAPDF_V}.tar.gz" || \
curl "https://web.archive.org/web/20211018095814/https://lhapdf.hepforge.org/downloads/?f=LHAPDF-6.4.0.tar.gz" ) | tar xzf -
cd LHAPDF-${LHAPDF_V}
./configure --disable-python --disable-static
make -j
Expand Down

0 comments on commit 4b998cf

Please sign in to comment.