Skip to content

Commit

Permalink
Debug why LHAPDF download fails
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Jul 5, 2024
1 parent 40577bc commit 2352083
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion maintainer/pineappl-ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ cargo install --locked cargo-c --version ${CARGOC_V} --features=vendored-openssl
# remove files generated by cargo
rm -r /usr/local/cargo/registry

# enable tracing
set -x

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

Please sign in to comment.