darshan-*: ensure proper usage of spack compilers (#45636)
This commit is contained in:
parent
4b836cb795
commit
8d986b8a99
@ -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
|
||||
|
@ -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"):
|
||||
|
Loading…
Reference in New Issue
Block a user