From ae7bda12a0467e4ecd84ea9992b2e9e2972e894e Mon Sep 17 00:00:00 2001 From: Fabian Deutsch Date: Tue, 29 Apr 2014 15:53:52 +0200 Subject: [PATCH] Update to a fresh snapshot Signed-off-by: Fabian Deutsch --- .gitignore | 1 + libclc.spec | 18 ++++++++++++++---- sources | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 8fdf903..ac4d2c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /libclc-20130715gitce72a50.tar.xz /libclc-20140108gitc002f62.tar.xz +/libclc-20140429git4341094.tar.xz diff --git a/libclc.spec b/libclc.spec index a2b8630..a5f1a8d 100644 --- a/libclc.spec +++ b/libclc.spec @@ -1,8 +1,10 @@ -%define git 20140108gitc002f62 +%global commit 434109476bb009b3773e48465ce8bb32a3a3e69e +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global checkout 20140429git%{shortcommit} Name: libclc Version: 0.0.1 -Release: 2.%{git}%{?dist} +Release: 3.%{checkout}%{?dist} Summary: An open source implementation of the OpenCL 1.1 library requirements License: BSD @@ -10,7 +12,7 @@ URL: http://libclc.llvm.org/ # Created using: # $ export PKG=libclc-$(date +%Y%m%d)git$(git describe --always) # $ git archive --prefix $PKG/ --format tar HEAD | xz > $PKG.tar.xz -Source0: %{name}-%{git}.tar.xz +Source0: %{name}-%{checkout}.tar.xz # Only builds on x86 ExclusiveArch: %{ix86} x86_64 @@ -58,11 +60,15 @@ developing applications that use %{name}. %prep -%setup -q -n %{name}-%{git} +%setup -q -n %{name}-%{checkout} %build ./configure.py --prefix=%{_prefix} --libexecdir=%{_libexecdir} --pkgconfigdir=%{_libdir}/pkgconfig/ + +# fstack-protector-strin is currently not supported by clang++ +sed -i "s/fstack-protector-strong/fstack-protector/" Makefile + make %{?_smp_mflags} @@ -82,6 +88,10 @@ make %{?_smp_mflags} %changelog +* Tue Apr 29 2014 Fabian Deutsch - 0.0.1-2.20140429git4341094 +- Update to latest snapshot +- Support for AMD Kabini + * Mon Jan 13 2014 Fabian Deutsch - 0.0.1-2.20140108gitc002f62 - Move headers to main package, needed by clover at runtime diff --git a/sources b/sources index a64c5d3..ce390a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -56da6ceadcb6887e55eebc4ab56d1c65 libclc-20140108gitc002f62.tar.xz +d39b23f7e9880cb5a02973076a6897fa libclc-20140429git4341094.tar.xz