mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
Documentation: Cleanup build instruction
Change-Id: I31b0af89448b7e5ea3a2f1efb00ae61c57c77eff Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
697848f3d1
commit
6094072504
@@ -1,25 +1,35 @@
|
||||
# Intel(R) Graphics Compute Runtime for OpenCL(TM)
|
||||
# Building NEO driver
|
||||
|
||||
Instructions have been tested on Ubuntu* and CentOS*. They assume a clean installation of a stable version.
|
||||
|
||||
1. Download & install required packages
|
||||
|
||||
Example:
|
||||
Example (Ubuntu):
|
||||
|
||||
```shell
|
||||
sudo apt-get install cmake g++ git pkg-config
|
||||
```
|
||||
|
||||
See [LIMITATIONS.md](https://github.com/intel/compute-runtime/blob/master/documentation/LIMITATIONS.md)
|
||||
Example (CentOS):
|
||||
|
||||
```shell
|
||||
sudo dnf install gcc-c++ cmake git make
|
||||
```
|
||||
|
||||
See [LIMITATIONS.md](https://github.com/intel/compute-runtime/blob/master/opencl/doc/LIMITATIONS.md)
|
||||
for other requirements and dependencies, when building and installing NEO.
|
||||
|
||||
2. Instal required dependencies
|
||||
2. Install required dependencies
|
||||
|
||||
Neo requires:
|
||||
- [Intel(R) Graphics Compiler for OpenCL(TM)](https://github.com/intel/intel-graphics-compiler)
|
||||
- [Intel(R) Graphics Memory Management](https://github.com/intel/gmmlib)
|
||||
|
||||
Please visit theirs repositories for building and instalation instructions or use packages from
|
||||
[launchpad repository](https://launchpad.net/~intel-opencl/+archive/ubuntu/intel-opencl)
|
||||
Use versions compatible with selected [Neo release](https://github.com/intel/compute-runtime/releases)
|
||||
Please visit their repositories for building and instalation instructions or use prebuilt packages:
|
||||
- Ubuntu: [launchpad repository](https://launchpad.net/~intel-opencl/+archive/ubuntu/intel-opencl)
|
||||
- CentOS: [copr repository](https://copr.fedorainfracloud.org/coprs/jdanecki/intel-opencl)
|
||||
|
||||
Use versions compatible with selected [Neo release](https://github.com/intel/compute-runtime/releases).
|
||||
|
||||
3. Create workspace folder and download sources:
|
||||
|
||||
@@ -39,9 +49,9 @@ Example:
|
||||
mkdir build
|
||||
```
|
||||
|
||||
5. Enabling additional extension
|
||||
5. (Optional) Enabling additional extensions
|
||||
|
||||
* [cl_intel_va_api_media_sharing](https://github.com/intel/compute-runtime/blob/master/documentation/cl_intel_va_api_media_sharing.md)
|
||||
* [cl_intel_va_api_media_sharing](https://github.com/intel/compute-runtime/blob/master/opencl/doc/cl_intel_va_api_media_sharing.md)
|
||||
|
||||
6. Build and install
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# Intel(R) Graphics Compute Runtime for OpenCL(TM)
|
||||
|
||||
## Building
|
||||
|
||||
*Instructions assume clean Centos 8.0.1905 installation.**
|
||||
|
||||
1. Download & install required packages
|
||||
|
||||
Example:
|
||||
|
||||
```shell
|
||||
sudo dnf install gcc-c++ cmake git make
|
||||
```
|
||||
|
||||
2. Install required dependencies
|
||||
|
||||
Neo requires:
|
||||
- [Intel(R) Graphics Compiler for OpenCL(TM)](https://github.com/intel/intel-graphics-compiler)
|
||||
- [Intel(R) Graphics Memory Management](https://github.com/intel/gmmlib)
|
||||
|
||||
Please visit theirs repositories for building and instalation instructions or use packages from
|
||||
[copr repository](https://copr.fedorainfracloud.org/coprs/jdanecki/intel-opencl)
|
||||
Use versions compatible with selected [Neo release](https://github.com/intel/compute-runtime/releases)
|
||||
|
||||
3. Create workspace folder and download sources:
|
||||
|
||||
Example:
|
||||
|
||||
```shell
|
||||
mkdir workspace
|
||||
cd workspace
|
||||
git clone https://github.com/intel/compute-runtime neo
|
||||
```
|
||||
|
||||
4. Create folder for build:
|
||||
|
||||
Example:
|
||||
|
||||
```shell
|
||||
mkdir build
|
||||
```
|
||||
|
||||
5. Enabling additional extension
|
||||
|
||||
* [cl_intel_va_api_media_sharing](https://github.com/intel/compute-runtime/blob/master/documentation/cl_intel_va_api_media_sharing.md)
|
||||
|
||||
6. Build and install
|
||||
|
||||
```shell
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DSKIP_UNIT_TESTS=1 ../neo
|
||||
make -j`nproc`
|
||||
sudo make install
|
||||
```
|
||||
|
||||
___(*) Other names and brands may be claimed as property of others.___
|
||||
Reference in New Issue
Block a user