9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-21 11:03:29 +01:00

Added the GMP tar.gz to reduce pressure on GMP server.

This commit is contained in:
Anthony Scemama 2020-12-06 16:12:59 +01:00
parent bd162a119c
commit b14f9af26e
2 changed files with 3 additions and 6 deletions

9
configure vendored
View File

@ -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

BIN
external/gmp-6.1.2.tar.bz2 vendored Normal file

Binary file not shown.