mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 03:23:29 +01:00
Force reinstallation of ocaml when configure -i
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6a25c3edc9
commit
cf5e951311
5
configure
vendored
5
configure
vendored
@ -254,10 +254,13 @@ EOF
|
|||||||
|
|
||||||
execute <<EOF
|
execute <<EOF
|
||||||
source "${QP_ROOT}"/quantum_package.rc
|
source "${QP_ROOT}"/quantum_package.rc
|
||||||
|
rm -rf "${QP_ROOT}"/external/opampack
|
||||||
cd "${QP_ROOT}"/external/
|
cd "${QP_ROOT}"/external/
|
||||||
tar --gunzip --extract --file qp2-dependencies/opampack.tar.gz
|
tar --gunzip --extract --file qp2-dependencies/opampack.tar.gz
|
||||||
cd "${QP_ROOT}"/external/opampack
|
cd "${QP_ROOT}"/external/opampack
|
||||||
./install.sh
|
./install.sh
|
||||||
|
export OPAMROOT="${QP_ROOT}"/external/opampack/opamroot
|
||||||
|
eval \$("${QP_ROOT}"/external/opampack/opam env)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
elif [[ ${PACKAGE} = bse ]] ; then
|
elif [[ ${PACKAGE} = bse ]] ; then
|
||||||
@ -357,7 +360,7 @@ if [[ ${ZLIB} = $(not_found) ]] ; then
|
|||||||
fail
|
fail
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OCAML=$(find_exe ocaml)
|
OCAML=$(find_exe ocamlc)
|
||||||
if [[ ${OCAML} = $(not_found) ]] ; then
|
if [[ ${OCAML} = $(not_found) ]] ; then
|
||||||
error "OCaml (ocaml) compiler is not installed."
|
error "OCaml (ocaml) compiler is not installed."
|
||||||
fail
|
fail
|
||||||
|
Loading…
Reference in New Issue
Block a user