Commit Graph
57 Commits
Author SHA1 Message Date
Gary Wolfman 03f75aa93d boost: c++11 support.
This commit modifies boost.rb to provide C++11 support for compiling Boost.  The support is the simplest possible, adding a "with-c++11" option which if selected will add the appropriate toolset switch to the bootstrap.sh invocation and the appropriate toolset, cxxflags and linkflags to the b2 invocation.  Due to a bug in Boost, it is also necessary to provide a patch (IAW Boost Ticket 7671) or C++11 compilation will fail.

Closes #16078.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-11-18 21:13:28 +00:00
Mike McQuaid 31d94857ba boost 1.52.0 bottles
Fixes #15871.
2012-11-12 23:43:08 +00:00
Xiyue Deng 937d81bdd2 boost 1.52.0
* Also add fix of MPI detection for Graph library.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-11-12 23:43:08 +00:00
Xiyue Deng 88cbd6a76b boost: a few tweaks.
* Fix typo in comment for adding rpath
* Enable detailed build log by adding "-d2" to bjam.
  - This will show the actual compile commands during building.
* Tweak ICU handling
  - Change icu4c_prefix to opt_prefix to avoid breakage when keg_only icu updates.

Closes #15506.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-10-26 09:35:14 +01:00
Mike McQuaid e7b0b858cc boost 1.51.0
Closes #15113.
2012-09-27 20:29:27 +01:00
Adam Vandenberg 6b05c84111 boost: use new dsl 2012-08-22 21:34:11 -07:00
Mike McQuaid 8b77971411 boost: 1.50.0 2012-08-16 21:05:52 +01:00
Adam Vandenberg e40bc41d84 Fix option usage 2012-08-09 08:51:54 -07:00
Adam Vandenberg 7794d6ebc4 boost: use options dsl 2012-08-08 22:27:29 -07:00
Jack Nagel 3148cc9c63 boost: remove cruft
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-09 12:06:40 -05:00
Jack Nagel be48f383bf Use ENV shortcut methods where applicable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:12 -05:00
Adam Vandenberg d4185d557b Remove redundant :using => :svn 2012-05-10 07:10:12 -07:00
Adam Vandenberg 5a8439f349 Boost: use requirement for universal python 2012-04-28 11:57:34 -07:00
Charlie Sharpsteen 112c433155 boost: Fix Snow Leopard bottle
This bottle was built on 10.6.3 with XCode 3.2.6 and uses the system Python
instead of Homebrew's Python.
2012-04-22 12:05:18 -07:00
Mike McQuaid ea6a96489e Remove Boost 10.6 bottle until fixed.
Fixes #11802.
Fixes #11633.
2012-04-22 21:40:50 +10:00
Misty De Meo 42a42ae990 boost: add Snow Leopard bottle 2012-04-10 11:01:08 -05:00
Jack Nagel 497b13ac9e Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Xiyue Deng 17a68dd45f Update boost formula to version 1.49.0 and drop obsolete patches.
Closes #10465.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-02-25 11:49:02 +00:00
Jack Nagel 2a4ae3bbb9 boost: builds with latest LLVM
To be safe (because this is an important dep), mark 2335 as the failure
point since a 2335.x shipped with older Xcode. Given that Clang 2.1 is
one of Boost's test compilers, current Xcode compilers should be fine.
And most users will get the bottle, anyway.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15 20:05:50 -06:00
Jack Nagel 11f8aeae03 boost: style cleanup
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-08 14:20:13 -06:00
ambs d9bd665f7e boost: add --with-icu option
Closes #10031.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-08 14:20:10 -06:00
Misty De Meo aedacdf209 Add devel to the DSL, + stable and bottle blocks
This commit adds a `devel` entry to the DSL, allowing formulae to
specify an unstable branch.

`devel` takes a block, which should contain standard `url` and `md5`
fields (and `version`, if necessary). This must come after the standard
DSL fields.

This commit also migrates over all formulae currently using `devel` to
the new syntax, as well as formulae which used `head` for non-VCS urls.

The new syntax is also available for `stable` and `bottle`. `stable` is
an option alongside the old syntax. `bottle` replaces the old syntax.

