summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-09-21 15:12:38 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-09-21 15:12:38 -0500
commit7c288b956d02f7a5157970876697b76fe66aaeae (patch)
treef8aff615a1587b01b63681f9bf4247286b8ff5bd /acprep
parentf995d143c52b16eafdac69d444b6fe77b62d5995 (diff)
downloadfork-ledger-7c288b956d02f7a5157970876697b76fe66aaeae.tar.gz
fork-ledger-7c288b956d02f7a5157970876697b76fe66aaeae.tar.bz2
fork-ledger-7c288b956d02f7a5157970876697b76fe66aaeae.zip
Changes for CMake
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep7
1 files changed, 3 insertions, 4 deletions
diff --git a/acprep b/acprep
index 83ff4ab2..c35d09db 100755
--- a/acprep
+++ b/acprep
@@ -657,11 +657,12 @@ class PrepareBuild(CommandLineApp):
#########################################################################
def setup_for_johnw(self):
+ self.configure_args.append('-GNinja')
self.configure_args.append('-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON')
self.configure_args.append('-DBoost_USE_MULTITHREADED:BOOL=OFF')
if not self.options.compiler:
- self.configure_args.append('-DCMAKE_CXX_COMPILER:PATH=/usr/local/stow/clang-3.1/bin/clang++')
+ self.configure_args.append('-DCMAKE_CXX_COMPILER:PATH=/usr/local/bin/clang++')
self.CXXFLAGS.append('-Qunused-arguments')
self.CXXFLAGS.append('-nostdlibinc')
@@ -910,7 +911,6 @@ class PrepareBuild(CommandLineApp):
if self.options.jobs > 1 and self.current_flavor != 'gcov':
make_args.append('-j%d' % self.options.jobs)
- make_args.append('ARGS=-j%d' % self.options.jobs)
if self.options.verbose:
make_args.append('VERBOSE=1')
@@ -932,12 +932,11 @@ class PrepareBuild(CommandLineApp):
def phase_check(self, *args):
self.log.info('Executing phase: update')
- self.phase_make(*(['check'] + list(args)))
+ self.execute(*(['ctest'] + make_args))
def phase_update(self, *args):
self.log.info('Executing phase: update')
self.phase_pull()
- #self.phase_check(*args)
self.phase_make(*args)
#########################################################################