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