Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions scripts/build-fedora31-copr-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 Intel Corporation
#
# SPDX-License-Identifier: MIT
#

git fetch -t
git clone ../compute-runtime neo
docker info
docker build -f scripts/docker/Dockerfile-fedora-31-copr -t neo-fedora-31-copr:ci .
14 changes: 14 additions & 0 deletions scripts/docker/Dockerfile-fedora-31-copr
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM fedora:31
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>

COPY neo /root/neo

RUN dnf install -y gcc-c++ cmake ninja-build git pkg-config; \
dnf install -y 'dnf-command(copr)'; \
dnf copr enable -y jdanecki/intel-opencl; \
dnf --showduplicate list intel-igc-opencl-devel intel-gmmlib-devel; \
dnf install -y intel-igc-opencl-devel intel-gmmlib-devel; \
mkdir /root/build; cd /root/build ; cmake -G Ninja \
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo; \
ninja -j `nproc`
CMD ["/bin/bash"]