darshan-*: ensure proper usage of spack compilers (#45636)

This commit is contained in:
shanedsnyder 2024-10-11 19:30:58 -05:00 committed by GitHub
parent 4b836cb795
commit 8d986b8a99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View File

@ -151,10 +151,7 @@ def configure_args(self):
extra_args.append("--with-jobid-env=%s" % job_id)
extra_args.append("--with-zlib=%s" % spec["zlib-api"].prefix)
if spec.satisfies("+mpi"):
extra_args.append("CC=%s" % self.spec["mpi"].mpicc)
else:
extra_args.append("CC=%s" % self.compiler.cc)
if "+mpi" not in spec:
extra_args.append("--without-mpi")
return extra_args

View File

@ -82,7 +82,6 @@ def configure_args(self):
spec = self.spec
extra_args = []
extra_args.append("CC=%s" % self.compiler.cc)
extra_args.append("--with-zlib=%s" % spec["zlib-api"].prefix)
if spec.satisfies("+apmpi"):
if self.version < Version("3.3.2"):