summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralbestro <9337627+albestro@users.noreply.github.com>2021-07-22 09:49:20 +0200
committerGitHub <noreply@github.com>2021-07-22 09:49:20 +0200
commit7ad72de0d3a4da2088d9e37b0142e3e9f0ca142f (patch)
treed8786a3ef682fa190802ab41ec52e9473b6cc782
parent8cfb0a0d52ef4469667e655bd5b2390f723221bb (diff)
downloadspack-7ad72de0d3a4da2088d9e37b0142e3e9f0ca142f.tar.gz
spack-7ad72de0d3a4da2088d9e37b0142e3e9f0ca142f.tar.bz2
spack-7ad72de0d3a4da2088d9e37b0142e3e9f0ca142f.tar.xz
spack-7ad72de0d3a4da2088d9e37b0142e3e9f0ca142f.zip
boost: conflict with GCC on macOS (#24917)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
-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')