%global NEO_MAJOR 21 %global NEO_MINOR 38 %global NEO_BUILD 21026 %global NEO_ver %{NEO_MAJOR}.%{NEO_MINOR}.%{NEO_BUILD} %global L0_ver 1.2 %global IGC_BUILD 8708 %global GMM_BUILD 21.2.1 Name: intel-opencl Version: %{NEO_ver} Release: 1%{?dist} Summary: Intel(R) Graphics Compute Runtime Group: System Environment/Libraries License: MIT URL: https://github.com/intel/compute-runtime Source0: %{url}/archive/%{version}/compute-runtime-%{version}.tar.gz BuildRequires: make libva-devel gcc-c++ cmake BuildRequires: intel-gmmlib-devel >= %{GMM_BUILD} BuildRequires: intel-igc-opencl-devel = 1.0.%{IGC_BUILD} BuildRequires: level-zero-devel = 1.5.0 Requires: intel-gmmlib >= %{GMM_BUILD} Requires: intel-igc-opencl = 1.0.%{IGC_BUILD} %description -n intel-opencl Intel(R) Graphics Compute Runtime for OpenCL(TM). %package -n intel-level-zero-gpu Summary: Intel(R) Graphics Compute Runtime for Level Zero Version: %{L0_ver}.%{NEO_BUILD} %description -n intel-level-zero-gpu Intel(R) Graphics Compute Runtime for Level Zero Requires: level-zero = 1.5.0 %prep %autosetup -n compute-runtime-%{NEO_ver} %build mkdir build cd build %cmake -DCMAKE_BUILD_TYPE=Release -DNEO_OCL_VERSION_MAJOR=%{NEO_MAJOR} \ -DNEO_OCL_VERSION_MINOR=%{NEO_MINOR} -DNEO_VERSION_BUILD=%{NEO_BUILD} \ -DSKIP_UNIT_TESTS=1 -DCMAKE_INSTALL_PREFIX=/usr .. %make_build %install cd build %make_install chmod +x ${RPM_BUILD_ROOT}/usr/lib64/intel-opencl/libigdrcl.so rm -f %{buildroot}/%{_libdir}/libocloc.so.debug rm -rf %{buildroot}/usr/lib/debug/ %files %{_libdir}/intel-opencl/libigdrcl.so %{_bindir}/ocloc %{_includedir}/ocloc_api.h %{_libdir}/libocloc.so %config(noreplace) %{_sysconfdir}/OpenCL/vendors/intel.icd %files -n intel-level-zero-gpu %{_libdir}/libze_intel_gpu.so.1 %{_libdir}/libze_intel_gpu.so.%{L0_ver}.%{NEO_BUILD} %doc %changelog * Fri Oct 01 2021 Jacek Danecki - 21.38.21026-1 - Update to 21.38.21026 * Fri Sep 17 2021 Jacek Danecki - 21.37.20939-1 - Update to 21.37.20939 * Mon Sep 13 2021 Jacek Danecki - 21.36.20889-1 - Update to 21.36.20889 * Wed Sep 08 2021 Jacek Danecki - 21.35.20826-1 - Update to 21.35.20826 * Fri Aug 27 2021 Jacek Danecki - 21.34.20767-1 - Update to 21.34.20767 * Fri Aug 20 2021 Jacek Danecki - 21.33.20678-1 - Update to 21.33.20678 * Wed Aug 18 2021 Jacek Danecki - 21.32.20609-1 - Update to 21.32.20609 * Fri Aug 13 2021 Jacek Danecki - 21.31.20514-1 - Update to 21.31.20514 * Thu Aug 12 2021 Jacek Danecki - 21.30.20482-1 - Update to 21.30.20482 * Thu Aug 12 2021 Jacek Danecki - 21.29.20389-1 - Update to 21.29.20389 * Mon Jul 19 2021 Jacek Danecki - 21.28.20343-1 - Update to 21.28.20343 * Fri Jul 09 2021 Jacek Danecki - 21.27.20266-1 - Update to 21.27.20266 * Mon Jul 05 2021 Jacek Danecki - 21.26.20194-1 - Update to 21.26.20194 * Thu Jul 01 2021 Jacek Danecki - 21.25.20114-1 - Update to 21.25.20114 * Tue Jun 22 2021 Jacek Danecki - 21.24.20098-1 - Update to 21.24.20098 * Fri Jun 11 2021 Jacek Danecki - 21.23.20043-1 - Update to 21.23.20043 * Wed Jun 09 2021 Jacek Danecki - 21.22.19967-1 - Update to 21.22.19967 * Wed Jun 02 2021 Jacek Danecki - 21.21.19914-1 - Update to 21.21.19914 * Tue May 25 2021 Jacek Danecki - 21.20.19883-1 - Update to 21.20.19883 * Wed May 19 2021 Jacek Danecki - 21.19.19792-1 - Update to 21.19.19792 * Wed May 12 2021 Jacek Danecki - 21.18.19737-1 - Update to 21.18.19737 * Mon May 10 2021 Jacek Danecki - 21.17.19709-1 - Update to 21.17.19709 * Wed Apr 28 2021 Jacek Danecki - 21.16.19610-1 - Update to 21.16.19610 * Fri Apr 16 2021 Jacek Danecki - 21.15.19533-1 - Update to 21.15.19533 * Fri Apr 09 2021 Jacek Danecki - 21.14.19498-1 - Update to 21.14.19498 * Thu Apr 08 2021 Jacek Danecki - 21.13.19438-1 - Update to 21.13.19438 * Fri Mar 26 2021 Jacek Danecki - 21.12.19358-1 - Update to 21.12.19358 * Fri Mar 19 2021 Jacek Danecki - 21.11.19310-1 - Update to 21.11.19310 * Tue Mar 16 2021 Jacek Danecki - 21.10.19208-1 - Update to 21.10.19208 * Fri Mar 05 2021 Jacek Danecki - 21.09.19150-1 - Update to 21.09.19150 * Fri Feb 26 2021 Jacek Danecki - 21.08.19096-1 - Update to 21.08.19096 * Tue Jul 21 2020 Jacek Danecki - 20.28.17293-1 - Update to 20.28.17293 * Mon Jul 13 2020 Jacek Danecki - 20.27.17231-1 - Update to 20.27.17231 * Wed Jul 08 2020 Jacek Danecki - 20.26.17199-1 - Update to 20.26.17199 * Mon Jun 29 2020 Jacek Danecki - 20.25.17111-1 - Update to 20.25.17111 * Wed Jun 24 2020 Jacek Danecki - 20.24.17065-1 - Update to 20.24.17065 * Tue Jun 23 2020 Jacek Danecki - 20.23.16988-1 - Update to 20.23.16988 * Tue Jun 09 2020 Jacek Danecki - 20.22.16952-1 - Update to 20.22.16952 * Mon Jun 01 2020 Jacek Danecki - 20.21.16886-1 - Update to 20.21.16886 * Tue May 26 2020 Jacek Danecki - 20.20.16837-1 - Update to 20.20.16837 * Fri May 15 2020 Jacek Danecki - 20.19.16754-1 - Update to 20.19.16754 * Fri May 08 2020 Jacek Danecki - 20.18.16699-1 - Update to 20.18.16699 * Tue May 05 2020 Jacek Danecki - 20.17.16650-1 - Update to 20.17.16650 * Fri Apr 24 2020 Jacek Danecki - 20.16.16582-1 - Update to 20.16.16582 * Tue Apr 21 2020 Jacek Danecki - 20.15.16524-1 - Update to 20.15.16524 * Tue Apr 14 2020 Jacek Danecki - 20.14.16441-1 - Update to 20.14.16441 * Thu Apr 09 2020 Jacek Danecki - 20.13.16352-1 - Update to 20.13.16352 * Tue Mar 31 2020 Jacek Danecki - 20.12.16259-2 - Fix reported version * Fri Mar 27 2020 Jacek Danecki - 20.12.16259-1 - Update to 20.12.16259 - Compile with Level Zero * Fri Mar 20 2020 Jacek Danecki - 20.11.16158-1 - Update to 20.11.16158 * Fri Mar 13 2020 Jacek Danecki - 20.10.16087-1 - Update to 20.10.16087 * Mon Mar 09 2020 Jacek Danecki - 20.09.15980-2 - Fix ocloc permissions * Fri Mar 06 2020 Jacek Danecki - 20.09.15980-1 - Update to 20.09.15980 * Fri Feb 28 2020 Jacek Danecki - 20.08.15750-1 - Update to 20.08.15750 * Fri Feb 21 2020 Jacek Danecki - 20.07.15711-1 - Update to 20.07.15711 * Fri Feb 14 2020 Jacek Danecki - 20.06.15619-1 - Update to 20.06.15619 * Fri Feb 07 2020 Jacek Danecki - 20.05.15524-1 - Update to 20.05.15524 * Fri Jan 31 2020 Jacek Danecki - 20.04.15428-1 - Update to 20.04.15428 * Fri Jan 24 2020 Jacek Danecki - 20.03.15346-1 - Update to 20.03.15346 * Fri Jan 17 2020 Jacek Danecki - 20.02.15268-1 - Update to 20.02.15268 * Fri Jan 10 2020 Jacek Danecki - 20.01.15264-1 - Update to 20.01.15264 * Fri Jan 03 2020 Jacek Danecki - 19.52.15209-1 - Update to 19.52.15209 * Fri Dec 27 2019 Jacek Danecki - 19.51.15145-1 - Update to 19.51.15145 * Fri Dec 20 2019 Jacek Danecki - 19.50.15079-1 - Update to 19.50.15079 - Updated IGC * Mon Dec 16 2019 Jacek Danecki - 19.49.15055-1 - Update to 19.49.15055 - Updated IGC * Fri Dec 06 2019 Jacek Danecki - 19.48.14977-1 - Update to 19.48.14977 - Updated IGC * Fri Nov 29 2019 Jacek Danecki - 19.47.14903-1 - Update to 19.47.14903 - Updated IGC * Fri Nov 22 2019 Jacek Danecki - 19.46.14807-1 - Update to 19.46.14807 - Updated IGC * Tue Nov 19 2019 Jacek Danecki - 19.45.14764-1 - Update to 19.45.14764 * Wed Nov 13 2019 Jacek Danecki - 19.44.14658-1 - Update to 19.44.14658 * Wed Oct 30 2019 Jacek Danecki - 19.43.14583-1 - Update to 19.43.14583 * Thu Oct 24 2019 Jacek Danecki - 19.41.14441-1 - Update to 19.41.14441