3 # https://github.com/intel/compute-runtime/releases
4 %define gmmlib_version 19.2.1
5 %define igc_version 1.0.8
7 Summary: Intel Graphics Compute Runtime for OpenCL
8 Name: intel-compute-runtime
13 Source0: https://github.com/intel/compute-runtime/archive/%{version}/%{name}-%{version}.tar.gz
14 # Source0-md5: c827cb2987d11e65a0f25befee0bbcb1
15 URL: https://01.org/compute-runtime
16 BuildRequires: cmake >= 3.2.0
17 BuildRequires: intel-gmmlib-devel >= %{gmmlib_version}
18 BuildRequires: intel-graphics-compiler-devel >= %{igc_version}
19 BuildRequires: libdrm-devel
20 BuildRequires: libva-devel
21 BuildRequires: pkgconfig
22 Provides: ocl-icd(intel)
23 Provides: ocl-icd-driver
24 ExclusiveArch: %{x8664}
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The Intel(R) Graphics Compute Runtime for OpenCL(TM) is an open source
29 project to converge Intel's development efforts on OpenCL(TM) compute
30 stacks supporting the GEN graphics hardware architecture.
33 %setup -qn compute-runtime-%{version}
44 rm -rf $RPM_BUILD_ROOT
46 %{__make} -C build install \
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/ocloc
55 %{_sysconfdir}/OpenCL/vendors/intel.icd
56 %dir %{_libdir}/intel-opencl
57 %attr(755,root,root) %{_libdir}/intel-opencl/libigdrcl.so