Commit graph

120 commits

Author SHA1 Message Date
Mike McQuaid
f0197cc36e boost: fail on python and python3 options.
Close Homebrew/homebrew#30914.
2014-07-17 12:36:55 -07:00
BrewTestBot
5d3432157b boost: update 1.55.0_2 bottle.
Closes Homebrew/homebrew#30595.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-07-02 01:26:00 +01:00
Dominyk Tiller
b8454cebe0 boost: patch upstream issue.
See [this](https://github.com/Homebrew/homebrew/issues/30592) issue for more information. Fixes the upstream issue in Boost 1.55. This patch can and should be removed when Boost 1.56 is released, as that will incorporate the patch natively.
2014-07-02 01:26:00 +01:00
Matt Keeter
f485995df8 boost: add python3 option.
Closes Homebrew/homebrew#30590.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-07-01 14:35:23 +01:00
BrewTestBot
7c74b34009 boost: update 1.55.0_2 bottle. 2014-06-01 11:34:02 -05:00
Yue Liu
84c4c9a232 boost: add upstream patch to make librevenge build
Closes Homebrew/homebrew#29737.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-01 11:33:46 -05:00
Jack Nagel
2257ca4e29 Prefer Dir[] to Dir.glob when not passing a block 2014-05-30 12:41:12 -05:00
Jack Nagel
b8eeadcaed Remove code that cannot possibly execute 2014-05-22 21:23:58 -05:00
BrewTestBot
a1f43293a0 boost: update 1.55.0_1 bottle. 2014-05-08 15:24:02 +01:00
Mike McQuaid
47300eb0e9 boost: make python optional.
Closes Homebrew/homebrew#28281.
2014-05-08 14:41:52 +01:00
Steven Peters
a649d9b4ec Use .diff instead of .patch for github commit sourced patches
This modifies multiple formulae in a single commit, replacing
the patch suffix with diff per Homebrew/homebrew#28315. I used the following
command:
~~~
sed -i -e 's@patch"$@diff"@' `grep -rlI 'commit.*patch"$' .`
~~~
The patch shasums are then computed using:
~~~
brew fetch --build-from-source `git st | sed -e 's@^ M@@'`
~~~
and manually updated.

Fixes Homebrew/homebrew#28315.
Fixes Homebrew/homebrew#28335.
Closes Homebrew/homebrew#28339.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-11 20:53:22 -05:00
Brett Koonce
28f06984fc boost: update patch sha1
Closes Homebrew/homebrew#28169.
Closes Homebrew/homebrew#28179.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-05 17:43:39 -05:00
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