diff options
author | John Wiegley <johnw@newartisans.com> | 2012-09-21 15:12:38 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-09-21 15:12:38 -0500 |
commit | 7c288b956d02f7a5157970876697b76fe66aaeae (patch) | |
tree | f8aff615a1587b01b63681f9bf4247286b8ff5bd /acprep | |
parent | f995d143c52b16eafdac69d444b6fe77b62d5995 (diff) | |
download | fork-ledger-7c288b956d02f7a5157970876697b76fe66aaeae.tar.gz fork-ledger-7c288b956d02f7a5157970876697b76fe66aaeae.tar.bz2 fork-ledger-7c288b956d02f7a5157970876697b76fe66aaeae.zip |
Changes for CMake
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) ######################################################################### |