petsc: fix configure option to use double-hyphen (#33685)

This commit is contained in:
Satish Balay 2022-11-03 21:22:09 -05:00 committed by GitHub
parent 72b11c1883
commit 34969b7072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -573,7 +573,7 @@ def configure_options(self):
for pkg in hip_lpkgs:
hip_lib += spec[pkg].libs.joined() + " "
options.append("HIPPPFLAGS=%s" % hip_inc)
options.append("with-hip-lib=%s -L%s -lamdhip64" % (hip_lib, spec["hip"].prefix.lib))
options.append("--with-hip-lib=%s -L%s -lamdhip64" % (hip_lib, spec["hip"].prefix.lib))
if "superlu-dist" in spec:
if spec.satisfies("@3.10.3:3.15"):