Skip to content

Commit

Permalink
Follow redirects when downloading LHAPDF
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Jul 5, 2024
1 parent 2352083 commit 46c6327
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions maintainer/pineappl-ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ rm -r /usr/local/cargo/registry
set -x

# install LHAPDF
curl "https://lhapdf.hepforge.org/downloads/?f=LHAPDF-${LHAPDF_V}.tar.gz" > "LHAPDF-${LHAPDF_V}.tar.gz"
tar xzf "LHAPDF-${LHAPDF_V}.tar.gz"
curl -L "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 46c6327

Please sign in to comment.