pflotran: tweak for building with xsdk rocm/hip (#40990)

This commit is contained in:
Cody Balos
2023-11-10 06:30:35 -08:00
committed by GitHub
parent fbf02b561a
commit 7aaa17856d

View File

@@ -57,3 +57,9 @@ def flag_handler(self, name, flags):
if "%gcc@10:" in self.spec and name == "fflags":
flags.append("-fallow-argument-mismatch")
return flags, None, None
@when("@5.0.0")
def patch(self):
filter_file(
"use iso_[cC]_binding", "use, intrinsic :: iso_c_binding", "src/pflotran/hdf5_aux.F90"
)