diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2022-01-19 05:27:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 12:27:38 +0100 |
commit | d6c841f67cd64e58bf779d4419d5360a53028703 (patch) | |
tree | 4ce5223c2a3d252bf5b572878f2f1e03124f64fd /var | |
parent | e6ba8eb0608e2788d8cae525acd4de9958e77826 (diff) | |
download | spack-d6c841f67cd64e58bf779d4419d5360a53028703.tar.gz spack-d6c841f67cd64e58bf779d4419d5360a53028703.tar.bz2 spack-d6c841f67cd64e58bf779d4419d5360a53028703.tar.xz spack-d6c841f67cd64e58bf779d4419d5360a53028703.zip |
py-python-meep: remove install_options (#28461)
* py-python-meep: remove install_options
* Remove unused import
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-python-meep/package.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-meep/package.py b/var/spack/repos/builtin/packages/py-python-meep/package.py index b4b697fa57..8287d6165b 100644 --- a/var/spack/repos/builtin/packages/py-python-meep/package.py +++ b/var/spack/repos/builtin/packages/py-python-meep/package.py @@ -3,8 +3,6 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -import os - from spack import * @@ -38,31 +36,3 @@ class PyPythonMeep(PythonPackage): def patch(self): if '+mpi' in self.spec: copy('setup-mpi.py', 'setup.py') - - def install_options(self, spec, prefix): - include_dirs = [ - spec['meep'].prefix.include, - os.path.join( - spec['py-numpy'].prefix, - spec['python'].package.include - ) - ] - - library_dirs = [ - spec['meep'].prefix.lib - ] - - if '+mpi' in spec: - include_dirs.append(spec['mpi'].prefix.include) - library_dirs.append(spec['mpi'].prefix.lib) - - include_flags = '-I{0}'.format(','.join(include_dirs)) - library_flags = '-L{0}'.format(','.join(library_dirs)) - - # FIXME: For some reason, this stopped working. - # The -I and -L are no longer being properly forwarded to setup.py: - # meep_common.i:87: Error: Unable to find 'meep/mympi.hpp' - # meep_common.i:88: Error: Unable to find 'meep/vec.hpp' - # meep_common.i:89: Error: Unable to find 'meep.hpp' - - return [include_flags, library_flags] |