summaryrefslogtreecommitdiff
path: root/src/demo.sh
diff options
context:
space:
mode:
authorGabriel Kerneis2014-06-10 12:25:32 +0100
committerGabriel Kerneis2014-06-10 12:25:32 +0100
commitd426514ad1fc917183e6d432e8ba658e7ef4a641 (patch)
treef9dbc32471c1303bed487bb35867aa7cb8246ff1 /src/demo.sh
parente203adf3bd63c8f0e061da4814791e4242d3dad6 (diff)
More robust build system
Diffstat (limited to 'src/demo.sh')
-rwxr-xr-xsrc/demo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demo.sh b/src/demo.sh
index af737867..1c8f2e30 100755
--- a/src/demo.sh
+++ b/src/demo.sh
@@ -26,7 +26,7 @@ while getopts ":r" opt; do
done
rebuild () {
- run "Building Sail" "ocamlbuild sail.native"
+ run "Building Sail" "make clean sail lib"
run "Generating the Sail interpreter from Power ISA (restricted to: $MNEMO)" \
"make -C $POWERISA clean extract EXPORT_MNEMO=$MNEMO"
@@ -36,7 +36,7 @@ rebuild () {
"cp $POWERISA/generated/extract-full.sail test/power.sail"
#git diff test/power.sail
- run "Translating Power model from Sail to OCaml via Lem" "ocamlbuild test/run_power.native"
+ run "Translating Power model from Sail to OCaml via Lem" "make power"
}
DEMO="./run_power.native --interactive --file test/main.bin"