]> git.pld-linux.org Git - packages/intel-compute-runtime.git/blame - intel-compute-runtime.spec
add driver version
[packages/intel-compute-runtime.git] / intel-compute-runtime.spec
CommitLineData
921a5a1b
JK
1
2# versions listed on
3# https://github.com/intel/compute-runtime/releases
4%define gmmlib_version 19.2.1
5%define igc_version 1.0.8
6
7Summary: Intel Graphics Compute Runtime for OpenCL
8Name: intel-compute-runtime
9Version: 19.24.13171
42809d8c 10Release: 3
921a5a1b
JK
11License: LGPL v2+
12Group: Libraries
13Source0: https://github.com/intel/compute-runtime/archive/%{version}/%{name}-%{version}.tar.gz
14# Source0-md5: c827cb2987d11e65a0f25befee0bbcb1
15URL: https://01.org/compute-runtime
16BuildRequires: cmake >= 3.2.0
c6f86a9f
JK
17BuildRequires: intel-gmmlib-devel >= %{gmmlib_version}
18BuildRequires: intel-graphics-compiler-devel >= %{igc_version}
921a5a1b
JK
19BuildRequires: libdrm-devel
20BuildRequires: libva-devel
21BuildRequires: pkgconfig
22Provides: ocl-icd(intel)
23Provides: ocl-icd-driver
f4dc3ffe 24ExclusiveArch: %{x8664}
921a5a1b
JK
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28The Intel(R) Graphics Compute Runtime for OpenCL(TM) is an open source
29project to converge Intel's development efforts on OpenCL(TM) compute
30stacks supporting the GEN graphics hardware architecture.
31
32%prep
33%setup -qn compute-runtime-%{version}
34
35%build
36install -d build
37cd build
38%cmake \
42809d8c 39 -DSKIP_ALL_ULT=ON -DNEO_DRIVER_VERSION=%{version} \
921a5a1b
JK
40 ../
41%{__make}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} -C build install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
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
This page took 0.080129 seconds and 4 git commands to generate.