Skip to content

Commit a2b69f8

Browse files
committed
fix camke and README
1 parent 82e3f04 commit a2b69f8

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

.github/workflows/windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ jobs:
112112
else
113113
rm -rf local/scipy_openblas64/32
114114
fi
115+
sed -e "s/bin/lib/" -i local/scipy_openblas64/lib/cmake/openblas/OpenBLASConfig.cmake
116+
sed -e "s/dll/lib/" -i local/scipy_openblas64/lib/cmake/openblas/OpenBLASConfig.cmake
115117
if [[ "${INTERFACE64}" != "1" ]]; then
116118
mv local/scipy_openblas64 local/scipy_openblas32
117119
# rewrite the name of the project to scipy-openblas32

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
1-
# OpenBLAS
2-
3-
We build OpenBLAS on Travis-CI (for linux aarch64, ppc64, s390x) and github actions
4-
for linux, windows, macOS x86_64 and macOS arm64.
1+
# Wheels containing OpenBLAS
2+
3+
1. The primary purposes of the scipy-openblas32 and scipy-openblas64 wheels are:
4+
- (a) to use them as build and runtime dependencies in CI and local development for NumPy and SciPy
5+
- (b) to be vendored into NumPy and SciPy wheels
6+
- (c) possibly, in the future, being used as runtime dependencies for NumPy
7+
and/or SciPy.
8+
2. Other Python projects are also welcome to use these wheels for 1(a) and 1(b).
9+
- Please note that there is no strong guarantee of backwards compatibility
10+
for the symbol names nor the small Python API shipped in the wheels to
11+
enable linking against the shared library. If you want to use them, you
12+
should probably use `==` pins in the relevant CI/lock files, like NumPy
13+
and SciPy also do.
14+
15+
[!WARNING] Please do not add a runtime dependency on these wheels if you're not
16+
NumPy or SciPy. This is not supported and likely to lead to breakage or symbol
17+
conflicts due to either changes in this repository or due to NumPy or SciPy
18+
starting to depend on a particular version of this package.
19+
20+
# OpenBLAS library build process
521

622
First, tarballs are built using `do_build_lib` in `tools/build_steps.sh` (on
723
posix in a docker and drectly on macos) or `build_openblas.sh` on windows.
@@ -34,4 +50,4 @@ project like SciPy or NumPy:
3450
## Runtime
3551

3652
- importing will load openblas into the executable and provide the openblas
37-
symbols.
53+
symbols to the exectuable.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
99
[project]
1010
name = "scipy-openblas64"
1111
# v0.3.29
12-
version = "0.3.29.265.1"
12+
version = "0.3.29.265.2"
1313
requires-python = ">=3.7"
1414
description = "Provides OpenBLAS for python packaging"
1515
readme = "README.md"

0 commit comments

Comments
 (0)