#15 1.5 Release
Closed 3 years ago by tstellar. Opened 3 years ago by tstellar.
rpms/ tstellar/pocl 1.5  into  master

file modified
+14 -10
@@ -4,9 +4,9 @@ 

  

  Summary:        Portable Computing Language - an OpenCL implementation

  Name:           pocl

- %global ver 1.4

+ %global ver 1.5

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

- Release:        0.3.rc2%{?dist}

+ Release:        1%{?dist}

  

  # The whole code is under MIT

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

  License:        MIT and BSD and (GPLv3+ or LGPLv3+)

  URL:            http://pocl.sourceforge.net

  

- Source0:        https://github.com/pocl/pocl/archive/v1.4-RC2.tar.gz

+ Source0:        https://github.com/pocl/pocl/archive/v1.5.tar.gz

  

  Patch0:		0001-Fix-build-failure.patch

  # https://fedoraproject.org/wiki/Changes/Stop-Shipping-Individual-Component-Libraries-In-clang-lib-Package

- Patch1:		0001-Link-against-libclang-cpp.so.patch

+ #Patch1:		0001-Link-against-libclang-cpp.so.patch

  

  # ppc64le builds fine, but: 97% tests passed, 4 tests failed out of 120

  # ppc64 builds fine, but: 87% tests passed, 16 tests failed out of 120
@@ -72,15 +72,16 @@ 

  Portable Computing Language development files.

  

  %prep

- %autosetup -p1 -n pocl-%{ver}-RC2

+ %autosetup -p1 -n pocl-%{ver}

  

  # Unbundle uthash

  find . -depth -name utlist* -print -delete

  

  

  %build

- mkdir %{_target_platform}

- pushd %{_target_platform}

+ # Some of the regression tests fail with LTO enabled.

+ %global _lto_cflags %{nil}

+ 

  # CPU detection fails on ARM, so we need to manually specify the CPU as generic.

  %cmake .. \

      -DENABLE_ICD=1 \
@@ -95,11 +96,11 @@ 

      -DPOCL_ICD_ABSOLUTE_PATH=OFF \

      %{nil}

      # -DENABLE_TESTSUITES=all Requires clBLAS

- popd

- %make_build -C %{_target_platform}

+ 

+ %cmake_build

  

  %install

- %make_install -C %{_target_platform}

+ %cmake_install

  

  # Unbundle vecmath

  #rm -vf %%{buildroot}/%%{_libdir}/pocl/vecmath/
@@ -135,6 +136,9 @@ 

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

  

  %changelog

+ * Mon Aug 10 2020 Tom Stellard <tstellar@redhat.com> - 1.5

+ - 1.5 Release

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-0.3.rc2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

no initial comment

Pull-Request has been closed by tstellar

3 years ago