mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-06 21:43:39 +01:00
Force reinstallation of ocaml when configure -i
This commit is contained in:
parent
75c59840dd
commit
f92aa16dfd
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