From 6c8a5cf52cb487b5022c622b3cdb0cd12c71b599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20=C3=9Acar?= Date: Tue, 15 Sep 2020 21:05:21 +0200 Subject: [PATCH] https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager --- pythran.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pythran.spec b/pythran.spec index 7721d59..29e2bb8 100644 --- a/pythran.spec +++ b/pythran.spec @@ -23,8 +23,8 @@ Patch1: %{url}/pull/1640.patch %global debug_package %{nil} BuildRequires: boost-devel +BuildRequires: flexiblas-devel BuildRequires: gcc-c++ -BuildRequires: openblas-devel BuildRequires: pandoc BuildRequires: python3-beniget BuildRequires: python3-devel @@ -47,8 +47,8 @@ BuildRequires: python3-wheel BuildRequires: xsimd-devel # This is a package that compiles code, it runtime requires devel packages +Requires: flexiblas-devel Requires: gcc-c++ -Requires: openblas-devel Requires: python3-devel Requires: boost-devel Requires: xsimd-devel @@ -79,10 +79,10 @@ no_boost=True no_xsimd=True EOF -# openblas should be faster and crunchier +# Both OpenBLAS and FlexiBLAS are registered as "openblas" in numpy sed -i 's|blas=blas|blas=openblas|' pythran/pythran-linux*.cfg -sed -i 's|libs=|libs=openblas|' pythran/pythran-linux*.cfg -sed -i 's|include_dirs=|include_dirs=/usr/include/openblas|' pythran/pythran-linux*.cfg +sed -i 's|libs=|libs=flexiblas|' pythran/pythran-linux*.cfg +sed -i 's|include_dirs=|include_dirs=/usr/include/flexiblas|' pythran/pythran-linux*.cfg # not yet available in Fedora sed -i '/guzzle_sphinx_theme/d' docs/conf.py @@ -121,6 +121,7 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib} - Update to 0.9.7 - Rebuilt for Python 3.9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild +- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager - Fixes: rhbz#1818006 - Fixes: rhbz#1787813