#19 Move device libraries into main package
Merged 3 years ago by tstellar. Opened 3 years ago by tstellar.
rpms/ tstellar/pocl device-lib-fix  into  master

file modified
+8 -2
@@ -4,7 +4,7 @@ 

  Name:           pocl

  %global ver 1.6

  Version:        %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(string.lower(ver))}

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Portable Computing Language - an OpenCL implementation

  # The whole code is under MIT

  # except include/utlist.h which is under BSD (and unbundled) and
@@ -113,14 +113,20 @@ 

  %{_sysconfdir}/OpenCL/vendors/%{name}.icd

  %{_libdir}/lib%{name}.so.%{sover}*

  %{_datadir}/%{name}/

+ %{_libdir}/%{name}/

+ %{_libdir}/%{name}/libpocl-devices-basic.so

+ %{_libdir}/%{name}/libpocl-devices-pthread.so

  

  %files devel

  %{_bindir}/poclcc

  %{_libdir}/lib%{name}.so

- %{_libdir}/%{name}/

+ %{_libdir}/%{name}/libllvmopencl.so

  %{_libdir}/pkgconfig/%{name}.pc

  

  %changelog

+ * Fri Jan 08 2021 Tom Stellard <tstellar@redhat.com> - 1.6-2

+ - Move device libraries into main pacakge

+ 

  * Fri Dec 18 2020 sguelton@redhat.com - 1.6-1

  - 1.6 release

  

These are loaded at run-time during device detection.

Also, enable gating tests for pocl.

This problem is blocking the clang upgrade, so I'm going to merge it now that the CI tests are passing.

Pull-Request has been merged by tstellar

3 years ago