pflotran: tweak for building with xsdk rocm/hip (#40990)
This commit is contained in:
parent
fbf02b561a
commit
7aaa17856d
@ -57,3 +57,9 @@ def flag_handler(self, name, flags):
|
|||||||
if "%gcc@10:" in self.spec and name == "fflags":
|
if "%gcc@10:" in self.spec and name == "fflags":
|
||||||
flags.append("-fallow-argument-mismatch")
|
flags.append("-fallow-argument-mismatch")
|
||||||
return flags, None, None
|
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"
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user