You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add env var to disable SIMD in setup.py
- Add `IPCTK_WITH_SIMD` environment variable to control SIMD support in
Python builds
- Reformat `setup.py` to match standard Python style guidelines
* Update IPCTK_WITH_SIMD parsing and CI config
- Support "off", "false", and "no" values for IPCTK_WITH_SIMD in
setup.py
- Re-enable SIMD for macOS and Windows Python CI builds
* Add SIMD build instructions to Python README
- Document the `IPCTK_WITH_SIMD` environment variable for `pip install`
- List accepted falsy values for disabling SIMD optimizations
- Add a note on forcing a source build from PyPI to apply the flag
Copy file name to clipboardExpand all lines: python/README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,23 @@ You can test that the installation was successful by doing
38
38
python -c "import ipctk"
39
39
```
40
40
41
+
#### SIMD
42
+
43
+
SIMD optimizations are enabled by default. To disable them (e.g., for compatibility with older or cross-compiled targets), set `IPCTK_WITH_SIMD=0` before installing:
44
+
45
+
```sh
46
+
IPCTK_WITH_SIMD=0 pip install .
47
+
```
48
+
49
+
Accepted falsy values: `0`, `off`, `false`, `no` (case-insensitive). Any other value keeps SIMD enabled.
50
+
51
+
:::{note}
52
+
Pre-built binary wheels from PyPI have SIMD support baked in at wheel-build time. The `IPCTK_WITH_SIMD` variable only applies when building from source. To force a source build from PyPI, use:
0 commit comments