Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLD: use install-tags to optionally install tests #26274

Merged
merged 14 commits into from
Apr 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
BUILD: Add tests install_tag for tests extension modules
  • Loading branch information
czgdp1807 committed Apr 15, 2024
commit 179a660e2c7dc00afd0e4d5fe51004526dadc5bc
2 changes: 2 additions & 0 deletions numpy/_core/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ py.extension_module('_multiarray_tests',
gnu_symbol_visibility: 'default',
install: true,
subdir: 'numpy/_core',
install_tag: 'tests'
)

_umath_tests_mtargets = mod_features.multi_targets(
Expand Down Expand Up @@ -754,6 +755,7 @@ foreach gen: test_modules_src
install: true,
subdir: 'numpy/_core',
link_with: gen[2],
install_tag: 'tests'
)
endforeach

Expand Down