|
|
4c80fc |
Name: beignet
|
|
|
4c80fc |
Version: 1.3.2
|
|
|
4c80fc |
Release: 4%{?dist}
|
|
|
4c80fc |
Summary: Open source implementation of the OpenCL for Intel GPUs
|
|
|
4c80fc |
|
|
|
4c80fc |
License: LGPLv2+
|
|
|
4c80fc |
URL: https://01.org/beignet/
|
|
|
4c80fc |
Source0: https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
|
|
|
4c80fc |
# https://cgit.freedesktop.org/beignet/commit/?id=033464f4b8045a49dbcc1a84cde5c05986ca11c2
|
|
|
4c80fc |
Patch1: 0001-Add-AppStream-metadata.patch
|
|
|
4c80fc |
Patch2: beignet-llvm6.patch
|
|
|
4c80fc |
Patch3: beignet-llvm7.patch
|
|
|
4c80fc |
|
|
|
4c80fc |
BuildRequires: cmake
|
|
|
4c80fc |
BuildRequires: gcc
|
|
|
4c80fc |
BuildRequires: gcc-c++
|
|
|
4c80fc |
BuildRequires: llvm-devel
|
|
|
4c80fc |
BuildRequires: clang-devel
|
|
|
4c80fc |
BuildRequires: ncurses-devel
|
|
|
4c80fc |
BuildRequires: zlib-devel
|
|
|
4c80fc |
BuildRequires: pkgconfig(x11)
|
|
|
4c80fc |
BuildRequires: pkgconfig(libdrm)
|
|
|
4c80fc |
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.52
|
|
|
4c80fc |
BuildRequires: pkgconfig(xext)
|
|
|
4c80fc |
BuildRequires: pkgconfig(xfixes)
|
|
|
4c80fc |
BuildRequires: pkgconfig(gl)
|
|
|
4c80fc |
BuildRequires: pkgconfig(egl) >= 11.0.0
|
|
|
4c80fc |
BuildRequires: ocl-icd-devel
|
|
|
4c80fc |
BuildRequires: pkgconfig(libva)
|
|
|
4c80fc |
BuildRequires: pkgconfig(libva-x11)
|
|
|
4c80fc |
BuildRequires: %{_bindir}/appstream-util
|
|
|
4c80fc |
|
|
|
4c80fc |
BuildRequires: python3-devel
|
|
|
4c80fc |
|
|
|
4c80fc |
Requires: opencl-filesystem
|
|
|
4c80fc |
|
|
|
4c80fc |
ExclusiveArch: x86_64 %{ix86}
|
|
|
4c80fc |
|
|
|
4c80fc |
%description
|
|
|
4c80fc |
Beignet is an open source implementation of the OpenCL specification - a generic
|
|
|
4c80fc |
compute oriented API. This code base contains the code to run OpenCL programs
|
|
|
4c80fc |
on Intel GPUs which basically defines and implements the OpenCL host functions
|
|
|
4c80fc |
required to initialize the device, create the command queues, the kernels and
|
|
|
4c80fc |
the programs and run them on the GPU.
|
|
|
4c80fc |
|
|
|
4c80fc |
%package devel
|
|
|
4c80fc |
Summary: Development files for %{name}
|
|
|
4c80fc |
Requires: opencl-headers
|
|
|
4c80fc |
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
4c80fc |
|
|
|
4c80fc |
%description devel
|
|
|
4c80fc |
%{summary}.
|
|
|
4c80fc |
|
|
|
4c80fc |
%prep
|
|
|
4c80fc |
%autosetup -p1 -n Beignet-%{version}-Source
|
|
|
4c80fc |
mkdir %{_target_platform}
|
|
|
4c80fc |
|
|
|
4c80fc |
%build
|
|
|
4c80fc |
pushd %{_target_platform}
|
|
|
4c80fc |
%cmake .. \
|
|
|
4c80fc |
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
4c80fc |
-DLLVM_INSTALL_DIR=%{_bindir}/ \
|
|
|
4c80fc |
-DENABLE_GL_SHARING=ON \
|
|
|
4c80fc |
-DEXPERIMENTAL_DOUBLE=ON \
|
|
|
4c80fc |
%{nil}
|
|
|
4c80fc |
popd
|
|
|
4c80fc |
%make_build -C %{_target_platform}
|
|
|
4c80fc |
|
|
|
4c80fc |
%install
|
|
|
4c80fc |
%make_install -C %{_target_platform}
|
|
|
4c80fc |
find %{buildroot}%{_includedir}/CL/ -not -name "cl_intel.h" -type f -print -delete
|
|
|
4c80fc |
mv %{buildroot}%{_sysconfdir}/OpenCL/vendors/intel-beignet.icd %{buildroot}%{_sysconfdir}/OpenCL/vendors/intel-beignet-$RPM_ARCH.icd
|
|
|
4c80fc |
|
|
|
4c80fc |
%check
|
|
|
4c80fc |
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/com.intel.beignet.metainfo.xml || :
|
|
|
4c80fc |
|
|
|
4c80fc |
%files
|
|
|
4c80fc |
%license COPYING
|
|
|
4c80fc |
%doc README.md
|
|
|
4c80fc |
%{_libdir}/beignet/
|
|
|
4c80fc |
%{_sysconfdir}/OpenCL/vendors/*
|
|
|
4c80fc |
%{_datadir}/metainfo/com.intel.beignet.metainfo.xml
|
|
|
4c80fc |
|
|
|
4c80fc |
%files devel
|
|
|
4c80fc |
%doc docs/*
|
|
|
4c80fc |
%{_includedir}/CL/cl_intel.h
|
|
|
4c80fc |
|
|
|
4c80fc |
%changelog
|
|
|
4c80fc |
* Thu Jan 24 2019 Josef Ridky <jridky@redhat.com> - 1.3.2-4
|
|
|
4c80fc |
- fix file conflict for multilib package
|
|
|
4c80fc |
|
|
|
4c80fc |
* Mon Jan 21 2019 Josef Ridky <jridky@redhat.com> - 1.3.2-3
|
|
|
4c80fc |
- Initial package version for RHEL-8
|
|
|
4c80fc |
- allow use LLVM version 7+
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Nov 10 2017 Josef Ridky <jridky@redhat.com> - 1.3.2-2
|
|
|
4c80fc |
- Initial package version for RHEL-7.5
|
|
|
4c80fc |
|
|
|
4c80fc |
* Wed Nov 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.2-1
|
|
|
4c80fc |
- Update to 1.3.2
|
|
|
4c80fc |
|
|
|
4c80fc |
* Tue Oct 24 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.1-7
|
|
|
4c80fc |
- Rebuild for LLVM 5.0
|
|
|
4c80fc |
|
|
|
4c80fc |
* Wed Oct 04 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.1-6
|
|
|
4c80fc |
- Sync with 1.3 branch
|
|
|
4c80fc |
|
|
|
4c80fc |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5.git20170622.36f6a8b
|
|
|
4c80fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
4c80fc |
|
|
|
4c80fc |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4.git20170622.36f6a8b
|
|
|
4c80fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Jul 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.1-3.git20170622.36f6a8b
|
|
|
4c80fc |
- rebase to latest git, otherwise it is completely broken
|
|
|
4c80fc |
|
|
|
4c80fc |
* Tue Mar 21 2017 Tom Stellard <tstellar@redhat.com> - 1.3.1-2
|
|
|
4c80fc |
- Fix build with LLVM 4.0
|
|
|
4c80fc |
|
|
|
4c80fc |
* Mon Mar 13 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.3.1-1
|
|
|
4c80fc |
- Update to 1.3.1
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
4c80fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4c80fc |
|
|
|
4c80fc |
* Sun Jan 22 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.3.0-3
|
|
|
4c80fc |
- Update patch for OCL 2.0
|
|
|
4c80fc |
|
|
|
4c80fc |
* Sat Jan 21 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.3.0-2
|
|
|
4c80fc |
- Enable OpenCL 2.0
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Jan 20 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.3.0-1
|
|
|
4c80fc |
- Update to 1.3.0 (RHBZ #1415148)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Tue Nov 08 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.2.1-1
|
|
|
4c80fc |
- Update to 1.2.1 (RHBZ #1392639)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Thu Oct 27 2016 Dave Airlie <airlied@redhat.com> - 1.2.0-2
|
|
|
4c80fc |
- rebase to llvm 3.9
|
|
|
4c80fc |
|
|
|
4c80fc |
* Tue Aug 30 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.2.0-1
|
|
|
4c80fc |
- Update to 1.2.0 (RHBZ #1328527)
|
|
|
4c80fc |
- Drop virtual Provides for ocl-icd
|
|
|
4c80fc |
|
|
|
4c80fc |
* Tue Jun 28 2016 Igor Gnatenko <ignatenko@redhat.com> - 1.1.2-1
|
|
|
4c80fc |
- Update to 1.1.2 (RHBZ #1328527)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Apr 08 2016 Björn Esser <fedora@besser82.io> - 1.1.1-5
|
|
|
4c80fc |
- add virtual Provides for ocl-icd (RHBZ #1317603)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
|
|
|
4c80fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
4c80fc |
|
|
|
4c80fc |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
|
|
|
4c80fc |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
4c80fc |
|
|
|
4c80fc |
* Thu Nov 05 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.1.1-2
|
|
|
4c80fc |
- Backport patch from upstream against "failed to release userptr" (RHBZ #1277925)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Oct 09 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1.1.1-1
|
|
|
4c80fc |
- Update to 1.1.1 (#1249611)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Tue Oct 06 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.0-2
|
|
|
4c80fc |
- Make beignet compiling and working with LLVM 3.7
|
|
|
4c80fc |
|
|
|
4c80fc |
* Mon Aug 03 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.1.0-1
|
|
|
4c80fc |
- Update to 1.1.0 (RHBZ #1249611)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-3
|
|
|
4c80fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4c80fc |
|
|
|
4c80fc |
* Tue May 19 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0.3-2
|
|
|
4c80fc |
- Fix licensing issues with not compatipble LGPL code
|
|
|
4c80fc |
- use python3-devel for fedora23+
|
|
|
4c80fc |
- use license macro
|
|
|
4c80fc |
- use make_build macro
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri May 08 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0.3-1
|
|
|
4c80fc |
- Update to 1.0.3 (RHBZ #1202329)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Mon Jan 19 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0.1-1
|
|
|
4c80fc |
- 1.0.1 (RHBZ #1183497)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Mon Nov 17 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0.0-1
|
|
|
4c80fc |
- 1.0.0 (RHBZ #1142892)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
|
|
|
4c80fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
4c80fc |
|
|
|
4c80fc |
* Mon Jul 28 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.9.2-1
|
|
|
4c80fc |
- 0.9.2 upstream release (RHBZ #1123941)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Sun Jul 06 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.9.1-1
|
|
|
4c80fc |
- 0.9.1 upstream release (RHBZ #1116622)
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Jul 04 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.9.0-1
|
|
|
4c80fc |
- Update ot 0.9.0
|
|
|
4c80fc |
|
|
|
4c80fc |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-3
|
|
|
4c80fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
4c80fc |
|
|
|
4c80fc |
* Thu Feb 13 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.8-2
|
|
|
4c80fc |
- Update LLVM/Terminfo patch from upstream maillist
|
|
|
4c80fc |
|
|
|
4c80fc |
* Wed Feb 12 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.8-1
|
|
|
4c80fc |
- 0.8 upstream release
|
|
|
4c80fc |
|
|
|
4c80fc |
* Mon Jan 20 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-9.48f8e5b
|
|
|
4c80fc |
- We need opencl-filesystem as requires
|
|
|
4c80fc |
|
|
|
4c80fc |
* Thu Jan 16 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-8.48f8e5b
|
|
|
4c80fc |
- Latest master branch
|
|
|
4c80fc |
|
|
|
4c80fc |
* Wed Jan 15 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-7.984d680
|
|
|
4c80fc |
- Fix libdir
|
|
|
4c80fc |
|
|
|
4c80fc |
* Wed Jan 15 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-6.984d680
|
|
|
4c80fc |
- Update to latest master + apply patches from upstream list
|
|
|
4c80fc |
|
|
|
4c80fc |
* Tue Jan 14 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-5.e427b3e
|
|
|
4c80fc |
- spec: trivial fix
|
|
|
4c80fc |
|
|
|
4c80fc |
* Mon Jan 13 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-4.e427b3e
|
|
|
4c80fc |
- Build only on x86 arches, because only Intel GPUs supported here
|
|
|
4c80fc |
- Fix license
|
|
|
4c80fc |
- Update description
|
|
|
4c80fc |
|
|
|
4c80fc |
* Mon Jan 13 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-3.e427b3e
|
|
|
4c80fc |
- Update to latest master
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Jan 10 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-2.991e0d7
|
|
|
4c80fc |
- Git from OpenCL-1.2 branch
|
|
|
4c80fc |
|
|
|
4c80fc |
* Fri Jan 10 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3-1
|
|
|
4c80fc |
- Initial package
|