summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-12 14:49:32 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-13 15:16:28 -0500
commit1ad826c2bccabad844156a181735dd960f87d174 (patch)
tree6c55893c4a1ef3a42eafbae838c109cae213a9e7
parent86f5f8e520ed93ae5762384019f54f76a0777e26 (diff)
downloadfork-ledger-1ad826c2bccabad844156a181735dd960f87d174.tar.gz
fork-ledger-1ad826c2bccabad844156a181735dd960f87d174.tar.bz2
fork-ledger-1ad826c2bccabad844156a181735dd960f87d174.zip
Proof using both GCC and Clang
-rwxr-xr-xacprep13
-rwxr-xr-xtools/proof9
2 files changed, 19 insertions, 3 deletions
diff --git a/acprep b/acprep
index a6efb2a7..0d7f3cd0 100755
--- a/acprep
+++ b/acprep
@@ -1673,8 +1673,17 @@ class PrepareBuild(CommandLineApp):
def phase_rsync(self, *args):
self.log.info('Executing phase: rsync')
- source_copy_dir = join(self.ensure(self.products_directory()),
- 'ledger-proof')
+ proof_dir = 'ledger-proof'
+
+ if self.options.python:
+ proof_dir += "-python"
+
+ if self.options.gcc47:
+ proof_dir += "-gcc47"
+ elif self.options.use_clang:
+ proof_dir += "-clang"
+
+ source_copy_dir = join(self.ensure(self.products_directory()), proof_dir)
self.execute('rsync', '-a', '--delete',
'--exclude=.git/', '--exclude=b/',
diff --git a/tools/proof b/tools/proof
index 7eafd0ef..00c7f7d1 100755
--- a/tools/proof
+++ b/tools/proof
@@ -19,10 +19,17 @@ ledger_proof() {
date > $LOGDIR/ledger-proof.log
time nice -n 20 \
+ ./acprep --debug --enable-doxygen --universal --gcc47 -j16 proof 2>&1 | \
+ tee -a $LOGDIR/ledger-proof.log
+
+ time nice -n 20 \
+ ./acprep --debug --enable-doxygen --universal --python --gcc47 -j16 proof 2>&1 | \
+ tee -a $LOGDIR/ledger-proof.log
+
+ time nice -n 20 \
./acprep --debug --enable-doxygen --universal --clang -j16 proof 2>&1 | \
tee -a $LOGDIR/ledger-proof.log
- sudo rm -fr $DEST/ledger-proof
time nice -n 20 \
./acprep --debug --enable-doxygen --universal --python --clang -j16 proof 2>&1 | \
tee -a $LOGDIR/ledger-proof.log