ci: add scripts to build Neo on external CI systems

IGC binaries are used from specific Neo release.
IGC sources are synchronized with binary release.

Change-Id: If75aebc68aa0ced1b5c7493747eedc3e16842252
This commit is contained in:
Jacek Danecki
2018-05-21 13:56:30 +02:00
committed by sys_ocldev
parent 561db94eac
commit 80f11d1ac2
22 changed files with 515 additions and 0 deletions

View File

@ -0,0 +1,12 @@
FROM docker.io/ubuntu:16.04
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo
COPY scripts/prepare-workspace.sh /root
RUN apt-get -y update; apt-get install -y --allow-unauthenticated cmake git wget pkg-config ninja-build clang-5.0
RUN /root/prepare-workspace.sh
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=clang-5.0 -DCMAKE_CXX_COMPILER=clang++-5.0 \
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
CMD ["/bin/bash"]