Compare commits

...

2 Commits
rawhide ... f30

Author SHA1 Message Date
Kalev Lember 1bb955a9a9 Fix the upgrade path
Bump release to 4 so that it's higher than in the previous build, and
match the latest changelog entry.
2019-02-27 21:15:38 +01:00
serge-sans-paille 68a5d8853b Rebuild for llvm-8.0.0rc2 2019-02-25 09:42:20 +00:00
3 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.rpm
*.tar*
results_*/
/pocl-a0b083a1b47a7389f896036087b4e712b4b14193.xz

View File

@ -1,18 +1,20 @@
%global sover 2
%global with_tests 1
%global gitrev a0b083a1b47a7389f896036087b4e712b4b14193
Summary: Portable Computing Language - an OpenCL implementation
Name: pocl
%global ver 1.2
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(string.lower(ver))}
Release: 3%{?dist}
Release: 4.20190221gita0b083a1b47a738%{?dist}
# The whole code is under MIT
# except include/utlist.h which is under BSD (and unbundled) and
# except lib/kernel/vecmath which is under GPLv3+ or LGPLv3+ (and unbundled in future)
License: MIT and BSD and (GPLv3+ or LGPLv3+)
URL: http://pocl.sourceforge.net
Source0: https://github.com/pocl/pocl/archive/v%{ver}/%{name}-%{version}.tar.gz
Source0: pocl-a0b083a1b47a7389f896036087b4e712b4b14193.xz
# FIXME: link
Patch1001: 0001-wrap-more-stuff-for-64-bit-atomics.patch
@ -69,7 +71,7 @@ Requires: uthash-devel
Portable Computing Language development files.
%prep
%autosetup -p1 -n %{name}-%{ver}
%autosetup -p1 -n %{name}-%{gitrev}
# Unbundle uthash
find . -depth -name utlist* -print -delete
@ -79,7 +81,7 @@ find . -depth -name utlist* -print -delete
mkdir %{_target_platform}
pushd %{_target_platform}
# CPU detection fails on ARM, so we need to manually specify the CPU as generic.
%cmake ../ \
%cmake .. \
-DENABLE_ICD=1 \
-DPOCL_INSTALL_ICD_VENDORDIR=%{_sysconfdir}/OpenCL/vendors \
-DEXTRA_KERNEL_CXX_FLAGS="%{optflags} -std=c++11" \
@ -132,6 +134,9 @@ popd
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Tue Feb 19 2019 sguelton@redhat.com - 1.2-4
- Rebuild for llvm 8.0.0rc2, moving to top-of-tree version
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pocl-1.2.tar.gz) = c765fe02f220f707d2e46edfb2782195dc987bd984aeb7f3d14dd767cd96944ffba85c7276415f7b4471de5d1a9c9a0d3ed4285c1c3955ef581aa935a5a0eaa0
SHA512 (pocl-a0b083a1b47a7389f896036087b4e712b4b14193.xz) = 74d42aadbda8a0d91ba75e70fde637d236a7f901f178ba64fa7c8ebde6c38a8b7b29ce9282f6aeb13a0e34bf582262b5672a70ca9bb87a1aee436a52ee4639a7