Skip to content

Commit

Permalink
Merge pull request #132 from mattip/pkgconfig-lib
Browse files Browse the repository at this point in the history
Pkgconfig lib
  • Loading branch information
mattip authored Jan 31, 2024
2 parents 7bc05d1 + 193432f commit 6cb3501
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [ ] I updated the version in pyproject.toml and made sure it matches `git describe --tags --abbrev=8` in OpenBLAS at the `OPENBLAS_COMMIT`
3 changes: 1 addition & 2 deletions local/scipy_openblas64/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ def get_pkg_config():
"""
if sys.platform == "win32":
extralib = "-defaultlib:advapi32 -lgfortran -lquadmath"
libs_flags = f"-L${{libdir}} -l{get_library()}"
else:
extralib = f"-lm -lpthread -lgfortran -lquadmath -L${{libdir}} -l{get_library()}"
libs_flags = "-L${{libdir}} -l{get_library()}"
libs_flags = f"-L${{libdir}} -l{get_library()}"
cflags = "-DBLAS_SYMBOL_PREFIX=scipy_ -DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64 -DOPENBLAS_ILP64_NAMING_SCHEME"
return dedent(f"""\
libdir={get_lib_dir()}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "scipy_openblas64"
version = "0.3.26.0"
version = "0.3.26.0.1"
requires-python = ">=3.7"
description = "Provides OpenBLAS for python packaging"
readme = "README.md"
Expand Down

0 comments on commit 6cb3501

Please sign in to comment.