mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-07 05:53:37 +01:00
Added the GMP tar.gz to reduce pressure on GMP server.
This commit is contained in:
parent
bd162a119c
commit
b14f9af26e
9
configure
vendored
9
configure
vendored
@ -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"
|
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"
|
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"
|
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"
|
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"
|
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"
|
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() {
|
function fail() {
|
||||||
echo "You can try to install it using the -i option."
|
echo "You can try to install it using the -i option."
|
||||||
echo "Please refer to INSTALL.rst to install the missing dependencies."
|
echo "Please refer to INSTALL.rst to install the missing dependencies."
|
||||||
exit 1
|
exit -1
|
||||||
}
|
}
|
||||||
|
|
||||||
function success() {
|
function success() {
|
||||||
echo ""
|
echo ""
|
||||||
echo "Configuration successful."
|
echo "Configuration successful."
|
||||||
exit 1
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
function download() {
|
function download() {
|
||||||
@ -227,11 +226,9 @@ EOF
|
|||||||
|
|
||||||
elif [[ ${PACKAGE} = gmp ]] ; then
|
elif [[ ${PACKAGE} = gmp ]] ; then
|
||||||
|
|
||||||
download ${GMP_URL} "${QP_ROOT}"/external/gmp.tar.bz2
|
|
||||||
execute << EOF
|
execute << EOF
|
||||||
cd "\${QP_ROOT}"/external
|
cd "\${QP_ROOT}"/external
|
||||||
tar --bzip2 --extract --file gmp.tar.bz2
|
tar --bzip2 --extract --file gmp-6.1.2.tar.bz2
|
||||||
rm gmp.tar.bz2
|
|
||||||
cd gmp*
|
cd gmp*
|
||||||
./configure --prefix=$QP_ROOT && make -j 8
|
./configure --prefix=$QP_ROOT && make -j 8
|
||||||
make install
|
make install
|
||||||
|
BIN
external/gmp-6.1.2.tar.bz2
vendored
Normal file
BIN
external/gmp-6.1.2.tar.bz2
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user