Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dpcpp builds #67

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
7 changes: 6 additions & 1 deletion ubuntu/22.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ RUN apt-get -qq update && \
valgrind \
vim \
wget \
xsltproc
xsltproc \
ncurses-bin \
libncurses-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean

# Install Clingo for Spack
RUN python3 -m pip install --upgrade pip && \
Expand All @@ -48,6 +52,7 @@ RUN python3 -m pip install botocore boto3 && \
# Find packages already installed on system, e.g. autoconf
RUN spack external find && \
spack config add 'packages:all:target:[x86_64]' && \
spack config add 'concretizer:reuse:true' && \
# Install a new CMake
spack install [email protected]

Expand Down
11 changes: 11 additions & 0 deletions ubuntu/dpcpp-cuda/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ARG cuda_version
FROM ghcr.io/rse-ops/cuda-ubuntu-22.04:$cuda_version

# Install dpc++ with spack
ARG dpcpp_version
ENV dpcpp_version=$dpcpp_version
ENV spack_spec=dpcpp@${dpcpp_version} build_type=MinSizeRel +cuda+lld+openmp+shared

RUN spack install ${spack_spec}
RUN spack view --dependencies no symlink --ignore-conflicts /opt/view ${spack_spec} && \
spack compiler find
16 changes: 16 additions & 0 deletions ubuntu/dpcpp-cuda/uptodate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
dockerbuild:
build_args:
dpcpp_version:
key: dpcpp
name: dpcpp
type: spack
startat: "2021.09"

# Look for ubuntu versions for our base builds
cuda_version:
key: cuda
name: ghcr.io/rse-ops/cuda-ubuntu-22.04
type: container
startat: "10.1.243"
# filter:
# - "^[0-9]+[.]04$"
11 changes: 11 additions & 0 deletions ubuntu/dpcpp-hip/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ARG hip_version
FROM ghcr.io/rse-ops/hip-ubuntu-22.04:$hip_version

# Install dpc++ with spack
ARG dpcpp_version
ENV dpcpp_version=$dpcpp_version
ENV spack_spec=dpcpp@${dpcpp_version} build_type=MinSizeRel +rocm+lld+openmp+shared

RUN spack install ${spack_spec}
RUN spack view --dependencies no symlink --ignore-conflicts /opt/view ${spack_spec} && \
spack compiler find
16 changes: 16 additions & 0 deletions ubuntu/dpcpp-hip/uptodate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
dockerbuild:
build_args:
dpcpp_version:
key: dpcpp
name: dpcpp
type: spack
startat: "2021.09"

# Look for ubuntu versions for our base builds
hip_version:
key: hip
name: ghcr.io/rse-ops/hip-ubuntu-22.04
type: container
startat: "4.2.0"
# filter:
# - "^[0-9]+[.]04$"