py-pymumps: remove install_options (#28452)
This commit is contained in:
parent
8430e28a52
commit
1809a122ef
@ -27,18 +27,3 @@ class PyPymumps(PythonPackage):
|
|||||||
# Patch to add libmumps_common.so to library dependencies
|
# Patch to add libmumps_common.so to library dependencies
|
||||||
# See https://github.com/PyMumps/pymumps/issues/13
|
# See https://github.com/PyMumps/pymumps/issues/13
|
||||||
patch('py-pymumps.setup.patch')
|
patch('py-pymumps.setup.patch')
|
||||||
|
|
||||||
def install_options(self, spec, prefix):
|
|
||||||
# Requires --library-dirs,
|
|
||||||
# '--libraries', spec['mumps'].prefix.libs, does not cut it
|
|
||||||
args = ['--include-dirs',
|
|
||||||
spec['mumps'].prefix.include,
|
|
||||||
'--library-dirs',
|
|
||||||
spec['mumps'].libs.directories[0],
|
|
||||||
'--rpath',
|
|
||||||
spec['mumps'].libs.directories[0],
|
|
||||||
'-l', 'dmumps',
|
|
||||||
'-l', 'mumps_common',
|
|
||||||
'-l', 'pord',
|
|
||||||
]
|
|
||||||
return args
|
|
||||||
|
Loading…
Reference in New Issue
Block a user