summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Richart <nicolas.richart@epfl.ch>2016-06-01 17:33:54 +0200
committerNicolas Richart <nicolas.richart@epfl.ch>2016-06-01 17:33:54 +0200
commit53dcc39b725cb3887bab2ba047b23db1435e73ea (patch)
tree95f9c357bddb8f02bd784d9a865c363a649fec75
parent9db8dc18956520deae2f2e9a1e6827848df5bd51 (diff)
downloadspack-53dcc39b725cb3887bab2ba047b23db1435e73ea.tar.gz
spack-53dcc39b725cb3887bab2ba047b23db1435e73ea.tar.bz2
spack-53dcc39b725cb3887bab2ba047b23db1435e73ea.tar.xz
spack-53dcc39b725cb3887bab2ba047b23db1435e73ea.zip
removing useless selfs
-rw-r--r--var/spack/repos/builtin/packages/parmgridgen/package.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/parmgridgen/package.py b/var/spack/repos/builtin/packages/parmgridgen/package.py
index c880bb5b2b..02be777c36 100644
--- a/var/spack/repos/builtin/packages/parmgridgen/package.py
+++ b/var/spack/repos/builtin/packages/parmgridgen/package.py
@@ -46,9 +46,9 @@ class Parmgridgen(Package):
'COPTIONS=-fPIC',
'LDOPTIONS=-fPIC',
'CC={0}'.format(self.compiler.cc),
- 'PARCC={0}'.format(self.spec['mpi'].mpicc),
+ 'PARCC={0}'.format(spec['mpi'].mpicc),
'LD={0}'.format(self.compiler.cc),
- 'PARLD={0}'.format(self.spec['mpi'].mpicc),
+ 'PARLD={0}'.format(spec['mpi'].mpicc),
'LIBDIR=-L../..',
'PARLIBS=-L../../ -lparmgrid -lmgrid -lm',
'LIBS=-L../../ -lmgrid -lm',
@@ -57,15 +57,15 @@ class Parmgridgen(Package):
make(*make_opts, parallel=False)
- mkdirp(self.prefix.include, self.prefix.lib, self.prefix.bin)
+ mkdirp(prefix.include, prefix.lib, prefix.bin)
- install("mgridgen.h", self.prefix.include)
- install("parmgridgen.h", self.prefix.include)
+ install("mgridgen.h", prefix.include)
+ install("parmgridgen.h", prefix.include)
install("MGridGen/IMlib/libIMlib.a",
- join_path(self.prefix.lib, 'libIMlib.a'))
- install("libmgrid.a", self.prefix.lib)
- install("libparmgrid.a", self.prefix.lib)
+ join_path(prefix.lib, 'libIMlib.a'))
+ install("libmgrid.a", prefix.lib)
+ install("libparmgrid.a", prefix.lib)
- install("mgridgen", self.prefix.bin)
- install("parmgridgen", self.prefix.bin)
+ install("mgridgen", prefix.bin)
+ install("parmgridgen", prefix.bin)