Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:munix9:test
beignet
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package beignet
--- beignet.changes.orig +++ beignet.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Sun Apr 23 08:33:32 UTC 2023 - munix9@googlemail.com + +- update to version 1.3.2+git.20190801.419c041 + +------------------------------------------------------------------- Mon Apr 19 16:46:39 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de> - Fixed SPEC file: Replaced broken URLs with current upstream --- beignet.spec.orig +++ beignet.spec @@ -1,7 +1,7 @@ # # spec file for package beignet # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,19 +16,28 @@ # +%define gitc 419c041 + Name: beignet -Version: 1.3.2 +Version: 1.3.2+git.20190801.%{gitc} Release: 0 Summary: OpenCL implementation for Intel GPUs License: LGPL-2.1-or-later -Group: Development/Libraries/C and C++ URL: https://www.freedesktop.org/wiki/Software/Beignet/ -Source0: https://gitlab.freedesktop.org/beignet/beignet/-/archive/Release_v%{version}/%{name}-Release_v%{version}.tar.bz2 +# see https://aur.archlinux.org/packages/beignet +# git clone https://github.com/intel/beignet.git +# git checkout 419c041736c5d19cd9c9e7f90717792a01826638 +# git revert -n 9b7ca443cf7b 9cb7ff4c285d 1bd0d252d733 +Source0: %{name}-%{gitc}.tar.xz Source99: beignet-rpmlintrc -Patch0: beignet-llvm6.patch -Patch1: 0008-Add-preliminary-LLVM-7-support.patch -Patch2: beignet-disable-NegAddOptimization.patch -Patch3: 0004-Enable-Coffee-Lake-support.patch +Patch0: llvm8.patch +Patch1: llvm9.patch +Patch2: llvm10.patch +Patch3: cflags.patch +Patch4: cl_accelerator_intel.patch +Patch5: coffeelake-cometlake-amberlake.patch +Patch6: gbe_bin_generater.patch +Patch7: reduce-notfound-output.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ncurses-devel @@ -45,7 +54,8 @@ BuildRequires: pkgconfig(zlib) # exclusive to Intel GPU ExclusiveArch: %{ix86} x86_64 %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 -BuildRequires: clang7-devel +#!BuildIgnore: clang-tools +BuildRequires: clang10-devel %else BuildRequires: clang-devel >= 3.3 %endif @@ -59,7 +69,6 @@ the programs and run them on the GPU. %package devel Summary: Development files for Beignet, a OpenCL implementation for Intel GPUs -Group: Development/Libraries/C and C++ Requires: %{name} = %{version}-%{release} Requires: opencl-headers @@ -68,28 +77,39 @@ Devel package for Beignet, an implementa specification, a generic compute oriented API. %prep -%setup -q -n %{name}-Release_v%{version} -%autopatch -p1 +%autosetup -n %{name}-%{gitc} -p1 rm README.md cp docs/Beignet.mdwn README.md %build -%cmake \ - -DLLVM_INSTALL_DIR=%{_bindir}/ +export CXXFLAGS="%{optflags} -std=c++14" + +%cmake -DLLVM_INSTALL_DIR=%{_bindir} %cmake_build %install %cmake_install +%if 0%{?suse_version} > 1500 +mkdir -p %{buildroot}%{_datadir}/OpenCL/vendors +mv %{buildroot}%{_sysconfdir}/OpenCL/vendors/intel-beignet.icd %{buildroot}%{_datadir}/OpenCL/vendors/ +%endif find %{buildroot}%{_includedir}/CL/ -regextype posix-egrep -not -regex ".*(cl_intel.h)" -type f -delete rm %{buildroot}%{_libdir}/beignet/beignet*.pch %files %doc README.md %license COPYING -%{_libdir}/beignet/ -%{_sysconfdir}/OpenCL/vendors/intel-beignet.icd +%{_libdir}/beignet +%{_datadir}/metainfo/com.intel.beignet.metainfo.xml +%if 0%{?suse_version} > 1500 +%dir %{_datadir}/OpenCL +%dir %{_datadir}/OpenCL/vendors +%{_datadir}/OpenCL/vendors/intel-beignet.icd +%else %dir %{_sysconfdir}/OpenCL %dir %{_sysconfdir}/OpenCL/vendors +%{_sysconfdir}/OpenCL/vendors/intel-beignet.icd +%endif %files devel %doc docs/*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor