SHA256
1
0
forked from pool/fflas-ffpack

Accepting request 522839 from science

- For the BLAS implementation, switch from cblas to openblas.

OBS-URL: https://build.opensuse.org/request/show/522839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fflas-ffpack?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2017-09-11 14:22:41 +00:00 committed by Git OBS Bridge
commit f7d899173f
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 9 21:42:47 UTC 2017 - jengelh@inai.de
- For the BLAS implementation, switch from cblas to openblas.
-------------------------------------------------------------------
Tue Nov 29 10:46:23 UTC 2016 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package fflas-ffpack
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,13 +33,12 @@ Url: https://linbox-team.github.io/fflas-ffpack/
#Git-Clone: https://github.com/linbox-team/fflas-ffpack
Source: https://github.com/linbox-team/%name/archive/v%version.tar.gz
BuildRequires: blas-devel
BuildRequires: cblas-devel
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gmp-devel >= 3.1.1
BuildRequires: libtool >= 2.2
BuildRequires: openblas-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig(givaro)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -83,8 +82,7 @@ if [ ! -e configure ]; then
fi
trap "cat config.log; exit 1" ERR
%configure \
--with-blas-cflags=" " \
--with-blas-libs="-lcblas -lblas" \
--with-blas-cflags=" " --with-blas-libs="-lopenblas" \
--enable-doc --with-docdir="%_docdir/%name" --disable-simd
trap "" ERR
make %{?_smp_mflags}