File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
tools/tests/dockerfiles/ubuntu_2404 Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ ARG SU2_VERSION
140140USER precice
141141
142142# Download and build SU2 (We could also use pre-built binaries from the SU2 releases)
143+ # The sed command applies a patch needed for Ubuntu 24.04.
143144WORKDIR /home/precice
144145RUN wget https://github.com/su2code/SU2/archive/refs/tags/v${SU2_VERSION}.tar.gz && \
145146 tar xvzf v${SU2_VERSION}.tar.gz && \
@@ -158,5 +159,6 @@ RUN git clone https://github.com/precice/su2-adapter.git && \
158159 git checkout ${SU2_ADAPTER_REF} &&\
159160 ./su2AdapterInstall
160161RUN cd "${SU2_HOME}" &&\
162+ sed -i '1s/^/#include <cstdint>\n /' SU2_CFD/src/output/filewriter/CParaviewXMLFileWriter.cpp &&\
161163 ./meson.py build -Denable-pywrapper=true --prefix=$SU2_RUN &&\
162164 ./ninja -C build install
You can’t perform that action at this time.
0 commit comments