Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
bigdft - work around issue with ntpoly 3.0.0
[simgrid.git] / tools / jenkins / ci-bigdft.sh
index 2097ee0..856c20c 100755 (executable)
@@ -9,19 +9,22 @@ set -ex
 echo "XXXXXXXXXXXXXXXX Install APT dependencies"
 SUDO="" # to ease the local testing
 $SUDO apt-get -y update
-$SUDO apt-get -y install python-is-python3 python3-setuptools libboost-dev
+$SUDO apt-get -y install python-is-python3 python3-setuptools libboost-dev libeigen3-dev
 $SUDO apt-get -y install --only-upgrade ca-certificates
 
 echo "XXXXXXXXXXXXXXXX build and test BigDFT (git version)"
 git clone --depth=1 https://gitlab.com/l_sim/bigdft-suite.git
 cd bigdft-suite
 
-WORKSPACE=`pwd`
+WORKSPACE=$PWD
 mkdir build && cd build
 export PATH=$PWD/simgrid-dev/smpi_script/bin/:$PATH
 export LD_LIBRARY_PATH=$PWD/simgrid-dev/lib/:$LD_LIBRARY_PATH
 export JHBUILD_RUN_AS_ROOT=1
 
+#workaround issue with ntpoly 3.0.0
+sed -i 's|repository type="tarball" name="ntpoly" href="https://github.com/william-dawson/NTPoly/archive/"|repository type="git" name="ntpoly" href="https://github.com/william-dawson/NTPoly/"|' ../modulesets/hpc-upstream.modules
+
 ../Installer.py autogen -y
 
 ../Installer.py -f ../../tools/jenkins/gfortran-simgrid.rc -y build