10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-11-07 06:33:38 +01:00

Simplified OCaml build

This commit is contained in:
Anthony Scemama 2015-12-29 02:37:35 +01:00
parent 90361ba33e
commit 5bc0bf58df
2 changed files with 3 additions and 5 deletions

View File

@ -28,7 +28,7 @@ rule compile_ocaml_dep
pool = console pool = console
rule compile_ocaml rule compile_ocaml
command = scripts/compile_ocaml.sh $target command = cd ocaml ; ninja $target
description = Compiling OCaml tools description = Compiling OCaml tools
pool = console pool = console
@ -68,9 +68,7 @@ build qmcchem.tar.gz: create_archive
# Ocaml # Ocaml
# ----- # -----
build ocaml/generated.ninja : compile_ocaml_dep | EZFIO/Ocaml/ezfio.ml ocaml/Property.ml always build ocaml/qmcchem : compile_ocaml | EZFIO/Ocaml/ezfio.ml ocaml/Property.ml
build ocaml/qmcchem : compile_ocaml | ocaml/generated.ninja EZFIO/Ocaml/ezfio.ml
target = qmcchem
# Copy binaries in bin # Copy binaries in bin

View File

@ -8,4 +8,4 @@ fi
cd ${QMCCHEM_PATH}/ocaml || exit -1 cd ${QMCCHEM_PATH}/ocaml || exit -1
ninja ${@} || exit -1 exec ninja -f generated.ninja ${@} || exit -1