Files
compute-runtime/scripts/docker/Dockerfile-ubuntu-16.04-clang-5
Jacek Danecki 5e3df9559a ci: use LP ocl-dev account for CI builds on Ubuntu and Arch
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/90

Change-Id: I987f691dfe1258b7353ca1eda502994145babd5b
2018-09-26 13:21:03 +02:00

14 lines
765 B
Plaintext

FROM docker.io/ubuntu:16.04
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo
RUN echo "deb http://ppa.launchpad.net/ocl-dev/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3086B78CC05B8B1; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-5.0
RUN cd /root; git clone --depth 1 https://github.com/intel/gmmlib gmmlib
RUN mkdir /root/build; 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"]