summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/boost/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py
index 2d0191d7c9..ff5f1b7194 100644
--- a/var/spack/repos/builtin/packages/boost/package.py
+++ b/var/spack/repos/builtin/packages/boost/package.py
@@ -198,6 +198,14 @@ class Boost(Package):
# 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')