mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

- Build Arch Aur packages (opencl-clang, igc) and then build Neo - Build opencl-clang, igc without packaging and then build Neo - Limit number of make jobs to 1 for IGC build Signed-off-by: Jacek Danecki <jacek.danecki@intel.com> https://github.com/intel/compute-runtime/pull/146 Change-Id: I7af5ea10fd76fe6906c87d895d7d92853386e2f5
13 lines
387 B
Plaintext
13 lines
387 B
Plaintext
FROM docker.io/archlinux/base
|
|
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
|
|
|
COPY neo /root/neo
|
|
COPY scripts/prepare-arch-aur-gcc-8.sh /root
|
|
COPY scripts/build-arch-dep.sh /root
|
|
|
|
RUN /root/prepare-arch-aur-gcc-8.sh
|
|
RUN cd /root/build ; cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ../neo ; \
|
|
ninja -j `nproc`
|
|
CMD ["/bin/bash"]
|