boost: Add version ranges for macOS GCC patch (#24969)

This commit is contained in:
Harmen Stoppels
2021-07-20 13:30:32 +02:00
committed by GitHub
parent df10ffe20d
commit a2ebeb8e76

View File

@@ -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