Commit graph

314 commits

Author SHA1 Message Date
Alexis Hildebrandt
81e12aa1f2 acprep: fix verbose build when using ninja 2014-05-04 01:06:57 +02:00
Alexis Hildebrandt
4c4367fe6b Fix Travis CI build
- Install and use GNU GCC 4.8 to support required C++11 standard
- Build Boost (1.55.0) libraries needed by ledger
- Export build and cmake variables to find locally built Boost
2014-04-23 11:30:44 +02:00
Alexis Hildebrandt
021e0ecde9 Update dependencies installation
for Ubuntu Saucy Salamander
2014-02-02 09:16:35 +00:00
Alexis Hildebrandt
b98662e713 Correct log output for acprep check 2014-02-01 19:34:45 +01:00
Alexis Hildebrandt
31705094c1 Update dependencies installation
for Mac Hombrew and Ubuntu Precise Pangolin
2014-02-01 19:33:21 +01:00
Travis Snoozy
119e337f4b Make acprep use "str.split" not "string.split"
Python is displeased with acprep if a *FLAGS environment variable is
set. This patch converts the problematic "string.split" statement to
instead be "str.split", which appears to fix the problem.
2013-05-23 09:25:10 -06:00
Javier Santacruz
379bae087e Improves acprep python3 compatibility
Replaces string.join with str.join
Forces conversion to str from byte-returning functions
Introduces usage of 'as' keyword when catching exception instances
Replaces has_key with usage of the 'in' keyword for dictionary key presence checking.
2013-04-27 13:47:07 +02:00
Johann Klähn
90ced87004 fix typos in acprep 2013-04-13 13:10:56 +02:00
John Wiegley
b21ee1de17 Merge branch 'next' of github.com:ledger/ledger into next 2013-01-30 17:01:00 -06:00
John Wiegley
ccca974dad Use -O3 with Clang instead of -O4 2013-01-30 17:00:22 -06:00
John Wiegley
be7af24250 Upgrade to Boost 1.52 2013-01-30 16:59:42 -06:00
Johann Klähn
20217e7c9c fix --no-python option
This would fail with `ValueError: list.remove(x): x not in list`.
2013-01-30 23:38:11 +01:00
Johann Klähn
9e3652dd4f acprep: pass options starting with -D to CMake 2013-01-30 23:37:29 +01:00
Johann Klähn
5ee03de0ad fix option handling in acprep
Both the `--local` option and the default to build local if no build
directory exists did not work, because `build_directory()` uses
`self.options.build_dir`, but the default and the `--local` option used
`self.build_dir`.
I changed the code to always use `self.options` for options/flags.
Now `self.options` is set to the default values of OptParser and is
updated when `parse_args` is called in `run`.

After this commit ledger will be built in:
  * The directory specified using `--output=`
  * Else in a subdirectory of `./build` or `~/Products` if one of those
    directories exist and `--local` is not used.
  * Else inside the source tree (default).
2013-01-30 23:07:17 +01:00
John Wiegley
dcd64a6782 Added -N/--ninja option to acprep 2012-09-27 17:42:43 -05:00
John Wiegley
a9bd40a1e3 Don't use the ninja build command by default 2012-09-27 17:40:17 -05:00
John Wiegley
300cefd1a7 Changes to support using homebrew and ninja 2012-09-26 12:25:26 -05:00
John Wiegley
7c288b956d Changes for CMake 2012-09-21 15:12:38 -05:00
Bradley M. Kuhn
5b916dae6c Correct cmake variable for install prefix is "CMAKE_INSTALL_PREFIX", not "CMAKE_PREFIX_PATH".
CMAKE_PREFIX_PATH is for searching for other programs, not for the place
to install this one.  Based on acprep's --help, I think the intention was
to use CMAKE_INSTALL_PREFIX here.
2012-09-06 19:25:09 -04:00
John Wiegley
14ab4f7775 Updated to Boost 1.50 2012-07-30 23:24:04 -05:00
John Wiegley
2720f79522 Fix reference to self.options.products_dir 2012-06-11 18:57:17 -05:00
John Wiegley
571d711523 Was missing a period 2012-06-08 15:06:11 -05:00
John Wiegley
b64dcf7202 Change self.prefix_dir -> self.options.prefix_dir 2012-06-07 22:37:38 -05:00
John Wiegley
98df1296fe Build fixes to acprep and build.sh 2012-05-25 04:13:14 -05:00
John Wiegley
636b878e70 Give a reasonable error if CMake cannot be found 2012-05-23 02:00:02 -05:00
John Wiegley
c404f94d64 Changed the way that LDFLAGS is passed to CMake 2012-05-20 22:45:17 -05:00
John Wiegley
54649d1b7a Make profiling builds work with Clang 2012-05-20 16:06:32 -05:00
John Wiegley
0c1f40754a Build gcov mode also for Clang 2012-05-20 15:31:40 -05:00
John Wiegley
1b83c684fb More resiliency fixes 2012-05-20 14:15:48 -05:00
John Wiegley
a3e84aa155 A few more CMake-related fixes 2012-05-20 05:16:16 -05:00
John Wiegley
4681e58d7f Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
John Wiegley
b898d40a81 More configuration fixes 2012-05-10 16:30:32 -05:00
John Wiegley
8c0cb63dfd Change the way I choose a default compiler 2012-05-10 04:25:18 -05:00
John Wiegley
6a18669aa0 An acprep simplification 2012-05-10 04:11:50 -05:00
John Wiegley
8f895fcda1 Various changes to suit my environment 2012-05-01 13:45:46 -05:00
John Wiegley
c8f58ea686 Added support for building with Clang and libc++ in C++11 2012-04-28 05:23:36 -05:00
John Wiegley
1a45d74543 Don't rsync as much when preparing proof builds 2012-04-28 05:22:20 -05:00
John Wiegley
fcd05632e0 Fixes to the proofing process 2012-04-27 15:48:00 -05:00
John Wiegley
95429c7031 Removed unnecessary code from acprep 2012-04-26 16:38:38 -05:00
John Wiegley
72d1011251 Build-related changes 2012-04-25 03:09:56 -05:00
John Wiegley
6af3f0448f More support for building with Clang 2012-04-25 03:09:55 -05:00
John Wiegley
adbd99414b Remove some dead code 2012-04-25 03:09:55 -05:00
John Wiegley
711281472b Add support for g++ 4.8 2012-04-25 03:09:55 -05:00
John Wiegley
5a9b56f024 Use chmod before removing the proof build directory 2012-04-25 03:09:55 -05:00
John Wiegley
ee641f353c Resolve some issues with proof builds 2012-04-15 01:17:01 -05:00
John Wiegley
1ad826c2bc Proof using both GCC and Clang 2012-04-13 15:16:28 -05:00
John Wiegley
86f5f8e520 Set FLAVOR= on all make invocations 2012-04-13 15:16:28 -05:00
John Wiegley
e3ac243019 Started work on a "views" report document model 2012-04-08 05:04:49 -05:00
John Wiegley
08f65eeadc Allow serialization to be enabled again 2012-03-29 15:35:20 -05:00
John Wiegley
429cfc5c80 Don't use -fomit-frame-pointer when building optimized
Makes stack traces impossible
2012-03-15 05:01:39 -05:00