File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ components:
17
17
branch : infra
18
18
clean_on_sync : true
19
19
dest_dir : infra
20
- revision : a228519d4601f11ceef1f3cce1f013277be14388
20
+ revision : 9343fbf2e206466fc0485d7cd2952e0535c91be2
21
21
type : git
22
22
internal :
23
23
branch : master
Original file line number Diff line number Diff line change @@ -12,7 +12,14 @@ URL: https://github.com/intel/compute-runtime
12
12
Source0: https://github.com/intel/compute-runtime/archive/%{neo_commit_id}/neo.tar.gz
13
13
Source1: https://github.com/intel/gmmlib/archive/%{gmmlib_commit_id}/gmmlib.tar.gz
14
14
15
+ %if 0%{?el7}
16
+ BuildRequires: centos-release-scl epel-release
17
+ BuildRequires: devtoolset-4-gcc-c++ cmake3
18
+ BuildRequires: gcc-c++ ninja-build make procps python2 libva-devel
19
+ %else
15
20
BuildRequires: cmake clang gcc-c++ ninja-build make procps python2 sed libva-devel
21
+ %endif
22
+
16
23
BuildRequires: intel-igc-opencl-devel >= __IGC_VERSION_REQUIRED__
17
24
Requires: intel-igc-opencl >= __IGC_VERSION_REQUIRED__
18
25
@@ -32,8 +39,15 @@ tar xzf $RPM_SOURCE_DIR/gmmlib.tar.gz -C gmmlib --strip-components=1
32
39
33
40
mkdir build
34
41
cd build
42
+
43
+ %if 0%{?el7}
44
+ scl enable devtoolset-4 "cmake3 ../neo -DCMAKE_BUILD_TYPE=Release -DNEO_DRIVER_VERSION=%{version}"
45
+ scl enable devtoolset-4 "make -j`nproc` igdrcl_dll"
46
+ %else
35
47
cmake ../neo -DCMAKE_BUILD_TYPE=Release -DNEO_DRIVER_VERSION=%{version}
36
48
make -j`nproc` igdrcl_dll
49
+ %endif
50
+
37
51
echo "==== DONE ===="
38
52
39
53
You can’t perform that action at this time.
0 commit comments