mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Do not add intel-graphics-compiler nor intel-gmmlib libraries to Neo package. Change-Id: I97a8ca77ddcdcbd633e3bc99296938faefbc0327 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
1.8 KiB
1.8 KiB
Intel(R) Graphics Compute Runtime for OpenCL(TM)
Building
Instructions assume clean Centos 7.4.1708 installation.*
- Download & install required dependencies
Example:
sudo yum groups install "Development Tools"
sudo yum install centos-release-scl epel-release
sudo yum install devtoolset-4-gcc-c++ cmake3 ninja-build
sudo /usr/sbin/alternatives --install /usr/bin/cmake cmake /usr/bin/cmake3 50
- Instal required dependencies
Neo requires Intel(R) Graphics Compiler for OpenCL(TM) and Intel(R) Graphics Memory Management to be installed on your system.
Please visit IGC and GmmLib repositories to build and install intel-igc-opencl-devel and intel-gmmlib-devel packages including all required dependencies
- Create workspace folder and download sources:
Example:
workspace
|- neo https://github.com/intel/compute-runtime
Example:
git clone https://github.com/intel/compute-runtime neo
Note: Instructions for compiling Intel Graphics Compiler copied from https://github.com/intel/intel-graphics-compiler/blob/master/README.md
- Create folder for build:
Example:
mkdir build
- Enabling additional extension
- Build complete driver:
cd build
scl enable devtoolset-4 "cmake -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release ../neo"
scl enable devtoolset-4 "make -j `nproc` package"
Installing
To install OpenCL driver please use rpm package generated during build
Example:
sudo rpm -i intel-opencl-1.0-0.x86_64-igdrcl.rpm
(*) Other names and brands my be claimed as property of others.