[beignet] 0.8 upstream release

Igor Gnatenko ignatenkobrain at fedoraproject.org
Thu Feb 13 04:02:01 UTC 2014


commit 471427a15836e08dd351f3c83cdb2521e531dbac
Author: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Date:   Wed Feb 12 21:54:48 2014 +0400

    0.8 upstream release
    
    Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>

 .gitignore                                      |    1 +
 0001-cmake-Fix-linking-with-LLVM-Terminfo.patch |   36 +++++++++++++++++++++++
 beignet.spec                                    |   20 ++++++-------
 sources                                         |    2 +-
 4 files changed, 47 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 263a085..610de10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /beignet-48f8e5b.tar.gz
+/Release_v0.8.tar.gz
diff --git a/0001-cmake-Fix-linking-with-LLVM-Terminfo.patch b/0001-cmake-Fix-linking-with-LLVM-Terminfo.patch
new file mode 100644
index 0000000..fbfdfd0
--- /dev/null
+++ b/0001-cmake-Fix-linking-with-LLVM-Terminfo.patch
@@ -0,0 +1,36 @@
+From 77c83bbf604b80e4be8f191677da056cd8fdcf7d Mon Sep 17 00:00:00 2001
+From: Igor Gnatenko <i.gnatenko.brain at gmail.com>
+Date: Thu, 13 Feb 2014 07:50:12 +0400
+Subject: [PATCH] cmake: Fix linking with LLVM/Terminfo
+
+DEBUG: [  9%] Building CXX object backend/src/CMakeFiles/gbe_bin_generater.dir/gbe_bin_generater.cpp.o
+DEBUG: Linking CXX executable gbe_bin_generater
+DEBUG: /usr/lib64/llvm/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
+DEBUG: (.text+0x717): undefined reference to `setupterm'
+DEBUG: /usr/lib64/llvm/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
+DEBUG: (.text+0x727): undefined reference to `tigetnum'
+DEBUG: /usr/lib64/llvm/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
+DEBUG: (.text+0x730): undefined reference to `set_curterm'
+DEBUG: /usr/lib64/llvm/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
+DEBUG: (.text+0x738): undefined reference to `del_curterm'
+
+Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
+---
+ backend/src/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/backend/src/CMakeLists.txt b/backend/src/CMakeLists.txt
+index 33494a0..86ab107 100644
+--- a/backend/src/CMakeLists.txt
++++ b/backend/src/CMakeLists.txt
+@@ -179,6 +179,7 @@ ll_add_library (${pcm_lib} pcm_sources)
+ ADD_DEPENDENCIES (gbe pch_object ${pcm_lib})
+ target_link_libraries(
+                       gbe
++                      tinfo
+                       ${DRM_INTEL_LIBRARY}
+                       ${DRM_LIBRARY}
+                       ${OPENGL_LIBRARIES}
+-- 
+1.8.5.3
+
diff --git a/beignet.spec b/beignet.spec
index cbe66da..9b172e8 100644
--- a/beignet.spec
+++ b/beignet.spec
@@ -1,17 +1,12 @@
-%global sha 48f8e5b
-
 Name:           beignet
-Version:        0.3
-Release:        9.%{sha}%{?dist}
+Version:        0.8
+Release:        1%{?dist}
 Summary:        Open source implementation of the OpenCL for Intel GPUs
 
 License:        LGPLv2+
 URL:            http://www.freedesktop.org/wiki/Software/Beignet/
-#Source0:        http://cgit.freedesktop.org/beignet/snapshot/Release_v%{version}.tar.gz
-# git clone git://anongit.freedesktop.org/beignet
-# cd beignet
-# git archive --format=tar.gz --prefix=beignet-`git rev-parse --short HEAD`/ HEAD -o ../beignet-`git rev-parse --short HEAD`.tar.gz
-Source0:        %{name}-%{sha}.tar.gz
+Source0:        http://cgit.freedesktop.org/beignet/snapshot/Release_v%{version}.tar.gz
+Patch0:         0001-cmake-Fix-linking-with-LLVM-Terminfo.patch
 
 BuildRequires:  cmake
 BuildRequires:  llvm-devel >= 3.3 clang-devel >= 3.3 llvm-static >= 3.3
@@ -40,8 +35,8 @@ Devel package for Beignet is an open source implementation of the OpenCL
 specification - a generic compute oriented API.
 
 %prep
-#%setup -q -n Release_v%{version}
-%setup -q -n %{name}-%{sha}
+%setup -q -n Release_v%{version}
+%patch0 -p1 -b .terminfo
 mkdir build
 
 %build
@@ -66,6 +61,9 @@ find %{buildroot}%{_includedir}/CL/ -regextype posix-egrep -not -regex ".*(cl_in
 %{_includedir}/CL/cl_intel.h
 
 %changelog
+* Wed Feb 12 2014 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 0.8-1
+- 0.8 upstream release
+
 * Mon Jan 20 2014 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 0.3-9.48f8e5b
 - We need opencl-filesystem as requires
 
diff --git a/sources b/sources
index 0c87e36..4a86f08 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b1d8b3ec8c3f47d0ae19f6c6331cee82  beignet-48f8e5b.tar.gz
+5c885506502b58f1422aaea0e569ca74  Release_v0.8.tar.gz


More information about the scm-commits mailing list