summaryrefslogtreecommitdiff
path: root/acprep
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 /acprep
parent86f5f8e520ed93ae5762384019f54f76a0777e26 (diff)
downloadfork-ledger-1ad826c2bccabad844156a181735dd960f87d174.tar.gz
fork-ledger-1ad826c2bccabad844156a181735dd960f87d174.tar.bz2
fork-ledger-1ad826c2bccabad844156a181735dd960f87d174.zip
Proof using both GCC and Clang
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep13
1 files changed, 11 insertions, 2 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/',