Skip to content

Commit

Permalink
Compile packages in container with --with-pic=no
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Mar 28, 2024
1 parent a9c9c92 commit 6044c9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions maintainer/pineappl-ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ rm -r /usr/local/cargo/registry
( 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-dynamic --disable-python
./configure --disable-dynamic --disable-python --with-pic=no
make -j V=1
make install
ldconfig
Expand All @@ -48,7 +48,7 @@ done
# install APPLgrid
curl "https://applgrid.hepforge.org/downloads?f=applgrid-${APPLGRID_V}.tgz" | tar xzf -
cd applgrid-${APPLGRID_V}
./configure --disable-dynamic --without-root
./configure --disable-dynamic --without-root --with-pic=no
make -j
make install
ldconfig
Expand All @@ -60,7 +60,7 @@ cd ..
# install fastNLO
curl "https://fastnlo.hepforge.org/code/v25/fastnlo_toolkit-${FASTNLO_V}.tar.gz" | tar xzf -
cd fastnlo_toolkit-${FASTNLO_V}
./configure --disable-dynamic --prefix=/usr/local/
./configure --disable-dynamic --prefix=/usr/local/ --with-pic=no
make -j V=1
make install
ldconfig
Expand Down

0 comments on commit 6044c9d

Please sign in to comment.