From 7ad72de0d3a4da2088d9e37b0142e3e9f0ca142f Mon Sep 17 00:00:00 2001 From: albestro <9337627+albestro@users.noreply.github.com> Date: Thu, 22 Jul 2021 09:49:20 +0200 Subject: boost: conflict with GCC on macOS (#24917) Co-authored-by: Harmen Stoppels --- var/spack/repos/builtin/packages/boost/package.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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') -- cgit v1.2.3-70-g09d2