diff --git a/configure b/configure index 0f9cd79e..6ea4c5bd 100755 --- a/configure +++ b/configure @@ -22,7 +22,6 @@ BUBBLE_URL="https://github.com/projectatomic/bubblewrap/releases/download/v0.3.3 DOCOPT_URL="https://github.com/docopt/docopt/archive/0.6.2.tar.gz" BSE_URL="https://github.com/MolSSI-BSE/basis_set_exchange/archive/v0.8.11.tar.gz" F77ZMQ_URL="https://github.com/scemama/f77_zmq/archive/v4.2.5.tar.gz" -GMP_URL="ftp://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2" IRPF90_URL="https://gitlab.com/scemama/irpf90/-/archive/v2.0.3/irpf90-v2.0.3.tar.gz" LIBCAP_URL="https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/snapshot/libcap-2.25.tar.gz" NINJA_URL="https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip" @@ -125,13 +124,13 @@ source quantum_package.rc function fail() { echo "You can try to install it using the -i option." echo "Please refer to INSTALL.rst to install the missing dependencies." - exit 1 + exit -1 } function success() { echo "" echo "Configuration successful." - exit 1 + exit 0 } function download() { @@ -227,11 +226,9 @@ EOF elif [[ ${PACKAGE} = gmp ]] ; then - download ${GMP_URL} "${QP_ROOT}"/external/gmp.tar.bz2 execute << EOF cd "\${QP_ROOT}"/external - tar --bzip2 --extract --file gmp.tar.bz2 - rm gmp.tar.bz2 + tar --bzip2 --extract --file gmp-6.1.2.tar.bz2 cd gmp* ./configure --prefix=$QP_ROOT && make -j 8 make install diff --git a/external/gmp-6.1.2.tar.bz2 b/external/gmp-6.1.2.tar.bz2 new file mode 100644 index 00000000..3b9b275c Binary files /dev/null and b/external/gmp-6.1.2.tar.bz2 differ