The TS-GitLab will have to shut down towards the end of the year — please think about migrating your projects to GitLab.com or GitHub.
(This is still a very early message, meant to keep you informed. There will be more urgent ones in the future.)

Commit eef68e1e authored by Lukas Riedel's avatar Lukas Riedel
Browse files

Add Dockerfile for building DUNE testing image with clang

Based on regular (GCC) DUNE env image
parent 1b21049f
ARG DUNE_ENV_IMAGE=dorie/dune-env
FROM $DUNE_ENV_IMAGE
RUN apt-get clean && apt-get update && apt-get remove -y \
gcc \
g++ \
&& apt-get install -y \
clang
WORKDIR /opt/dune
# clean directories and rebuild DUNE
RUN ./dune-common/bin/dunecontrol exec "rm -rf build-cmake"
RUN MAKE_FLAGS="-j ${PROCNUM}" \
CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DDUNE_PYTHON_VIRTUALENV_SETUP=True -DDUNE_PYTHON_ALLOW_GET_PIP=True" \
./dune-common/bin/dunecontrol all
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment