mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-12-22 04:13:31 +01:00
Simplified OCaml build
This commit is contained in:
parent
90361ba33e
commit
5bc0bf58df
@ -28,7 +28,7 @@ rule compile_ocaml_dep
|
||||
pool = console
|
||||
|
||||
rule compile_ocaml
|
||||
command = scripts/compile_ocaml.sh $target
|
||||
command = cd ocaml ; ninja $target
|
||||
description = Compiling OCaml tools
|
||||
pool = console
|
||||
|
||||
@ -68,9 +68,7 @@ build qmcchem.tar.gz: create_archive
|
||||
# Ocaml
|
||||
# -----
|
||||
|
||||
build ocaml/generated.ninja : compile_ocaml_dep | EZFIO/Ocaml/ezfio.ml ocaml/Property.ml always
|
||||
build ocaml/qmcchem : compile_ocaml | ocaml/generated.ninja EZFIO/Ocaml/ezfio.ml
|
||||
target = qmcchem
|
||||
build ocaml/qmcchem : compile_ocaml | EZFIO/Ocaml/ezfio.ml ocaml/Property.ml
|
||||
|
||||
|
||||
# Copy binaries in bin
|
||||
|
@ -8,4 +8,4 @@ fi
|
||||
|
||||
cd ${QMCCHEM_PATH}/ocaml || exit -1
|
||||
|
||||
ninja ${@} || exit -1
|
||||
exec ninja -f generated.ninja ${@} || exit -1
|
||||
|
Loading…
Reference in New Issue
Block a user