mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-09-27 03:50:45 +02:00
18 lines
266 B
Bash
18 lines
266 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
set -u
|
||
|
cd install
|
||
|
mkdir -p Downloads _build
|
||
|
mkdir -p bin
|
||
|
if [[ ! -x ../bin/ninja ]]
|
||
|
then
|
||
|
echo "Installing Ninja"
|
||
|
./scripts/install_ninja.sh &> _build/ninja.log
|
||
|
touch _build/ninja.ok
|
||
|
fi
|
||
|
touch ../{src,ocaml}/ls_md5
|
||
|
exec ../bin/ninja "$@"
|
||
|
|
||
|
|