aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/boost.rb
AgeCommit message (Collapse)Author
2013-12-14Update docs, comment mxcl/homebrew refs.Mike McQuaid
2013-12-05boost: restore relocatable bottleJack Nagel
2013-12-04Temporarily disable cellar :anyJack Nagel
These need to be updated to reflect changes to relocation.
2013-11-26Add Hardware::CPU.intel? and Hardware::CPU.ppc?Jack Nagel
2013-11-12boost: add bottle.BrewTestBot
2013-11-12boost 1.55.0Xiyue Deng
* Drop obsoleted patches. * Temporarily remove bottles. Closes #24201. Signed-off-by: BrewTestBot <brew-test-bot@googlegroups.com>
2013-10-28boost: add mavericks bottle.Mike McQuaid
2013-10-27boost: support C++11 mode.Xiyue Deng
* 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-08Boost: simplify universal handling and other improvements.Xiyue Deng
* 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-02boost: move without-python option into bootstrap stage.Andrei Polushin
Specifying 'without-python' option for ./b2 takes precedence over all 'without-libraries' options specified previously for ./boostrap.sh Closes #22988. Signed-off-by: Andrei Polushin <polushin@gmail.com> Closes #22988. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-01boost: Fix C++11 build.Xiyue Deng
* 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 #22942.
2013-09-26boost: fix error message to use "--without-single".Xiyue Deng
* Use raise to report error.
2013-08-30boost: enable bottles, print Python bottle caveat.Mike McQuaid
Closes #21824.
2013-08-23Remove ad-hoc header padding fixesJack Nagel
This is the default now.
2013-08-21boost: no need for backported patches on HEADAlex Burka
Closes #22055. Signed-off-by: Xiyue Deng <manphiz@gmail.com>
2013-08-15Use Hardware::CPU.arch(32|64)_bit in formulaeMisty De Meo
2013-08-14Boost: enforce '--with-mpi' with '--without-single'Xiyue Deng
* 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-07-18boost: enable single/multi/shared/static libs.Xiyue Deng
* Add option to disable single threading variant. * Add option to disable static library variant. * Drop unneeded "--with-system-layout" option. Closes #21298. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-07-17boost: disable coroutine for non-x86_64 builds.Mike McQuaid
Coroutine depends on context which is also disabled in this case. Closes #21225.
2013-07-12boost: 1.54.0 bottles.Mike McQuaid
2013-07-12boost 1.54.0Xiyue Deng
* 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 #20947. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-06-26Add syntax sugar for MPIDependencyJack Nagel
Closes #20797.
2013-06-04boost: don't use bottle if python brew installed.Mike McQuaid
Closes #20124.
2013-06-03boost: revert change to icu optionJack Nagel
We can't rename options, it breaks upgrades.
2013-06-03Python 2.x and 3.x supportSamuel John
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-05-05boost: remove hardcoded 'cc' invocationMisty De Meo
Fixes #17048.
2013-05-05boost: disable context on unsupported archsMisty De Meo
Fixes #17646.
2013-04-21Remove global methods from formulaeSimon Sigurdhsson
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 #19331. Closes #19343. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-02-06boost: remove erroneous pour_bottle method.Mike McQuaid
Closes #17637.
2013-02-05boost: 1.53 bottlesMike McQuaid
References #17589.
2013-02-05boost 1.53Stefan
Closes #17589. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-02boost: update 1.52.0 bottles.Mike McQuaid
References #17524.
2013-02-02boost and boost149: security fix.Xiyue Deng
* 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 #17524. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-29Add pour_bottle? method to Formula.Mike McQuaid
Allows a formula to selectively disable bottle pouring. e.g. the default Boost bottle does not work with a brewed Python. Fixes #17142
2013-01-27boost: style nitsAdam Vandenberg
2013-01-21Use new requirement syntaxJack Nagel
2013-01-20boost: add option to use system layout.Nikita Kakuev
Closes #14749. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-01-17boost: fix universal build with c++11Nikolay Kasyanov
specify linkflags & cxxflags explicitly Fixes #17084. Closes #17122. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-18boost: c++11 support.Gary Wolfman
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-12boost 1.52.0 bottlesMike McQuaid
Fixes #15871.
2012-11-12boost 1.52.0Xiyue Deng
* Also add fix of MPI detection for Graph library. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-10-26boost: a few tweaks.Xiyue Deng
* 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-09-27boost 1.51.0Mike McQuaid
Closes #15113.
2012-08-22boost: use new dslAdam Vandenberg
2012-08-16boost: 1.50.0Mike McQuaid
2012-08-09Fix option usageAdam Vandenberg
2012-08-08boost: use options dslAdam Vandenberg
2012-06-09boost: remove cruftJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15Use ENV shortcut methods where applicableJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-10Remove redundant :using => :svnAdam Vandenberg