Commit graph

108 commits

Author SHA1 Message Date
Xiyue Deng
962dff2a7d boost: fix C++11 flags for trunk.
* Trunk now use "-x" flag to control which language to use, for instance
  "clang++ -x c" will be used to compile C code, while Homebrew will
  still think it is invoking the C++ compiler. It is easier to just set
  cxxflags and linkflags.
2014-03-22 14:38:10 -07:00
Xiyue Deng
2a5b830737 boost: trunk now on github with submodules.
* Also remove legacy rpath handling logic, which is taken care of by
  install_name_tool.
2014-03-22 14:35:25 -07:00
Xiyue Deng
534f818a46 boost: reference patch with issue reports. 2014-03-22 14:35:24 -07:00
BrewTestBot
f8e3ddd77a boost: update 1.55.0 bottle.
Closes Homebrew/homebrew#27660.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-18 12:43:14 +00:00
Nikolaus Demmel
8a3e64e659 boost: bump revision for important patches.
So people pick up the recent patches from Homebrew/homebrew#27436.

See also Homebrew/homebrew#27659.
2014-03-18 12:42:50 +00:00
Jack Nagel
ed753f0b9a boost: use checksummed patches 2014-03-14 00:55:38 -05:00
Homebrew
9d9d604dc9 boost: update 1.55.0 bottle.
Closes Homebrew/homebrew#27436.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-13 10:38:13 +00:00
Clemens Gruber
0e0feaa65e boost: add Xcode 5.1 patch for boost::atomic.
Needed for LLVM 3.4.
2014-03-13 10:37:48 +00:00
Mike McQuaid
fe51e0a4f3 boost: use new python requirement bottle logic. 2014-03-13 10:05:20 +00:00
Mike McQuaid
eefdf6b3f3 formulae: fix with/without usage.
Closes Homebrew/homebrew#27275.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-08 00:54:35 +00:00
Jaime Marquínez Ferrándiz
74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00
Adam Vandenberg
2f7e7c6e19 boost: use Formula[] 2014-02-27 08:21:15 -08:00
Misty De Meo
5d9319e112 boost: don't use deprecated python object
Fixes Homebrew/homebrew#26706.
2014-02-13 17:45:57 -08:00
Mike McQuaid
9a0119dcf4 Update docs, comment mxcl/homebrew refs. 2013-12-14 18:18:35 +00:00
Jack Nagel
b55ce7803f boost: restore relocatable bottle 2013-12-05 00:41:38 -06:00
Jack Nagel
5eac9047db Temporarily disable cellar :any
These need to be updated to reflect changes to relocation.
2013-12-04 22:37:58 -06:00
Jack Nagel
e2319b3108 Add Hardware::CPU.intel? and Hardware::CPU.ppc? 2013-11-26 20:23:19 -06:00
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