Commit graph

91 commits

Author SHA1 Message Date
BrewTestBot
02fdb3a9b2 boost: add bottle. 2013-11-12 11:31:01 +00:00
Xiyue Deng
0661bb91d4 boost 1.55.0
* Drop obsoleted patches.
* Temporarily remove bottles.

Closes Homebrew/homebrew#24201.

Signed-off-by: BrewTestBot <brew-test-bot@googlegroups.com>
2013-11-12 11:31:01 +00:00
Mike McQuaid
bbd36b7968 boost: add mavericks bottle. 2013-10-28 13:48:29 +00:00
Xiyue Deng
d6bd627c6b boost: support C++11 mode.
* Add info about option renaming: '--with-c++11' -> '--c++11'.
  - Require C++ dependencies with C++11 support when requesting '--c++11'.
* Building MPI python support in C++11 mode fails. Disable.
2013-10-27 06:00:52 -07:00
Xiyue Deng
6da62b531b Boost: simplify universal handling and other improvements.
* Use Homebrew standard universal handling.
* Handle whether to build MPI at bootstrap.
  - Also improve parameter construction.
  - Use CPU.is_32_bit? instead of accessing CPU.bits directly.
* Add more caveats:
  - Boost.Log is disabled when building using apple-gcc42 or llvm-gcc.
  - Boost.Context and Boost.Coroutine are only supported on x86_64.
2013-10-08 02:31:28 -07:00
Andrei Polushin
1af00d5409 boost: move without-python option into bootstrap stage.
Specifying 'without-python' option for ./b2 takes precedence over all
'without-libraries' options specified previously for ./boostrap.sh

Closes Homebrew/homebrew#22988.

Signed-off-by: Andrei Polushin <polushin@gmail.com>
Closes Homebrew/homebrew#22988.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-02 15:46:29 +01:00
Xiyue Deng
3ba45e3827 boost: Fix C++11 build.
* Use default darwin toolset.
  - Used to set toolset as clang in C++11 build, which will override
    darwin settings and fail to increase template depth which is
    required for some of the libraries such as Boost.Log.
* Remove unnecessary "-fPIC" build flag.

Closes Homebrew/homebrew#22942.
2013-10-01 00:49:06 -07:00
Xiyue Deng
94fffd72f1 boost: fix error message to use "--without-single".
* Use raise to report error.
2013-09-26 22:40:31 -07:00
Mike McQuaid
87c664dc14 boost: enable bottles, print Python bottle caveat.
Closes Homebrew/homebrew#21824.
2013-08-30 09:14:07 +01:00
Jack Nagel
6dca0b8693 Remove ad-hoc header padding fixes
This is the default now.
2013-08-23 15:56:27 -05:00
Alex Burka
38d33d3d3f boost: no need for backported patches on HEAD
Closes Homebrew/homebrew#22055.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>
2013-08-21 20:48:59 -07:00
Misty De Meo
56ecd194fb Use Hardware::CPU.arch(32|64)_bit in formulae 2013-08-15 22:46:56 -07:00
Xiyue Deng
74258700d5 Boost: enforce '--with-mpi' with '--without-single'
* Building MPI support for both single and multi-threaded flavors will
  result in duplicated rules for mpi.so.  Upstream bug report
  https://svn.boost.org/trac/boost/ticket/8841.
* Require '--with-mpi' be used together with '--without-single' until
  this is fixed.
2013-08-14 13:08:04 -07:00
Xiyue Deng
34b371fb51 boost: enable single/multi/shared/static libs.
* Add option to disable single threading variant.
* Add option to disable static library variant.
* Drop unneeded "--with-system-layout" option.

Closes Homebrew/homebrew#21298.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-07-18 15:36:22 -07:00
Mike McQuaid
631a21b2cd boost: disable coroutine for non-x86_64 builds.
Coroutine depends on context which is also disabled in this case.

Closes Homebrew/homebrew#21225.
2013-07-17 15:24:41 -07:00
Mike McQuaid
3121fd363c boost: 1.54.0 bottles. 2013-07-12 17:24:28 +01:00
Xiyue Deng
eba3cfe1d6 boost 1.54.0
* Disable Boost.Log on Snow Leopard and lower as it fails to build using
  Apple GCC.
* Applies upstream patches from http://www.boost.org/patches/.

Closes Homebrew/homebrew#20947.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-07-12 17:24:28 +01:00
Jack Nagel
843786471e Add syntax sugar for MPIDependency
Closes Homebrew/homebrew#20797.
2013-06-26 22:18:13 -05:00
Mike McQuaid
592280c68d boost: don't use bottle if python brew installed.
Closes Homebrew/homebrew#20124.
2013-06-04 13:52:23 +01:00
Jack Nagel
708d760639 boost: revert change to icu option
We can't rename options, it breaks upgrades.
2013-06-03 17:03:09 -05:00
Samuel John
f6e80bdea2 Python 2.x and 3.x support
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.

