From 93b95212384ec3aa389769b7a022372e8c168692a3c69642e342f656119337d2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 15 Aug 2018 18:59:27 +0000 Subject: [PATCH] Accepting request 629437 from openSUSE:Factory:RISCV - Add option to build without openblas OBS-URL: https://build.opensuse.org/request/show/629437 OBS-URL: https://build.opensuse.org/package/show/science/linbox?expand=0&rev=8 --- linbox.changes | 5 +++++ linbox.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/linbox.changes b/linbox.changes index 6cffc13..90badfb 100644 --- a/linbox.changes +++ b/linbox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 15 13:47:53 UTC 2018 - schwab@suse.de + +- Add option to build without openblas + ------------------------------------------------------------------- Sat Jun 23 08:58:41 UTC 2018 - jengelh@inai.de diff --git a/linbox.spec b/linbox.spec index 685de26..bc5de92 100644 --- a/linbox.spec +++ b/linbox.spec @@ -16,6 +16,8 @@ # +%bcond_without openblas + Name: linbox %define lname liblinbox0 Version: 1.5.2 @@ -37,7 +39,12 @@ BuildRequires: libm4rie-devel BuildRequires: libtool BuildRequires: mpfr-devel BuildRequires: ntl-devel +%if %{with openblas} BuildRequires: openblas-devel +%else +BuildRequires: blas-devel +BuildRequires: cblas-devel +%endif BuildRequires: pkgconfig(fflas-ffpack) >= 2.3.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build