From a2ebeb8e76d6c067a60f734cc81ebfdd1fcb75a7 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 20 Jul 2021 13:30:32 +0200 Subject: [PATCH] boost: Add version ranges for macOS GCC patch (#24969) --- var/spack/repos/builtin/packages/boost/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py index 2b6e587b57e..2d0191d7c93 100644 --- a/var/spack/repos/builtin/packages/boost/package.py +++ b/var/spack/repos/builtin/packages/boost/package.py @@ -280,7 +280,7 @@ def libs(self): # Allow building context asm sources with GCC on Darwin # See https://github.com/spack/spack/pull/24889 # and https://github.com/boostorg/context/issues/177 - patch("context-macho-gcc.patch", when="+context platform=darwin %gcc") + patch("context-macho-gcc.patch", when="@1.65:1.76 +context platform=darwin %gcc") def patch(self): # Disable SSSE3 and AVX2 when using the NVIDIA compiler