Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Ilya Gradina
7515773ff6 update to 1.7.1
- deleted example files
2016-03-13 14:52:42 +03:00
Ilya Gradina
558ffd54e6 initial 2016-03-13 14:43:43 +03:00
3 changed files with 92 additions and 0 deletions

1
.gitignore vendored
View file

@ -0,0 +1 @@
/ViennaCL-1.7.1.tar.gz

View file

@ -0,0 +1 @@
00939858309689d32247d6fe60383b88 ViennaCL-1.7.1.tar.gz

90
viennacl.spec Normal file
View file

@ -0,0 +1,90 @@
Name: viennacl
Version: 1.7.1
Release: 1%{?dist}
Summary: Linear algebra and solver library using CUDA, OpenCL, and OpenMP
License: MIT
URL: http://viennacl.sourceforge.net/
Source0: http://sourceforge.net/projects/%{name}/files/1.7.x/ViennaCL-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gcc-c++ cmake
BuildRequires: opencl-headers ocl-icd-devel pocl
BuildRequires: boost-devel
%description
ViennaCL provides high level C++ interfaces for linear algebra routines on CPUs
and GPUs using CUDA, OpenCL, and OpenMP. The focus is on generic implementations
of iterative solvers often used for large linear systems and simple integration
into existing projects.
%package devel
Summary: Linear algebra and solver library using CUDA, OpenCL, and OpenMP
%description devel
ViennaCL provides high level C++ interfaces for linear algebra routines on CPUs
and GPUs using CUDA, OpenCL, and OpenMP. The focus is on generic implementations
of iterative solvers often used for large linear systems and simple integration
into existing projects.
%package doc
Summary: Documentation for %{name}
%description doc
ViennaCL provides high level C++ interfaces for linear algebra routines on CPUs
and GPUs using CUDA, OpenCL, and OpenMP. The focus is on generic implementations
of iterative solvers often used for large linear systems and simple integration
into existing projects.
%prep
%autosetup -n ViennaCL-%{version}
rm -vrf CL
%build
pushd build
%cmake .. \
-DINSTALL_CMAKE_DIR:PATH=%{_datadir}/cmake \
-DENABLE_ASAN=ON \
-DVIENNACL_WITH_OPENCL=ON \
-DVIENNACL_WITH_OPENMP=ON \
-DBUILD_TESTING=ON
%make_build
popd
%install
pushd build
%make_install
popd
%check
pushd build
ctest -VV \
-I 1,59,1,61,62,63,64,65,66,67,68,69,70,71,72,73 \
-E bisect-opencl structured-matrices-opencl
popd
%files devel
%doc README
%license LICENSE
%{_includedir}/%{name}
%{_datadir}/cmake/*
%files doc
%doc doc/html
%changelog
* Thu Jan 21 2016 Ilya Gradina <ilya.gradina@gmail.com> - 1.7.1-1
- update to 1.7.1
- deleted example files
* Sat Dec 19 2015 Ilya Gradina <ilya.gradina@gmail.com> - 1.7.0-2
- add devel, doc and example files
- trivial fixes in spec
* Sun Dec 06 2015 Ilya Gradina <ilya.gradina@gmail.com> - 1.7.0-1
- Initial package