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.
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.
FixesHomebrew/homebrew#28315.
FixesHomebrew/homebrew#28335.
ClosesHomebrew/homebrew#28339.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* 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.
* 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.
* 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.
Specifying 'without-python' option for ./b2 takes precedence over all
'without-libraries' options specified previously for ./boostrap.sh
ClosesHomebrew/homebrew#22988.
Signed-off-by: Andrei Polushin <polushin@gmail.com>
ClosesHomebrew/homebrew#22988.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
* 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.
ClosesHomebrew/homebrew#22942.