Skip to content

Commit

Permalink
BLD:linalg: Add _matfuncs_expm.pyx to meson.build
Browse files Browse the repository at this point in the history
  • Loading branch information
ilayn committed Mar 13, 2022
1 parent 74314eb commit 0546355
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions scipy/linalg/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,22 @@ py3.extension_module('_decomp_update',
subdir: 'scipy/linalg'
)

# _matfuncs_expm:
_matfuncs_expm_pyx = custom_target('_matfuncs_expm',
output: '_matfuncs_expm.pyx',
input: '_matfuncs_expm.pyx.in',
command: [py3, tempita, '@INPUT@', '-o', '@OUTDIR@']
)

py3.extension_module('_matfuncs_expm',
linalg_init_cython_gen.process(_matfuncs_expm_pyx),
c_args: cython_c_args,
include_directories: inc_np,
dependencies: py3_dep,
install: true,
subdir: 'scipy/linalg'
)

_cythonized_array_utils = py3.extension_module('_cythonized_array_utils',
linalg_init_cython_gen.process('_cythonized_array_utils.pyx'),
c_args: [cython_c_args, c_undefined_ok],
Expand Down

0 comments on commit 0546355

Please sign in to comment.