mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
This ppa is available at: https://launchpad.net/~intel-opencl/+archive/ubuntu/intel-opencl Signed-off-by: Jacek Danecki <jacek.danecki@intel.com> https://github.com/intel/compute-runtime/pull/72 Change-Id: I8ab4f8881d882f399386e875125c20542d5b72ab
14 lines
770 B
Plaintext
14 lines
770 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/intel-opencl/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \
|
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9732172C4830B8F; \
|
|
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build intel-igc-opencl-dev clang-4.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-4.0 -DCMAKE_CXX_COMPILER=clang++-4.0 \
|
|
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
|
CMD ["/bin/bash"]
|