10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-07-25 12:17:24 +02: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 # 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 build ocaml/qmcchem : compile_ocaml | ocaml/generated.ninja EZFIO/Ocaml/ezfio.ml
target = qmcchem target = qmcchem

View File

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