Skip to content

Commit f5ee2a0

Browse files
Transurgeonclaude
andcommitted
fix Linux BLAS include path for manylinux containers
Add /usr/include/openblas to include_dirs on Linux so cblas.h resolves in manylinux (CentOS-based) containers where openblas-devel installs headers to /usr/include/openblas/ instead of /usr/include/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fdfd21f commit f5ee2a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def finalize_options(self) -> None:
5252
blas_include_dirs = []
5353
elif system == "linux":
5454
blas_link_args = ["-lopenblas"]
55-
blas_include_dirs = []
55+
blas_include_dirs = ["/usr/include/openblas"]
5656
else:
5757
# Windows: OpenBLAS via vcpkg
5858
vcpkg_root = os.environ.get(

0 commit comments

Comments
 (0)