Skip to content

Conversation

rgommers
Copy link
Member

This avoids installing _simd.so when the 'tests' install tag is omitted in order to strip the whole test suite.
This is a significant saving in binary size especially on x86-64 (see gh-25737, about 10% of the installed size).

Tested on macOS arm64 too, there _simd.so is 363 kb for a release build, or ~12% of the size of the main extension module (_multiarray_umath.so).

… module

This avoids installing `_simd.so` when the 'tests' install tag is omitted
in order to strip the whole test suite.
This is a significant saving in binary size especially on x86-64 (see
issue 25737, about 10% of the installed size).

Tested on macOS arm64 too, there `_simd.so` is 363 kb for a release build,
or ~12% of the size of the main extension module (`_multiarray_umath.so`).
@rgommers rgommers added this to the 2.1.0 release milestone Jul 17, 2024
@mattip mattip merged commit f858539 into numpy:main Jul 17, 2024
@mattip
Copy link
Member

mattip commented Jul 17, 2024

Thanks @rgommers

@rgommers rgommers deleted the _simd-install-tag branch July 17, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants