|
20 | 20 |
|
21 | 21 | # OpenBLAS library build process |
22 | 22 |
|
23 | | -First, tarballs are built using `build_lib` in `tools/build_steps.sh` (on |
| 23 | +First, OpenBLAS is built using `build_lib` in `tools/build_steps.sh` (on |
24 | 24 | posix in a docker and drectly on macos) or `tools/build_steps_windows.sh` on windows. |
25 | 25 |
|
26 | | -Then the shared object and header files from the tarball are used to build the |
27 | | -wheel via `tools/build_prepare_wheel.sh` and `pip build wheel`, and the wheels uploaded to |
| 26 | +Then the shared object and header files are used to build the |
| 27 | +wheel via `tools/build_prepare_wheel.sh` and `pip build wheel`. |
| 28 | + |
| 29 | +If the build is on the `main` branch, the wheels are uploaded to |
28 | 30 | https://anaconda.org/scientific=python-nightly-wheels/scipy_openblas32 and |
29 | 31 | https://anaconda.org/scientific=python-nightly-wheels/scipy_openblas64 via |
30 | | -`tools/upload_to_anaconda_staging.sh`. For a release, the wheels are uploaded |
31 | | -to PyPI by downloading them via tools/dowlnload-wheels.py and uploading via |
32 | | -[twine](https://twine.readthedocs.io/en/stable/). |
33 | | - |
| 32 | +`tools/upload_to_anaconda_staging.sh`. |
| 33 | + |
| 34 | +There are workflow triggers for repo admins. They can trigger a testpypi build |
| 35 | +or a pypi build with the publish workflow, which will upload the wheels using |
| 36 | +trusted publishing. In order to publish to PyPI, there must be a tag at the HEAD |
| 37 | +of the branch used to publish. Use annotated tags: |
| 38 | +``` |
| 39 | +git tag -a v0.3.31.126.4 -m"fixed something" |
| 40 | +``` |
34 | 41 | The wheel is self-contained, it includes all needed gfortran support libraries. |
35 | 42 | On windows, this is a single DLL. |
36 | 43 |
|
37 | | -The wheel supplies interfaces for building and using OpenBLAS in a python |
38 | | -project like SciPy or NumPy: |
39 | | - |
40 | 44 | ## Buildtime |
41 | 45 |
|
42 | 46 | - `get_include_dir()`, `get_lib_dir()` and `get_library()` for use in compiler |
|
0 commit comments