Bug 30010 - OpenCL-Headers update request
Summary: OpenCL-Headers update request
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-07 19:41 CET by Aurelian R
Modified: 2023-01-31 19:30 CET (History)
0 users

See Also:
Source RPM: opencl-headers-2.2-0.20200218.1.mga8
CVE:
Status comment:


Attachments
spec file (1.79 KB, text/plain)
2022-02-07 19:41 CET, Aurelian R
Details
script to get source files (1.27 KB, application/x-shellscript)
2022-02-07 19:42 CET, Aurelian R
Details
patch for pkgconfig (1.55 KB, patch)
2022-02-07 19:43 CET, Aurelian R
Details | Diff
patch for HeadersCpp (2.61 KB, patch)
2022-02-07 19:44 CET, Aurelian R
Details | Diff
spec file (2.61 KB, text/x-rpm-spec)
2022-02-07 19:44 CET, Aurelian R
Details
spec updated as of date 2022/02/08 (1.86 KB, text/plain)
2022-02-08 22:59 CET, Aurelian R
Details
2022/02/08-pkgconfig patch (1.59 KB, patch)
2022-02-08 23:00 CET, Aurelian R
Details | Diff
2022/02/08- patch for HeadersCpp (2.65 KB, patch)
2022-02-08 23:01 CET, Aurelian R
Details | Diff

Description Aurelian R 2022-02-07 19:41:46 CET
Created attachment 13117 [details]
spec file

Update request for OpenCL-Headers stack to API 3.0.
The reason is that the present package in Couldron is still API 2.2 while Khronos OpenCL API 3.0 standard has been around for almost 2 years. While Mageia's packages are still fine, it will be good to have this updated in Cauldron as future proof. Khronos plans a full OpenCL-SDK support but it is not ready yet, until then, Mageia's opencl stack still has to be mangled together.

To kick start it, I will attach spec/patches/script files that have been tested only on a x86_64 system in 32/64bit modes.
These changes are:
- update script to use OpenCL-Headers git source which enables
  CMake OpenCL::Headers configuration files.
- add support for CMake OpenCL::HeadersCpp configuration.
- include option for ctest check( for OpenCL::Headers only) at build time.
  Note: building tests for OpenCL::HeadersCpp needs Khronos OpenCL-SDK...
- add pkg-config support.
Additionally, will attach also a spec file for ocl-icd package modified to use the pkg-config of opencl-headers package and run additional tests for OpenCL::Headers stack at build time.
Hope it will help someone,
Regards.
Comment 1 Aurelian R 2022-02-07 19:42:53 CET
Created attachment 13118 [details]
script to get source files
Comment 2 Aurelian R 2022-02-07 19:43:38 CET
Created attachment 13119 [details]
patch for pkgconfig
Comment 3 Aurelian R 2022-02-07 19:44:14 CET
Created attachment 13120 [details]
patch for HeadersCpp
Comment 4 Aurelian R 2022-02-07 19:44:55 CET
Created attachment 13121 [details]
spec file
Comment 5 Lewis Smith 2022-02-07 20:22:05 CET
Thank you for the suggestion, and your prepratory work.

This package has no registered maintainer, but DavidG did the update to 2.2 API, so please excuse me for assigning this to you!

Assignee: bugsquad => geiger.david68210

Comment 6 Aurelian R 2022-02-08 22:59:04 CET
Created attachment 13122 [details]
spec updated as of date 2022/02/08

Attachment 13117 is obsolete: 0 => 1

Comment 7 Aurelian R 2022-02-08 23:00:30 CET
Created attachment 13123 [details]
2022/02/08-pkgconfig patch

Attachment 13119 is obsolete: 0 => 1

Comment 8 Aurelian R 2022-02-08 23:01:30 CET
Created attachment 13124 [details]
2022/02/08- patch for HeadersCpp

Attachment 13120 is obsolete: 0 => 1

Comment 9 David GEIGER 2023-01-31 19:14:54 CET
opencl-headers now updated to latest upstream 3.0-2022.09.30 release!
Comment 10 David GEIGER 2023-01-31 19:30:56 CET
Closing as fixed!

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.