Skip to content

Commit

Permalink
[jenkins] Add ubuntu-intel build
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Sep 29, 2023
1 parent b514e11 commit 9837ad6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def platforms = [:]

/****************** linux builds (in docker) */
/* Each platform must have a corresponding Dockerfile.PLATFORM in triqs/packaging */
def dockerPlatforms = ["ubuntu-clang", "ubuntu-gcc", "sanitize"]
def dockerPlatforms = ["ubuntu-clang", "ubuntu-gcc", "ubuntu-intel", "sanitize"]
/* .each is currently broken in jenkins */
for (int i = 0; i < dockerPlatforms.size(); i++) {
def platform = dockerPlatforms[i]
Expand Down
31 changes: 31 additions & 0 deletions packaging/Dockerfile.ubuntu-intel
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
FROM intel/oneapi-hpckit:2023.2.1-devel-ubuntu22.04
ARG LLVM=15

RUN apt-get update && apt-get install -y lsb-release wget software-properties-common && \
wget -O /tmp/llvm.sh https://apt.llvm.org/llvm.sh && chmod +x /tmp/llvm.sh && /tmp/llvm.sh ${LLVM} && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
g++-12 \
git \
vim \
lldb-${LLVM} \
hdf5-tools \
libboost-dev \
libclang-${LLVM}-dev \
libc++-${LLVM}-dev \
libc++abi-${LLVM}-dev \
libfftw3-dev \
libgmp-dev \
libhdf5-dev \
python3-clang-${LLVM} \
python3-dev \
python3-mako \
python3-matplotlib \
python3-mpi4py \
python3-numpy \
python3-pip \
python3-scipy

RUN pip install cmake

ENV PYTHON_VERSION=3.10 \
CC=icx CXX=icpx CXXFLAGS="-stdlib=libc++"

0 comments on commit 9837ad6

Please sign in to comment.