boost: fix for @1.77.0%intel (#25965)

Add patch for build script from boost repo.
This commit is contained in:
Tiziano Müller 2021-09-22 01:07:25 +02:00 committed by GitHub
parent 979c355c99
commit d34b2638c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,6 +298,12 @@ def libs(self):
when="@:1.76%cce", when="@:1.76%cce",
level=2) level=2)
# Fix building with Intel compilers
patch("https://github.com/bfgroup/b2/commit/23212066f0f20358db54568bb16b3fe1d76f88ce.patch",
sha256="93f4aad8f88d1437e50d95a2d066390ef3753b99ef5de24f7a46bc083bd6df06",
when="@1.77.0",
working_dir="tools/build")
def patch(self): def patch(self):
# Disable SSSE3 and AVX2 when using the NVIDIA compiler # Disable SSSE3 and AVX2 when using the NVIDIA compiler
if self.spec.satisfies('%nvhpc'): if self.spec.satisfies('%nvhpc'):