WRF4.5.x: Limit the patching of ADIOS function to 4.5.0 (#44929)

This commit is contained in:
sarahtang-amzn 2024-06-28 09:58:25 -05:00 committed by GitHub
parent 34f3b8fdd0
commit b57f08f22b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,7 +195,7 @@ class Wrf(Package):
patch("patches/4.5/configure.patch", when="@4.5:")
# Fix WRF to remove deprecated ADIOS2 functions
# https://github.com/wrf-model/WRF/pull/1860
patch("patches/4.5/adios2-remove-deprecated-functions.patch", when="@4.5: ^adios2@2.9:")
patch("patches/4.5/adios2-remove-deprecated-functions.patch", when="@=4.5.0 ^adios2@2.9:")
# Various syntax fixes found by FPT tool
patch(