Skip to content

Commit

Permalink
fix blas
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed Dec 21, 2023
1 parent 6161817 commit edbe1fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ repository = "https://github.com/jdtuck/fdasrsf_python"
documentation = "https://fdasrsf-python.readthedocs.io/en/latest/"

[build-system]
requires = ["setuptools>=46.0", "wheel", "cffi>=1.0.0", "Cython", "oldest-supported-numpy"] # PEP 518 - what is required to build
requires = ["setuptools>=46.0", "wheel", "cffi>=1.0.0", "Cython", "findblas", "oldest-supported-numpy"] # PEP 518 - what is required to build
build-backend = "setuptools.build_meta"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import platform
from distutils.core import setup
from distutils.core import Command
from findblas.distutils import build_ext_with_blas
from distutils.extension import Extension
from Cython.Distutils import build_ext
from Cython.Build import cythonize
Expand Down Expand Up @@ -110,7 +111,6 @@ def run(self):
sources=["src/crbfgs.pyx", "src/rbfgs.cpp"],
include_dirs=[numpy.get_include()],
language="c++",
libraries=['blas', 'lapack'],
extra_compile_args=["-std=c++11"],
),
Extension(
Expand All @@ -124,7 +124,7 @@ def run(self):


setup(
cmdclass={"build_ext": build_ext, "build_docs": build_docs},
cmdclass={"build_ext": build_ext_with_blas, "build_docs": build_docs},
ext_modules=extensions,
name="fdasrsf",
version="2.5.3",
Expand Down

0 comments on commit edbe1fd

Please sign in to comment.