Blob Blame History Raw
#Blaze is a header only library
%global debug_package %{nil}
Name:           blaze
Version:        3.4
Release:        1%{?dist}
Summary:        An high-performance C++ math library for dense and sparse arithmetic
License:        BSD

BuildRequires: gcc-c++ >= 4.9
BuildRequires: cmake
BuildRequires: openblas-devel
BuildRequires: lapack
BuildRequires: boost-devel

%global blaze_desc \
Blaze is an open-source, high-performance C++ math library for dense and \
sparse arithmetic. With its state-of-the-art Smart Expression Template \
implementation Blaze combines the elegance and ease of use of a \
domain-specific language with HPC-grade performance, making it one of \
the most intuitive and fastest C++ math libraries available. \


%package devel
Summary:    Development headers for BLAZE
Provides:   blaze-static = %{version}-%{release}

Requires: lapack
Requires: openblas-devel
Requires: boost

%description devel

%setup -n %{name}-%{version} -q

pushd blaze
%{cmake} -DLIB=%{_lib} %{?cmake_opts:%{cmake_opts}} ..

pushd blaze
rm -rf %{_includedir}/%{name}/CMakeFiles/3.12.2
rm -rf %{_includedir}/%{name}/CMakeFiles/FindOpenMP

%files devel
%license LICENSE
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/cmake

* Thu Nov 22 2018 Patrick Diehl <> - 3.4-1
- Initial Release of blaze 3.4