diff options
author | Joseph Ciurej <ciurej1@llnl.gov> | 2016-05-09 14:39:42 -0700 |
---|---|---|
committer | Joseph Ciurej <ciurej1@llnl.gov> | 2016-05-09 14:39:42 -0700 |
commit | ceab445b9fe371d50703c599ec2cf742f6199f41 (patch) | |
tree | da88469347a4ea5ec1da4304c3d79937676337fa | |
parent | 88d2f6b83a46edb407397193fe5294d1303070a0 (diff) | |
download | spack-ceab445b9fe371d50703c599ec2cf742f6199f41.tar.gz spack-ceab445b9fe371d50703c599ec2cf742f6199f41.tar.bz2 spack-ceab445b9fe371d50703c599ec2cf742f6199f41.tar.xz spack-ceab445b9fe371d50703c599ec2cf742f6199f41.zip |
Integrated improvements from PR #893 to remove hardcoded MPI path.
-rw-r--r-- | var/spack/repos/builtin/packages/scotch/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/scotch/package.py b/var/spack/repos/builtin/packages/scotch/package.py index 5820e826de..8fad74b24f 100644 --- a/var/spack/repos/builtin/packages/scotch/package.py +++ b/var/spack/repos/builtin/packages/scotch/package.py @@ -103,7 +103,7 @@ class Scotch(Package): makefile_inc.append('CCS = $(CC)') makefile_inc.append('CCP = %s' % - (os.path.join(self.spec['mpi'].prefix.bin, 'mpicc') if '+mpi' in self.spec else 'mpicc')) + (self.spec['mpi'].mpicc if '+mpi' in self.spec else 'mpicc')) makefile_inc.append('CCD = $(CCS)') ## Extra Features ## |