Fix undefined symbols by building shared libraries

This commit is contained in:
Adam J. Stewart
2016-07-20 12:57:43 -05:00
parent bdb64c2e39
commit 5cac0a528c
5 changed files with 21 additions and 20 deletions

View File

@@ -41,8 +41,8 @@ class PyMeep(Package):
depends_on('py-scipy')
depends_on('py-matplotlib')
depends_on('mpi', when='+mpi') # OpenMPI 1.3.3 is recommended
depends_on('meep') # must be compiled with -fPIC
depends_on('mpi', when='+mpi')
depends_on('meep~mpi', when='~mpi')
depends_on('meep+mpi', when='+mpi')
# As of SWIG 3.0.3, Python-style comments are now treated as