To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.

The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:

python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.

Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.

python do
  system python, 'setup.py', "--prefix=#{prefix}"
end

Read more in the Homebrew wiki.
2013-06-03 17:29:43 +02:00
Misty De Meo
1ac16f8090 boost: remove hardcoded 'cc' invocation
Fixes Homebrew/homebrew#17048.
2013-05-05 15:26:01 -05:00
Misty De Meo
53e164b179 boost: disable context on unsupported archs
Fixes Homebrew/homebrew#17646.
2013-05-05 15:26:01 -05:00
Simon Sigurdhsson
a763d3df9f Remove global methods from formulae
Removes any global methods from formulae, and moves #kext_prefix (which
seems to be at least somewhat abstractable) into the Formula class. The
only formula with global methods is now aspell; it (and its generating
script in contrib) has been changed to prefix that method with
`aspell_`, to minimize the risk of name collisions.

Closes Homebrew/homebrew#19331.
Closes Homebrew/homebrew#19343.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-21 23:48:50 -05:00
Mike McQuaid
b0d36668d1 boost: remove erroneous pour_bottle method.
Closes Homebrew/homebrew#17637.
2013-02-06 12:23:59 -08:00
Mike McQuaid
a279e30caf boost: 1.53 bottles
References Homebrew/homebrew#17589.
2013-02-05 20:01:32 -08:00
Stefan
2f10f1bb96 boost 1.53
Closes Homebrew/homebrew#17589.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-05 20:01:19 -08:00
Mike McQuaid
611688616e boost: update 1.52.0 bottles.
References Homebrew/homebrew#17524.
2013-02-02 15:42:14 -08:00
Xiyue Deng
5e4a87d323 boost and boost149: security fix.
* Add upstream patch for security fix in Boost.Locale when not
  building head. Detail:
  http://www.boost.org/users/news/boost_locale_security_notice.html
* Use upstream changesets as patch and don't apply when building head.

Closes Homebrew/homebrew#17524.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-02 15:42:14 -08:00
Mike McQuaid
03037b1a88 Add pour_bottle? method to Formula.
Allows a formula to selectively disable bottle pouring.
e.g. the default Boost bottle does not work with a brewed Python.

Fixes Homebrew/homebrew#17142
2013-01-29 17:14:11 -08:00
Adam Vandenberg
adfa42fcee boost: style nits 2013-01-27 14:54:48 -08:00
Jack Nagel
60003eecc3 Use new requirement syntax 2013-01-21 17:36:34 -06:00
Nikita Kakuev
7e4ff4e7b6 boost: add option to use system layout.
Closes Homebrew/homebrew#14749.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-20 22:40:32 +00:00
Nikolay Kasyanov
84b22a8e13 boost: fix universal build with c++11
specify linkflags & cxxflags explicitly

Fixes Homebrew/homebrew#17084.
Closes Homebrew/homebrew#17122.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-17 07:48:19 -08:00
Gary Wolfman
64ec3a7d0e 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 Homebrew/homebrew#16078.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-11-18 21:13:28 +00:00
Mike McQuaid
735f5f31ca boost 1.52.0 bottles
Fixes Homebrew/homebrew#15871.
2012-11-12 23:43:08 +00:00
Xiyue Deng
08ccb1f5b0 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
0bae0c0099 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 Homebrew/homebrew#15506.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-10-26 09:35:14 +01:00
Mike McQuaid
ab7695bd08 boost 1.51.0
Closes Homebrew/homebrew#15113.
2012-09-27 20:29:27 +01:00
Adam Vandenberg
742ab76b60 boost: use new dsl 2012-08-22 21:34:11 -07:00
Mike McQuaid
656cb4b165 boost: 1.50.0 2012-08-16 21:05:52 +01:00
Adam Vandenberg
3092bce992 Fix option usage 2012-08-09 08:51:54 -07:00
Adam Vandenberg
ee6fade1d6 boost: use options dsl 2012-08-08 22:27:29 -07:00
Jack Nagel
f284efd8f6 boost: remove cruft
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-09 12:06:40 -05:00
Jack Nagel
5bd598db36 Use ENV shortcut methods where applicable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:12 -05:00
Adam Vandenberg
2ab4fa3fae Remove redundant :using => :svn 2012-05-10 07:10:12 -07:00
Adam Vandenberg
fd1e30b966 Boost: use requirement for universal python 2012-04-28 11:57:34 -07:00
Charlie Sharpsteen
7eb008bb68 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
f6f14cb21b Remove Boost 10.6 bottle until fixed.
Fixes Homebrew/homebrew#11802.
Fixes Homebrew/homebrew#11633.
2012-04-22 21:40:50 +10:00
Misty De Meo
72b3073322 boost: add Snow Leopard bottle 2012-04-10 11:01:08 -05:00