Skip to content

Commit

Permalink
Add image for intel oneAPI (SYCL) (#26)
Browse files Browse the repository at this point in the history
This uses the same Ubuntu 20.04 image we use anyway. I'm installing Intel's stuff from their APT repo. This only clocks in at ~ 3GB, rather than the 6GB of the Intel image. I managed to compile the SYCL plugin with this.
  • Loading branch information
paulgessinger authored Dec 15, 2020
1 parent 7874009 commit ff4dad4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- format10
- ubuntu1804_cuda
- ubuntu2004
- ubuntu2004_oneapi
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
Expand Down
33 changes: 33 additions & 0 deletions ubuntu2004_oneapi/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
FROM ubuntu:20.04

LABEL description="Ubuntu 20.04 with Acts dependencies"
LABEL maintainer="Paul Gessinger <[email protected]>"
# increase whenever any of the RUN commands change
LABEL version="1"

# DEBIAN_FRONTEND ensures non-blocking operation (tzdata is a problem)
ENV DEBIAN_FRONTEND noninteractive




RUN apt-get update -y \
&& apt-get install -y gnupg2 curl \
&& apt-get clean -y

RUN curl https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | apt-key add - \
&& echo "deb https://apt.repos.intel.com/oneapi all main" > /etc/apt/sources.list.d/oneAPI.list

RUN apt-get update -y \
&& apt-get install -y \
intel-oneapi-compiler-dpcpp-cpp-2021.1.1 \
libstdc++-9-dev \
cmake \
git \
libboost-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libboost-test-dev \
libeigen3-dev \
ninja-build \
&& apt-get clean -y

0 comments on commit ff4dad4

Please sign in to comment.