From 0bea914325e175456292cf41888c2a3368b773b6 Mon Sep 17 00:00:00 2001 From: Ilya Gradina Date: Sun, 13 Mar 2016 14:35:52 +0300 Subject: [PATCH 1/4] initial --- viennacl.spec | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 viennacl.spec diff --git a/viennacl.spec b/viennacl.spec new file mode 100644 index 0000000..d2e6c9c --- /dev/null +++ b/viennacl.spec @@ -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 - 1.7.1-1 +- update to 1.7.1 +- deleted example files + +* Sat Dec 19 2015 Ilya Gradina - 1.7.0-2 +- add devel, doc and example files +- trivial fixes in spec + +* Sun Dec 06 2015 Ilya Gradina - 1.7.0-1 +- Initial package From ccbe35a43b259d96f4a1be34dcd4a918383c2ad6 Mon Sep 17 00:00:00 2001 From: Ilya Gradina Date: Sun, 13 Mar 2016 15:45:53 +0300 Subject: [PATCH 2/4] update to 1.7.1 - deleted example files --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index e69de29..ad7cfe6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ViennaCL-1.7.1.tar.gz diff --git a/sources b/sources index e69de29..a78508d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +00939858309689d32247d6fe60383b88 ViennaCL-1.7.1.tar.gz From ece083f32c915c073dfd7551e8fe6fd906f2726e Mon Sep 17 00:00:00 2001 From: Ilya Gradina Date: Tue, 6 Dec 2016 01:24:30 +0300 Subject: [PATCH 3/4] rm old spec --- viennacl.spec | 151 -------------------------------------------------- 1 file changed, 151 deletions(-) delete mode 100644 viennacl.spec diff --git a/viennacl.spec b/viennacl.spec deleted file mode 100644 index 41de6e1..0000000 --- a/viennacl.spec +++ /dev/null @@ -1,151 +0,0 @@ -<<<<<<< HEAD -Name: viennacl -Version: 1.7.1 -Release: 1%{?dist} -Summary: Linear algebra and solver library using CUDA, OpenCL, and OpenMP -License: MIT -======= -%ifnarch %{ix86} x86_64 %{arm} -%bcond_with tests -%else -%bcond_without tests -%endif - -Name: viennacl -Version: 1.7.1 -Release: 3%{?dist} -Summary: Linear algebra and solver library using CUDA, OpenCL, and OpenMP -License: MIT and ISC ->>>>>>> master -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 -<<<<<<< HEAD -BuildRequires: opencl-headers ocl-icd-devel pocl -BuildRequires: boost-devel -======= -BuildRequires: opencl-headers ocl-icd-devel -Buildrequires: boost-devel -%if %{with tests} -BuildRequires: pocl -BuildRequires: clang -%endif ->>>>>>> master - - -%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 .. \ -<<<<<<< HEAD - -DINSTALL_CMAKE_DIR:PATH=%{_datadir}/cmake \ - -DENABLE_ASAN=ON \ - -DVIENNACL_WITH_OPENCL=ON \ - -DVIENNACL_WITH_OPENMP=ON \ - -DBUILD_TESTING=ON -======= - -DINSTALL_CMAKE_DIR:PATH=%{_datadir}/cmake/Modules \ - -DVIENNACL_WITH_OPENCL=ON \ - -DVIENNACL_WITH_OPENMP=ON \ - -DBUILD_TESTING=%{?with_tests:ON}%{!?with_tests:OFF} ->>>>>>> master - %make_build -popd - - -%install -<<<<<<< HEAD -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 - -======= -%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 ->>>>>>> master - -%files devel -%doc README -%license LICENSE -<<<<<<< HEAD -%{_includedir}/%{name} -%{_datadir}/cmake/* -======= -%{_includedir}/%{name}/ -%dir %{_datadir}/cmake -%dir %{_datadir}/cmake/Modules -%{_datadir}/cmake/Modules/FindOpenCL.cmake -%{_datadir}/cmake/Modules/ViennaCLConfig.cmake -%{_datadir}/cmake/Modules/ViennaCLConfigVersion.cmake ->>>>>>> master - -%files doc -%doc doc/html - - -<<<<<<< HEAD - -%changelog -======= -%changelog -* Thu Dec 01 2016 Ilya Gradina - 1.7.1-3 -- trivial changes in spec file - -* Wed Nov 30 2016 Ilya Gradina - 1.7.1-2 -- skipped two tests, status tests: https://sourceforge.net/p/viennacl/mailman/message/35517365/ - ->>>>>>> master -* Thu Jan 21 2016 Ilya Gradina - 1.7.1-1 -- update to 1.7.1 -- deleted example files - -* Sat Dec 19 2015 Ilya Gradina - 1.7.0-2 -- add devel, doc and example files -- trivial fixes in spec - -* Sun Dec 06 2015 Ilya Gradina - 1.7.0-1 -- Initial package From 3a49c5160a73af2b7ccff00d234b5a01a0edaa55 Mon Sep 17 00:00:00 2001 From: Ilya Gradina Date: Tue, 6 Dec 2016 01:25:01 +0300 Subject: [PATCH 4/4] add new spec --- viennacl.spec | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 viennacl.spec diff --git a/viennacl.spec b/viennacl.spec new file mode 100644 index 0000000..d1b6a99 --- /dev/null +++ b/viennacl.spec @@ -0,0 +1,106 @@ +%ifnarch %{ix86} x86_64 %{arm} +%bcond_with tests +%else +%bcond_without tests +%endif + +Name: viennacl +Version: 1.7.1 +Release: 3%{?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 +%{_datadir}/cmake/Modules/FindOpenCL.cmake +%{_datadir}/cmake/Modules/ViennaCLConfig.cmake +%{_datadir}/cmake/Modules/ViennaCLConfigVersion.cmake + +%files doc +%doc doc/html + + +%changelog +* Thu Dec 01 2016 Ilya Gradina - 1.7.1-3 +- trivial changes in spec file + +* Wed Nov 30 2016 Ilya Gradina - 1.7.1-2 +- skipped two tests, status tests: https://sourceforge.net/p/viennacl/mailman/message/35517365/ + +* Thu Jan 21 2016 Ilya Gradina - 1.7.1-1 +- update to 1.7.1 +- deleted example files + +* Sat Dec 19 2015 Ilya Gradina - 1.7.0-2 +- add devel, doc and example files +- trivial fixes in spec + +* Sun Dec 06 2015 Ilya Gradina - 1.7.0-1 +- Initial package