Files
compute-runtime/BUILD.md
Adam Cetnerowski 6094072504 Documentation: Cleanup build instruction
Change-Id: I31b0af89448b7e5ea3a2f1efb00ae61c57c77eff
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-27 13:27:29 +01:00

1.7 KiB

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 (Ubuntu):

sudo apt-get install cmake g++ git pkg-config

Example (CentOS):

sudo dnf install gcc-c++ cmake git make

See LIMITATIONS.md for other requirements and dependencies, when building and installing NEO.

  1. Install required dependencies

Neo requires:

Please visit their repositories for building and instalation instructions or use prebuilt packages:

Use versions compatible with selected Neo release.

  1. Create workspace folder and download sources:

Example:

mkdir workspace
cd workspace
git clone https://github.com/intel/compute-runtime neo
  1. Create folder for build:

Example:

mkdir build
  1. (Optional) Enabling additional extensions
  1. Build and install

Example:

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.