From 1d7efa0597dfe3b8217a4d4b6a278f69c659d60f Mon Sep 17 00:00:00 2001 From: Adrian Pop Date: Wed, 4 Nov 2026 07:29:35 +0100 Subject: [PATCH] Install Boost in the testing image for the maintenance branches (#389) The base image lost Boost when OpenModelicaBuildScripts#80 dropped it from the openmodelica Build-Depends (master no longer uses it since OpenModelica#17057). The autotools build of maintenance/v1.26 and v1.27 still includes it in ParModelica/auto and links it in the C++ runtime, so the v1.27 omc build of LibraryTest #11947 stopped at parmodauto with 'boost/chrono.hpp' file not found. Co-Authored-By: Claude Opus 5.5 --- .CI/testing/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.CI/testing/Dockerfile b/.CI/testing/Dockerfile index aab55eb..434ba0b 100644 --- a/.CI/testing/Dockerfile +++ b/.CI/testing/Dockerfile @@ -19,6 +19,10 @@ FROM docker.openmodelica.org/build-deps:ubuntu-26.04-rust # autoconf/automake/libtool and omniORB build the maintenance branches: master builds with cmake, # while v1.26 and v1.27 still go through `autoreconf && ./configure --with-omniORB`. The base image # carries what the cmake build needs, which is not quite the same set. +# Boost is one of the differences: master dropped it (OpenModelica#17057) and so did the base +# image's `apt-get build-dep openmodelica` (OpenModelicaBuildScripts#80), but the maintenance +# branches still include it in ParModelica/auto (chrono, graph) and link it in the C++ runtime +# (filesystem, system, serialization, program_options, log, thread). RUN export DEBIAN_FRONTEND=noninteractive \ && apt-get update \ && apt-get install -qy software-properties-common \ @@ -26,6 +30,9 @@ RUN export DEBIAN_FRONTEND=noninteractive \ && apt-get install -qy --no-install-recommends openssh-client psmisc rsync time \ && apt-get install -qy --no-install-recommends libcomedi-dev libx11-dev libnetcdf-dev mosquitto \ && apt-get install -qy --no-install-recommends autoconf automake libtool omniidl libomniorb4-dev \ + && apt-get install -qy --no-install-recommends libboost-dev libboost-chrono-dev libboost-filesystem-dev \ + libboost-system-dev libboost-serialization-dev libboost-program-options-dev libboost-log-dev \ + libboost-thread-dev \ && apt-get install -qy python3.8 python3.12 libpython3.8-dev libpython3.12-dev \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*