diff --git a/ubuntu2204_clang/Dockerfile b/ubuntu2204_clang/Dockerfile index c2ef088..647a1b8 100644 --- a/ubuntu2204_clang/Dockerfile +++ b/ubuntu2204_clang/Dockerfile @@ -69,6 +69,7 @@ ENV ROOT_VERSION=6.28.06 ENV PODIO_VERSION=01-00-01 ENV EDM4HEP_VERSION=00-10-01 ENV DD4HEP_VERSION=01-29 +ENV GEOMODEL_VERSION=6.3.0 # Geant4 RUN mkdir src \ @@ -119,6 +120,18 @@ RUN mkdir src \ && cmake --build build -- install \ && rm -rf build src +# GeoModel +RUN mkdir src \ + && ${GET} https://gitlab.cern.ch/GeoModelDev/GeoModel/-/archive/${GEOMODEL_VERSION}/GeoModel-${GEOMODEL_VERSION}.tar.gz \ + | ${UNPACK_TO_SRC} \ + && cmake -B build -S src -GNinja \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=${PREFIX} \ + -DCMAKE_CXX_STANDARD=20 \ + -DGEOMODEL_BUILD_GEOMODELG4=ON \ + && cmake --build build -- install \ + && rm -rf build src + # ROOT RUN mkdir src \ && ${GET} https://root.cern/download/root_v${ROOT_VERSION}.source.tar.gz \