Mageia Bugzilla – Attachment 13117 Details for
Bug 30010
OpenCL-Headers update request
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
spec file
opencl-headers.spec (text/plain), 1.79 KB, created by
Aurelian R
on 2022-02-07 19:41:46 CET
(
hide
)
Description:
spec file
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2022-02-07 19:41:46 CET
Size:
1.79 KB
patch
obsolete
> >%define snap 20220119 >%define rel 1 > >%bcond_without check_tests > >Name: opencl-headers >Version: 3.0 >Release: 0.%snap.%rel%{dist}X >Summary: OpenCL (Open Computing Language) headers >License: MIT >Group: Development/C >URL: https://www.khronos.org/registry/cl/ ># Generated by get-tarball.sh (khronos provides header ># files only) - snapshot date comes from last-modified. ># https://github.com/KhronosGroup/OpenCL-Headers >Source: %name-%version-%snap.tar.xz ># See $API and $HEADERS variables inside get-tarball.sh when updating: >Source1: get-tarball.sh >Patch0: 001-Add_pkgconfig_support.patch >Patch1: 002-Add_CMake_config_for_OCLHeadersCpp.patch > >BuildRequires: cmake > ># Fix typo causing compiler error >BuildArch: noarch ># Usually we want libOpenCL.so as well, so recommend it: >Recommends: opencl-devel > >%description >OpenCL is a royalty-free standard for cross-platform, parallel programming >of modern processors found in personal computers, servers and >handheld/embedded devices. > >This package provides the official Khronos Group OpenCL headers needed to >compile programs that use OpenCL. > >%prep >%autosetup -p1 -n %name-%version-%snap > >%build >%cmake %{?with_check_tests:-DBUILD_TESTING:BOOL=TRUE} >%cmake_build > >%install >%cmake_install > >%check >%{?with_check_tests:%ctest} > >%files >%doc *.md >%license LICENSE >%{_includedir}/CL/* >%{_datadir}/cmake/OpenCLHeaders/ >%{_datadir}/cmake/OpenCLHeadersCpp/ >%{_datadir}/pkgconfig/*.pc > > >%changelog >* Wed Feb 02 2022 aurelianr <> 3.0-0.20220119.1.mga9X >- update to latest 3.0 api OpenCL-Headers(Cpp) > (snapshot from 20220119(Cpp: 20220201) >- Update script to use OpenCL-Headers git source. >- Use CMake OpenCL::Headers configuration files. >- Add patch to support CMake OpenCL::HeadersCpp configuration. >- Include option for ctest check(OpenCL-Headers only) at build time. >- Add pkg-config support.
%define snap 20220119 %define rel 1 %bcond_without check_tests Name: opencl-headers Version: 3.0 Release: 0.%snap.%rel%{dist}X Summary: OpenCL (Open Computing Language) headers License: MIT Group: Development/C URL: https://www.khronos.org/registry/cl/ # Generated by get-tarball.sh (khronos provides header # files only) - snapshot date comes from last-modified. # https://github.com/KhronosGroup/OpenCL-Headers Source: %name-%version-%snap.tar.xz # See $API and $HEADERS variables inside get-tarball.sh when updating: Source1: get-tarball.sh Patch0: 001-Add_pkgconfig_support.patch Patch1: 002-Add_CMake_config_for_OCLHeadersCpp.patch BuildRequires: cmake # Fix typo causing compiler error BuildArch: noarch # Usually we want libOpenCL.so as well, so recommend it: Recommends: opencl-devel %description OpenCL is a royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. This package provides the official Khronos Group OpenCL headers needed to compile programs that use OpenCL. %prep %autosetup -p1 -n %name-%version-%snap %build %cmake %{?with_check_tests:-DBUILD_TESTING:BOOL=TRUE} %cmake_build %install %cmake_install %check %{?with_check_tests:%ctest} %files %doc *.md %license LICENSE %{_includedir}/CL/* %{_datadir}/cmake/OpenCLHeaders/ %{_datadir}/cmake/OpenCLHeadersCpp/ %{_datadir}/pkgconfig/*.pc %changelog * Wed Feb 02 2022 aurelianr <> 3.0-0.20220119.1.mga9X - update to latest 3.0 api OpenCL-Headers(Cpp) (snapshot from 20220119(Cpp: 20220201) - Update script to use OpenCL-Headers git source. - Use CMake OpenCL::Headers configuration files. - Add patch to support CMake OpenCL::HeadersCpp configuration. - Include option for ctest check(OpenCL-Headers only) at build time. - Add pkg-config support.
View Attachment As Raw
Actions:
View
Attachments on
bug 30010
:
13117
|
13118
|
13119
|
13120
|
13121
|
13122
|
13123
|
13124