Skip to content

Commit

Permalink
Do not download LHAPDF from Wayback machine
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Jul 5, 2024
1 parent dc311a6 commit 1f59deb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions maintainer/pineappl-ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ cargo install --locked cargo-c --version ${CARGOC_V} --features=vendored-openssl
# remove files generated by cargo
rm -r /usr/local/cargo/registry

# 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 -
# install LHAPDF
curl "https://lhapdf.hepforge.org/downloads/?f=LHAPDF-${LHAPDF_V}.tar.gz" | tar xzf -
cd LHAPDF-${LHAPDF_V}
# compile static libraries with PIC to make statically linking PineAPPL's CLI work
# see also https://users.rust-lang.org/t/why-does-crelocation-model-dynamic-no-pic-help-although-it-shouldnt/109012
Expand Down

0 comments on commit 1f59deb

Please sign in to comment.