-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add image for intel oneAPI (SYCL) (#26)
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
1 parent
7874009
commit ff4dad4
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |