summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-07-07 00:04:41 +0000
committerMorgan Deters <mdeters@gmail.com>2010-07-07 00:04:41 +0000
commit227961228dec11a2dae7d66ab7246014d0b491ba (patch)
tree127cbf5d32a564fb4f20723019ffcb8b064ec976
parent868d2f9cf7c8dcdee6dbf7d88b4d002065e8ae68 (diff)
things for competition upload: new "make submission" target
-rw-r--r--Makefile9
-rwxr-xr-xcontrib/switch-config3
2 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7e0e0261b..f70caefa4 100644
--- a/Makefile
+++ b/Makefile
@@ -17,3 +17,12 @@ all %:
# synonyms for "check"
.PHONY: regress test
regress test: check
+
+submission:
+ if [ ! -e configure ]; then ./autogen.sh; fi
+ ./configure competition
+ $(MAKE)
+ mkdir -p cvc4-smtcomp-2010
+ cp -p $(top_builddir)/bin/cvc4 cvc4-smtcomp-2010/cvc4
+ cp -p contrib/run-smtcomp cvc4-smtcomp-2010/run
+ tar cfz cvc4-smtcomp-2010.tgz cvc4-smtcomp-2010
diff --git a/contrib/switch-config b/contrib/switch-config
index ad28464e7..83351da29 100755
--- a/contrib/switch-config
+++ b/contrib/switch-config
@@ -51,7 +51,8 @@ if ! [ -d "builds/$arch" ] || ! [ -d "builds/$arch/$build" ] || [ ${#builds[@]}
fi
function switchto {
- perl -pi -e 's,^CURRENT_BUILD *= *.*,CURRENT_BUILD = '$arch/$1',' builds/current
+ config/mkbuilddir "$arch" "$1" >/dev/null
+ #perl -pi -e 's,^CURRENT_BUILD *= *.*,CURRENT_BUILD = '$arch/$1',' builds/current
echo "Current build switched to \`$1'."
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback