Compare commits

..

4 commits

Author SHA1 Message Date
Ilya Gradina
4bd59767a2 Merge branch 'master' into f25 2016-12-29 01:44:01 +03:00
Ilya Gradina
ee1a212caf add new sources 2016-12-06 00:30:29 +03:00
Ilya Gradina
ecaa48e5f4 ... 2016-12-06 00:29:27 +03:00
Jon Ciesla
e496f4350c Review not approved 2016-08-08 08:46:21 -05:00
4 changed files with 111 additions and 1 deletions

1
.gitignore vendored Normal file
View file

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

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

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

109
viennacl.spec Normal file
View file

@ -0,0 +1,109 @@
%ifnarch %{ix86} x86_64 %{arm}
%bcond_with tests
%else
%bcond_without tests
%endif
Name: viennacl
Version: 1.7.1
Release: 4%{?dist}
Summary: Linear algebra and solver library using CUDA, OpenCL, and OpenMP
License: MIT and ISC
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
Buildrequires: boost-devel
%if %{with tests}
BuildRequires: pocl
BuildRequires: clang
%endif
%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/Modules \
-DVIENNACL_WITH_OPENCL=ON \
-DVIENNACL_WITH_OPENMP=ON \
-DBUILD_TESTING=%{?with_tests:ON}%{!?with_tests:OFF}
%make_build
popd
%install
%make_install -C build
%if %{with tests}
%check
pushd build
# https://sourceforge.net/p/viennacl/mailman/message/35517365/
ctest -VV --output-on-failure -E "(bisect-opencl|sparse_prod-opencl)"
popd
%endif
%files devel
%doc README
%license LICENSE
%{_includedir}/%{name}/
%dir %{_datadir}/cmake
%dir %{_datadir}/cmake/Modules
%exclude %{_datadir}/cmake/Modules/FindOpenCL.cmake
%{_datadir}/cmake/Modules/ViennaCLConfig.cmake
%{_datadir}/cmake/Modules/ViennaCLConfigVersion.cmake
%files doc
%doc doc/html
%changelog
* Thu Dec 29 2016 Ilya Gradina <ilya.gradina@gmail.com> - 1.7.1-4
- exclude in cmake modules FindOpenCL
* Thu Dec 01 2016 Ilya Gradina <ilya.gradina@gmail.com> - 1.7.1-3
- trivial changes in spec file
* Wed Nov 30 2016 Ilya Gradina <ilya.gradina@gmail.com> - 1.7.1-2
- skipped two tests, status tests: https://sourceforge.net/p/viennacl/mailman/message/35517365/
* 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