mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
ci: update scripts for Neo release 19.31.13700
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com> https://github.com/intel/compute-runtime/pull/197 Change-Id: I22c2ee00cdf80d5fb4bc67afb93052baad08d813
This commit is contained in:

committed by
sys_ocldev

parent
6bd101609f
commit
026a1346ca
@ -10,7 +10,7 @@ cd /root/build-igc
|
||||
|
||||
export cclang_commit_id=6257ffe137a2c8df95a3f3b39fa477aa8ed15837
|
||||
export spirv_id=8ce6443ec1020183eafaeb3410c7d1edc2355dc3
|
||||
export igc_commit_id=296a42bdfa870011a26b0e3d0d7d8d8da3a9ddb7
|
||||
export igc_commit_id=e2936cf325b81797f252ba5f9fc318666c895f81
|
||||
|
||||
wget --no-check-certificate https://github.com/intel/opencl-clang/archive/${cclang_commit_id}/opencl-clang.tar.gz
|
||||
wget --no-check-certificate https://github.com/intel/intel-graphics-compiler/archive/${igc_commit_id}/igc.tar.gz
|
||||
|
@ -10,7 +10,7 @@ cd /root/build-igc
|
||||
|
||||
export cclang_commit_id=41cad395859684b18e762ca4a2c713c2fa349622
|
||||
export spirv_id=83298e3c9b124486c16d0fde54c764a6c5a2b554
|
||||
export igc_commit_id=296a42bdfa870011a26b0e3d0d7d8d8da3a9ddb7
|
||||
export igc_commit_id=e2936cf325b81797f252ba5f9fc318666c895f81
|
||||
|
||||
wget --no-check-certificate https://github.com/intel/opencl-clang/archive/${cclang_commit_id}/opencl-clang.tar.gz
|
||||
wget --no-check-certificate https://github.com/intel/intel-graphics-compiler/archive/${igc_commit_id}/igc.tar.gz
|
||||
|
@ -1,4 +1,4 @@
|
||||
%global igc_commit_id c7dec76146e3a18b9ed9f489d033e65ff224e869
|
||||
%global igc_commit_id e2936cf325b81797f252ba5f9fc318666c895f81
|
||||
%global cclang_commit_id 41cad395859684b18e762ca4a2c713c2fa349622
|
||||
%global spirv_llvm_commit_id 83298e3c9b124486c16d0fde54c764a6c5a2b554
|
||||
%global llvm_commit_id release_80
|
||||
@ -6,7 +6,7 @@
|
||||
%global llvm_patches_id a4af5b1386430fdbc7ea82b95706f231c656b5cf
|
||||
%global major_version 1
|
||||
%global minor_version 0
|
||||
%global patch_version 10
|
||||
%global patch_version 2364
|
||||
%global package_release 1
|
||||
|
||||
Name: intel-igc
|
||||
@ -29,6 +29,7 @@ BuildRequires: devtoolset-4-gcc-c++ cmake3
|
||||
BuildRequires: git make patch pkgconfig python2 procps bison flex
|
||||
|
||||
%description
|
||||
Intel(R) Graphics Compiler for OpenCL(TM).
|
||||
|
||||
%package core
|
||||
Summary: Intel(R) Graphics Compiler Core
|
||||
@ -36,13 +37,13 @@ Summary: Intel(R) Graphics Compiler Core
|
||||
%description core
|
||||
|
||||
%package opencl
|
||||
Summary: Intel(R) Graphics Compiler Frontend for OpenCL(TM)
|
||||
Summary: Intel(R) Graphics Compiler Frontend
|
||||
Requires: %{name}-core = %{version}-%{release}
|
||||
|
||||
%description opencl
|
||||
|
||||
%package opencl-devel
|
||||
Summary: Intel(R) Graphics Compiler development package for OpenCL(TM)
|
||||
Summary: Intel(R) Graphics Compiler development package
|
||||
Requires: %{name}-opencl = %{version}-%{release}
|
||||
|
||||
%description opencl-devel
|
||||
@ -118,14 +119,14 @@ echo "==== DONE ===="
|
||||
%files core
|
||||
%defattr(-,root,root)
|
||||
/usr/lib64/libiga64.so.%{major_version}
|
||||
/usr/lib64/libiga64.so.%{major_version}.%{minor_version}.%{patch_version}
|
||||
/usr/lib64/libiga64.so.%{major_version}.%{minor_version}.10
|
||||
/usr/lib64/libigc.so.%{major_version}
|
||||
/usr/lib64/libigc.so.%{major_version}.%{minor_version}.%{patch_version}
|
||||
/usr/lib64/libigc.so.%{major_version}.%{minor_version}.10
|
||||
|
||||
%files opencl
|
||||
%defattr(-,root,root)
|
||||
/usr/lib64/libigdfcl.so.%{major_version}
|
||||
/usr/lib64/libigdfcl.so.%{major_version}.%{minor_version}.%{patch_version}
|
||||
/usr/lib64/libigdfcl.so.%{major_version}.%{minor_version}.10
|
||||
/usr/lib64/libopencl-clang.so.8
|
||||
|
||||
%files opencl-devel
|
||||
|
@ -1,14 +1,14 @@
|
||||
%global neo_commit_id ab74b60
|
||||
%global neo_commit_id dd689ec3ed
|
||||
|
||||
Name: intel-opencl
|
||||
Version: 19.28.13502
|
||||
Version: 19.31.13700
|
||||
Release: 1%{?dist}
|
||||
Summary: Intel(R) Graphics Compute Runtime for OpenCL(TM)
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
URL: https://github.com/intel/compute-runtime
|
||||
Source0: https://github.com/intel/compute-runtime/archive/%{neo_commit_id}.tar.gz
|
||||
Source0: https://github.com/intel/compute-runtime/archive/%{neo_commit_id}/neo-%{neo_commit_id}.tar.gz
|
||||
|
||||
%if 0%{?el7}
|
||||
BuildRequires: centos-release-scl epel-release
|
||||
@ -18,13 +18,13 @@ BuildRequires: make libva-devel gcc-c++ cmake
|
||||
%endif
|
||||
|
||||
BuildRequires: intel-gmmlib-devel >= 19.2.3
|
||||
Requires: intel-gmmlib >= 19.2.3
|
||||
|
||||
BuildRequires: intel-igc-opencl-devel >= 1.0.10
|
||||
|
||||
Requires: intel-gmmlib >= 19.2.3
|
||||
Requires: intel-igc-opencl >= 1.0.10
|
||||
|
||||
%description
|
||||
|
||||
Intel(R) Graphics Compute Runtime for OpenCL(TM).
|
||||
|
||||
%prep
|
||||
|
||||
@ -34,7 +34,7 @@ echo "==== BUILD ===="
|
||||
rm -rf *
|
||||
|
||||
mkdir neo
|
||||
tar xzf $RPM_SOURCE_DIR/%{neo_commit_id}.tar.gz -C neo --strip-components=1
|
||||
tar xzf $RPM_SOURCE_DIR/neo-%{neo_commit_id}.tar.gz -C neo --strip-components=1
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
@ -1,8 +1,8 @@
|
||||
%global igc_commit_id c7dec76146e3a18b9ed9f489d033e65ff224e869
|
||||
%global igc_commit_id e2936cf325b81797f252ba5f9fc318666c895f81
|
||||
%global major_version 1
|
||||
%global minor_version 0
|
||||
%global patch_version 10
|
||||
%global package_release 2
|
||||
%global patch_version 2364
|
||||
%global package_release 1
|
||||
|
||||
Name: intel-igc
|
||||
Version: %{major_version}.%{minor_version}.%{patch_version}
|
||||
@ -18,6 +18,7 @@ BuildRequires: cmake clang gcc-c++ make procps flex bison python2 llvm-devel cla
|
||||
BuildRequires: intel-opencl-clang-devel
|
||||
|
||||
%description
|
||||
Intel(R) Graphics Compiler for OpenCL(TM).
|
||||
|
||||
%package core
|
||||
Summary: Intel(R) Graphics Compiler Core
|
||||
@ -25,13 +26,13 @@ Summary: Intel(R) Graphics Compiler Core
|
||||
%description core
|
||||
|
||||
%package opencl
|
||||
Summary: Intel(R) Graphics Compiler Frontend for OpenCL(TM)
|
||||
Summary: Intel(R) Graphics Compiler Frontend
|
||||
Requires: %{name}-core = %{version}-%{release}
|
||||
|
||||
%description opencl
|
||||
|
||||
%package opencl-devel
|
||||
Summary: Intel(R) Graphics Compiler development package for OpenCL(TM)
|
||||
Summary: Intel(R) Graphics Compiler development package
|
||||
Requires: %{name}-opencl = %{version}-%{release}
|
||||
|
||||
%description opencl-devel
|
||||
@ -64,14 +65,14 @@ echo "==== DONE ===="
|
||||
%files core
|
||||
%defattr(-,root,root)
|
||||
/usr/lib64/libiga64.so.%{major_version}
|
||||
/usr/lib64/libiga64.so.%{major_version}.%{minor_version}.%{patch_version}
|
||||
/usr/lib64/libiga64.so.%{major_version}.%{minor_version}.10
|
||||
/usr/lib64/libigc.so.%{major_version}
|
||||
/usr/lib64/libigc.so.%{major_version}.%{minor_version}.%{patch_version}
|
||||
/usr/lib64/libigc.so.%{major_version}.%{minor_version}.10
|
||||
|
||||
%files opencl
|
||||
%defattr(-,root,root)
|
||||
/usr/lib64/libigdfcl.so.%{major_version}
|
||||
/usr/lib64/libigdfcl.so.%{major_version}.%{minor_version}.%{patch_version}
|
||||
/usr/lib64/libigdfcl.so.%{major_version}.%{minor_version}.10
|
||||
|
||||
%files opencl-devel
|
||||
%defattr(-,root,root)
|
||||
|
@ -1,25 +1,30 @@
|
||||
%global neo_commit_id ab74b60
|
||||
%global neo_commit_id dd689ec3ed
|
||||
|
||||
Name: intel-opencl
|
||||
Version: 19.28.13502
|
||||
Version: 19.31.13700
|
||||
Release: 1%{?dist}
|
||||
Summary: Intel(R) Graphics Compute Runtime for OpenCL(TM)
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
URL: https://github.com/intel/compute-runtime
|
||||
Source0: https://github.com/intel/compute-runtime/archive/%{neo_commit_id}.tar.gz
|
||||
Source0: https://github.com/intel/compute-runtime/archive/%{neo_commit_id}/neo-%{neo_commit_id}.tar.gz
|
||||
|
||||
BuildRequires: cmake gcc-c++ ninja-build make procps python2 sed libva-devel
|
||||
%if 0%{?el7}
|
||||
BuildRequires: centos-release-scl epel-release
|
||||
BuildRequires: devtoolset-4-gcc-c++ cmake3 make
|
||||
%else
|
||||
BuildRequires: make libva-devel gcc-c++ cmake
|
||||
%endif
|
||||
|
||||
BuildRequires: intel-gmmlib-devel >= 19.2.3
|
||||
Requires: intel-gmmlib >= 19.2.3
|
||||
|
||||
BuildRequires: intel-igc-opencl-devel >= 1.0.10
|
||||
|
||||
Requires: intel-gmmlib >= 19.2.3
|
||||
Requires: intel-igc-opencl >= 1.0.10
|
||||
|
||||
%description
|
||||
|
||||
Intel(R) Graphics Compute Runtime for OpenCL(TM).
|
||||
|
||||
%prep
|
||||
|
||||
@ -29,13 +34,18 @@ echo "==== BUILD ===="
|
||||
rm -rf *
|
||||
|
||||
mkdir neo
|
||||
tar xzf $RPM_SOURCE_DIR/%{neo_commit_id}.tar.gz -C neo --strip-components=1
|
||||
tar xzf $RPM_SOURCE_DIR/neo-%{neo_commit_id}.tar.gz -C neo --strip-components=1
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
%if 0%{?el7}
|
||||
scl enable devtoolset-4 "cmake3 ../neo -DCMAKE_BUILD_TYPE=Release -DNEO_DRIVER_VERSION=%{version}"
|
||||
scl enable devtoolset-4 "make -j`nproc` igdrcl_dll"
|
||||
%else
|
||||
cmake ../neo -DCMAKE_BUILD_TYPE=Release -DNEO_DRIVER_VERSION=%{version}
|
||||
make -j`nproc` igdrcl_dll
|
||||
%endif
|
||||
|
||||
echo "==== DONE ===="
|
||||
|
||||
|
Reference in New Issue
Block a user