Note that the @stable ivar in Formula has been renamed to @standard,
and the @bottle ivar has been renamed to @bottle_url.

Closes #9735.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-25 21:45:19 -06:00
Jack Nagel 15f4bcbc69 boost: don't apply patch to HEAD
It's already upstream.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-23 14:30:17 -06:00
Mike McQuaid f9bbc0cd67 Update boost bottle. 2012-01-16 21:50:44 +00:00
Charlie Sharpsteen fa1c5b912b Boost: Update bottle
Re-built the boost bottle to incorporate boost::BOOST_FOREACH fixes from pull
request #8763.
2011-12-01 16:51:05 -08:00
Trevor Wennblom 5984adb82c boost: Fix boost::BOOST_FOREACH errors
Fixed by adding a patch against 1.48.0. HEAD url also added.

Closes #8763.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-12-01 15:40:55 -08:00
Xiyue Deng 063ea4fa63 boost: Update to 1.48.0
Closes #8657.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-19 14:44:20 -08:00
Jack Nagel 57665ff9dd Use ENV.make_jobs in formulae
Some formulae are still calling Hardware.processor_count; replace those
instances with ENV.make_jobs.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-15 00:05:15 -05:00
Charlie Sharpsteen 874bc0a838 Boost: Fix --without-python
Looks like `--without-libraries=<library>` is just `--without-<library>`.
2011-09-20 21:12:37 -07:00
Adam Vandenberg b06f2305e7 boost: add --without-python option 2011-09-03 09:27:29 -07:00
Mike McQuaid 64bcd8c5e5 Update Boost's bottle to 1.47.0. 2011-07-28 21:57:41 +01:00
Astellar 6f7dffe0c2 Updated Boost to 1.47.0
Do not set fails_with_llvm for XCode 4.1 and later, as according
to release notes LLVM compiler provided by it is now among primary
test compilers, LLVM-GCC is working too.

Closes #6669.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-07-28 21:57:41 +01:00
Mike McQuaid d0bcc2a986 Add bottles to Qt's and Boost's formulae. 2011-06-25 11:51:36 +01:00
Adam Vandenberg 83ed49411f Use ARGV.build_universal? 2011-04-23 08:36:47 -07:00
cxx 8d246906d7 boost - fix building universal binaries
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-03 19:21:38 -07:00
Adam Vandenberg 17ab50d045 boost - add warning about universal and python
A universal build of boost will expect a universal build of Python.
2011-04-01 17:39:55 -07:00
Adam Vandenberg f4a925da5a Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Clint Shryock d66c9f3b57 Boost version bump to 1.46.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-16 10:06:21 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Ville Lautanala d876f8af88 Update Boost to 1.46.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-06 21:19:26 -08:00
Adam Vandenberg c65892f5fb boost - fix duplicate options 2011-01-21 09:42:44 -08:00
David Nadlinger 65155a240a Support for building universal binaries of boost.
Closes #3915.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-01-20 22:31:39 +00:00
Aku Kotkavuo d2ee0a986b Update Boost to 1.45.0.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-11-21 13:20:58 +00:00
Carmine Paolino a18c7560ee Added option --with-mpi to the Boost formula.
It doesn't need to depend on the open-mpi formula because OS X ships with it.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-27 11:24:38 -07:00
Adam Vandenberg fb7ffd5c0f boost - tweak comments 2010-09-26 11:14:59 -07:00
Aku Kotkavuo 4e7d78c0f0 Update formula boost to 1.44.0.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-06 12:35:02 -07:00
Adam Vandenberg 3640fb912c Reformat boost a bit 2010-07-09 16:36:52 -07:00
Aku Kotkavuo fe6e6ada77 Updated formula: boost 1.43.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-09 16:19:57 -07:00
Adam Vandenberg c5d56bc501 Add "fails_with_llvm" to formula to document LLVM build breaks.
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.

Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
2010-06-16 11:50:36 -07:00
Chris Hoffman 7dde1d05fe Boost 1.42
With patches for:
 * homebrew outside of /usr/local
 * compile problems with llvm-g++

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-12 22:01:09 -08:00