boost: conflict with GCC on macOS (#24917)

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
This commit is contained in:
albestro 2021-07-22 09:49:20 +02:00 committed by GitHub
parent 8cfb0a0d52
commit 7ad72de0d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,6 +198,14 @@ def libs(self):
# Container's Extended Allocators were not added until 1.56.0
conflicts('+container', when='@:1.55.99')
# Boost.System till 1.76 (included) was relying on mutex, which was not
# detected correctly on Darwin platform when using GCC
#
# More details here:
# https://github.com/STEllAR-GROUP/hpx/issues/5442#issuecomment-878889166
# https://github.com/STEllAR-GROUP/hpx/issues/5442#issuecomment-878913339
conflicts('%gcc', when='@:1.76 +system platform=darwin')
# Patch fix from https://svn.boost.org/trac/boost/ticket/11856
patch('boost_11856.patch', when='@1.60.0%gcc@4.4.7')