summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-07-08 16:08:53 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-08-01 13:35:21 -0500
commita2578c21e4a96e7734981570675dfb85cde74e93 (patch)
tree6e4b1659de6ca24e2320db1a9645845c043c5950
parent8d0758fc4cf863ed82d6d4bacd9819e5fd69b3a4 (diff)
downloadspack-a2578c21e4a96e7734981570675dfb85cde74e93.tar.gz
spack-a2578c21e4a96e7734981570675dfb85cde74e93.tar.bz2
spack-a2578c21e4a96e7734981570675dfb85cde74e93.tar.xz
spack-a2578c21e4a96e7734981570675dfb85cde74e93.zip
Supply flags to bdist
-rw-r--r--var/spack/repos/builtin/packages/py-meep/package.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-meep/package.py b/var/spack/repos/builtin/packages/py-meep/package.py
index 9582c81878..a8e11a12ff 100644
--- a/var/spack/repos/builtin/packages/py-meep/package.py
+++ b/var/spack/repos/builtin/packages/py-meep/package.py
@@ -62,9 +62,10 @@ class PyMeep(Package):
spec['meep'].prefix.lib
]
+ include_flags = '-I{0}'.format(','.join(include_dirs))
+ library_flags = '-L{0}'.format(','.join(library_dirs))
+
python(setup, 'clean', '--all')
- python(setup, 'build_ext',
- '-I{0}'.format(','.join(include_dirs)),
- '-L{0}'.format(','.join(library_dirs)))
+ python(setup, 'build_ext', include_flags, library_flags)
python(setup, 'install', '--prefix={0}'.format(prefix))
- python(setup, 'bdist')
+ python(setup, 'bdist', include_flags, library_flags)