Skip to content

Commit

Permalink
BLD: ensure build dependencies for boost codegen are tracked
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers authored and tylerjereddy committed Sep 26, 2023
1 parent ecc2ff2 commit 4e365bb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scipy/stats/meson.build
Expand Up @@ -109,7 +109,16 @@ _stats_gen_pyx = custom_target('_stats_gen_pyx',
],
input: '_generate_pyx.py',
command: [py3, '@INPUT@', '-o', '@OUTDIR@'],
depends: _stats_pxd
depends: _stats_pxd,
depend_files: [
'_boost/include/code_gen.py',
'_boost/include/gen_func_defs_pxd.py',
'_boost/include/_info.py',
# TODO: once setup.py is gone, remove this .pxd file from here and from the
# output of this custom_target, and stop copying it manually in
# code_gen.py. Instead, use fs.copyfile at the top of this file.
'_boost/include/templated_pyufunc.pxd',
]
)

# Only needed to establish a dependency; see comments in linalg/meson.build
Expand Down

0 comments on commit 4e365bb

Please sign in to comment.