SZ package: tighten constraints for Windows build (#47071)

This commit is contained in:
John W. Parent 2024-10-18 19:10:08 -04:00 committed by GitHub
parent 899004e29a
commit c9377d9437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,6 +87,9 @@ class Sz(CMakePackage, AutotoolsPackage):
patch("ctags-only-if-requested.patch", when="@2.1.8.1:2.1.8.3")
# Windows requires numerous commits that only exist on master at the moment
conflicts("platform=windows", when="@:2.1.12.5")
def flag_handler(self, name, flags):
if name == "cflags":
if self.spec.satisfies("%oneapi"):