mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-30 15:15:38 +01:00
Added the tgz of EZFIO for simplicity
This commit is contained in:
parent
cf906395fb
commit
d7978912bd
33
configure
vendored
33
configure
vendored
@ -15,12 +15,12 @@ unset CCXX
|
|||||||
export CC=gcc
|
export CC=gcc
|
||||||
|
|
||||||
|
|
||||||
# When updating version, update also etc files
|
# /!\ When updating version, update also etc files
|
||||||
|
|
||||||
|
EZFIO_TGZ="EZFIO.1.6.2.tar.gz"
|
||||||
BATS_URL="https://github.com/bats-core/bats-core/archive/v1.1.0.tar.gz"
|
BATS_URL="https://github.com/bats-core/bats-core/archive/v1.1.0.tar.gz"
|
||||||
BUBBLE_URL="https://github.com/projectatomic/bubblewrap/releases/download/v0.3.3/bubblewrap-0.3.3.tar.xz"
|
BUBBLE_URL="https://github.com/projectatomic/bubblewrap/releases/download/v0.3.3/bubblewrap-0.3.3.tar.xz"
|
||||||
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"
|
||||||
EZFIO_URL="https://gitlab.com/scemama/EZFIO/-/archive/v1.6.1/EZFIO-v1.6.1.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"
|
GMP_URL="ftp://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2"
|
||||||
IRPF90_URL="https://gitlab.com/scemama/irpf90/-/archive/v1.7.6/irpf90-v1.7.6.tar.gz"
|
IRPF90_URL="https://gitlab.com/scemama/irpf90/-/archive/v1.7.6/irpf90-v1.7.6.tar.gz"
|
||||||
@ -177,6 +177,19 @@ function find_dir() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Extract EZFIO if needed
|
||||||
|
EZFIO=$(find_dir "${QP_ROOT}"/external/ezfio)
|
||||||
|
if [[ ${EZFIO} = $(not_found) ]] ; then
|
||||||
|
execute << EOF
|
||||||
|
cd "\${QP_ROOT}"/external
|
||||||
|
tar --gunzip --extract --file ${EZFIO_TGZ}
|
||||||
|
rm -rf ezfio
|
||||||
|
mv EZFIO-* ezfio
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [[ "${PACKAGES}.x" != ".x" ]] ; then
|
if [[ "${PACKAGES}.x" != ".x" ]] ; then
|
||||||
printf "\e[0;31m"
|
printf "\e[0;31m"
|
||||||
echo ""
|
echo ""
|
||||||
@ -342,16 +355,6 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
elif [[ ${PACKAGE} = ezfio ]] ; then
|
|
||||||
|
|
||||||
download ${EZFIO_URL} "${QP_ROOT}"/external/ezfio.tar.gz
|
|
||||||
execute << EOF
|
|
||||||
cd "\${QP_ROOT}"/external
|
|
||||||
tar --gunzip --extract --file ezfio.tar.gz
|
|
||||||
rm -rf ezfio
|
|
||||||
mv EZFIO-* ezfio
|
|
||||||
EOF
|
|
||||||
|
|
||||||
|
|
||||||
elif [[ ${PACKAGE} = zlib ]] ; then
|
elif [[ ${PACKAGE} = zlib ]] ; then
|
||||||
|
|
||||||
@ -458,12 +461,6 @@ if [[ ${OCAML} = $(not_found) ]] ; then
|
|||||||
fail
|
fail
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EZFIO=$(find_dir "${QP_ROOT}"/external/ezfio)
|
|
||||||
if [[ ${EZFIO} = $(not_found) ]] ; then
|
|
||||||
error "EZFIO (ezfio) is not installed."
|
|
||||||
fail
|
|
||||||
fi
|
|
||||||
|
|
||||||
ZLIB=$(find_lib -lz)
|
ZLIB=$(find_lib -lz)
|
||||||
if [[ ${ZLIB} = $(not_found) ]] ; then
|
if [[ ${ZLIB} = $(not_found) ]] ; then
|
||||||
error "Zlib (zlib) is not installed."
|
error "Zlib (zlib) is not installed."
|
||||||
|
BIN
external/EZFIO.1.6.2.tar.gz
vendored
Normal file
BIN
external/EZFIO.1.6.2.tar.gz
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user