Link Python and Matlab modules against shared BLAS/LAPACK when necessary
This commit is contained in:
parent
1ca9e3fac5
commit
baade7fbad
2 changed files with 3 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ localenv.Append(CPPPATH=['#include', '#src', matlab_include],
|
|||
CPPDEFINES=['MATLAB_MEX_FILE'],
|
||||
LIBPATH=[matlab_libs])
|
||||
|
||||
linklibs += env['sundials_libs']
|
||||
linklibs += localenv['sundials_libs']
|
||||
linklibs += localenv['blas_lapack_libs']
|
||||
|
||||
ctmethods = build(localenv.SharedLibrary('#interfaces/matlab/toolbox/ctmethods',
|
||||
mglob(localenv, '.', 'cpp'),
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ if localenv['python_package'] == 'full':
|
|||
pylinklibs.append('python%s' % gcv('VERSION'))
|
||||
|
||||
pylinklibs.extend(localenv['sundials_libs'])
|
||||
pylinklibs.extend(localenv['blas_lapack_libs'])
|
||||
|
||||
pymodule = localenv.SharedLibrary('#interfaces/python/Cantera/_cantera',
|
||||
['pycantera.cpp'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue