From 1f59debecbcef49a10cd68152291eb4bda600691 Mon Sep 17 00:00:00 2001 From: Christopher Schwan Date: Fri, 5 Jul 2024 10:39:19 +0200 Subject: [PATCH] Do not download LHAPDF from Wayback machine --- maintainer/pineappl-ci/script.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/maintainer/pineappl-ci/script.sh b/maintainer/pineappl-ci/script.sh index c5b61312..d0dc91cd 100755 --- a/maintainer/pineappl-ci/script.sh +++ b/maintainer/pineappl-ci/script.sh @@ -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