mirror of
https://github.com/LCPQ/quantum_package
synced 2025-05-06 07:05:25 +02:00
Ocaml setup environment
This commit is contained in:
parent
287a2b1ef3
commit
5d72e3d4ff
@ -42,12 +42,13 @@ fi
|
|||||||
|
|
||||||
# Ocaml installation
|
# Ocaml installation
|
||||||
make -C ocaml qp_create_ezfio_from_xyz.native
|
make -C ocaml qp_create_ezfio_from_xyz.native
|
||||||
if [[ $? -ne 0 ]] then
|
if [[ $? -ne 0 ]]
|
||||||
curl -kL https://raw.github.com/hcarty/ocamlbrew/master/ocamlbrew-install | env OCAMLBREW_FLAGS="-r" bash > ocaml_install.log
|
then
|
||||||
|
scripts/fetch_from_web.py "https://raw.github.com/hcarty/ocamlbrew/master/ocamlbrew-install" ocamlbrew-install.sh
|
||||||
|
cat < ocamlbrew-install.sh | env OCAMLBREW_FLAGS="-r" bash > ocaml_install.log
|
||||||
grep "source " install.log | grep "etc/ocamlbrew.bashrc" >> quantum_package.rc
|
grep "source " install.log | grep "etc/ocamlbrew.bashrc" >> quantum_package.rc
|
||||||
source quantum_package.rc
|
source quantum_package.rc
|
||||||
echo Y | opam install core async
|
echo Y | opam install core async
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
make -C ocaml qp_compilation_test.byte
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user