mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-24 21:41:46 +02:00
Ocaml setup environment
This commit is contained in:
parent
287a2b1ef3
commit
5d72e3d4ff
@ -42,12 +42,13 @@ fi
|
||||
|
||||
# Ocaml installation
|
||||
make -C ocaml qp_create_ezfio_from_xyz.native
|
||||
if [[ $? -ne 0 ]] then
|
||||
curl -kL https://raw.github.com/hcarty/ocamlbrew/master/ocamlbrew-install | env OCAMLBREW_FLAGS="-r" bash > ocaml_install.log
|
||||
if [[ $? -ne 0 ]]
|
||||
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
|
||||
source quantum_package.rc
|
||||
echo Y | opam install core async
|
||||
fi
|
||||
|
||||
|
||||
make -C ocaml qp_compilation_test.byte
|
||||
|
Loading…
Reference in New Issue
Block a user