10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-12-21 11:53:30 +01:00

Fixed build.ninja and configure

This commit is contained in:
Anthony Scemama 2015-12-29 01:25:01 +01:00
parent 749fdec879
commit c0aeac548a
2 changed files with 6 additions and 3 deletions

View File

@ -68,7 +68,7 @@ build qmcchem.tar.gz: create_archive
# Ocaml
# -----
build ocaml/generated.ninja : compile_ocaml_dep | EZFIO/Ocaml/ezfio.ml always
build ocaml/generated.ninja : compile_ocaml_dep | EZFIO/Ocaml/ezfio.ml always || src/irpf90.make
build ocaml/qmcchem : compile_ocaml | ocaml/generated.ninja EZFIO/Ocaml/ezfio.ml
target = qmcchem

View File

@ -19,7 +19,9 @@ then
touch _build/ninja.ok
fi
touch "${QMCCHEM_PATH}"/{src,ocaml}/.ls_md5
exec "${QMCCHEM_PATH}"/bin/ninja "$@"
"${QMCCHEM_PATH}"/bin/ninja "$@"
cd "${QMCCHEM_PATH}"
if [[ ! -f make.config ]]
then
@ -34,9 +36,10 @@ fi
echo "====================================================================="
echo "Configuration OK."
echo "Now, source the qmcchemrc file:"
echo "Now, source the qmcchemrc file and build the program:"
echo ""
echo "source qmcchemrc"
echo "ninja"
echo ""
echo "====================================================================="