mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
Test the latest Intel oneAPI HPC Toolkit version with ssmp and psmp using the new ifx Fortran compiler. The existing Intel tests use still the old ifort compiler.
35 lines
909 B
Text
35 lines
909 B
Text
#
|
|
# This file was created by generate_dockerfiles.py.
|
|
# Usage: podman build --shm-size=1g -f ./Dockerfile.test_doxygen ../../
|
|
#
|
|
|
|
FROM ubuntu:24.04
|
|
|
|
# Install dependencies.
|
|
WORKDIR /opt/cp2k
|
|
COPY ./tools/docker/scripts/install_doxygen.sh .
|
|
RUN ./install_doxygen.sh
|
|
ENV PATH="/opt/venv/bin:$PATH"
|
|
|
|
# Install sources.
|
|
ARG GIT_COMMIT_SHA
|
|
COPY ./src ./src
|
|
COPY ./exts ./exts
|
|
COPY ./data ./data
|
|
COPY ./docs ./docs
|
|
COPY ./tools ./tools
|
|
COPY ./tests ./tests
|
|
COPY ./cmake ./cmake
|
|
COPY ./CMakeLists.txt .
|
|
COPY ./Makefile .
|
|
RUN bash -c "if [ -n "${GIT_COMMIT_SHA}" ] ; then echo "git:\${GIT_COMMIT_SHA::7}" > REVISION; fi"
|
|
|
|
# Run test for doxygen.
|
|
COPY ./tools/docker/scripts/test_doxygen.sh .
|
|
RUN ./test_doxygen.sh 2>&1 | tee report.log
|
|
|
|
# Output the report if the image is old and was therefore pulled from the build cache.
|
|
CMD cat $(find ./report.log -mmin +10) | sed '/^Summary:/ s/$/ (cached)/'
|
|
ENTRYPOINT []
|
|
|
|
#EOF
|