Skip to content

Commit 726e3cb

Browse files
Updated docker container
1 parent 4007b94 commit 726e3cb

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Dockerfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,27 @@ FROM debian:trixie-slim AS build
22
SHELL ["/bin/bash", "-c"]
33

44
RUN apt-get -y update && apt-get install -y apt-utils && apt-get remove --purge gcc
5-
RUN apt-get install -y -qq -o=Dpkg::Use-Pty=0 mold ninja-build cmake clang-18 clang++-18 clang-tools-18 libc++-18-dev libc++abi-18-dev \
6-
libcurl4-openssl-dev git curl wget ca-certificates python3 python3-pip llvm-18 llvm-18-dev
5+
RUN apt-get install -y -qq -o=Dpkg::Use-Pty=0 mold ninja-build cmake clang-19 clang++-19 clang-tools-19 libc++-19-dev libc++abi-19-dev \
6+
libcurl4-openssl-dev git curl wget ca-certificates python3 python3-pip
77
RUN rm $(which gcc) || true
88
RUN rm $(which g++) || true
99
RUN rm -rf /var/lib/apt/lists/* && rm /usr/bin/ld
1010
#RUN ln -s $(which clang-18) /usr/bin/clang
1111
#RUN ln -s $(which clang++-18) /usr/bin/clang++
1212
RUN ln -s $(which mold) /usr/bin/ld
13-
13+
RUN clang-19 --version
14+
RUN ln -s $(which clang-19) /usr/bin/clang
15+
RUN clang++-19 --version
16+
RUN ln -s $(which clang++-19) /usr/bin/clang++
1417
COPY . /vcellroot
1518

1619
RUN mkdir -p /vcellroot/build/bin
1720
WORKDIR /vcellroot/build
1821

19-
RUN clang++ --version
20-
RUN /usr/bin/cmake .. -G Ninja -DOPTION_TARGET_MESSAGING=ON -DOPTION_TARGET_DOCS=OFF
22+
23+
RUN /usr/bin/cmake .. -G Ninja -DOPTION_TARGET_MESSAGING=ON -DOPTION_TARGET_DOCS=OFF -DCMAKE_CXX_FLAGS="-fexperimental-library"
2124
RUN ninja --verbose
22-
RUN ctest -VV
25+
RUN ctest -VV --output-on-failure
2326

2427
WORKDIR /vcellroot/build/bin
2528
ENV PATH="/vcellroot/build/bin:${PATH}"

0 commit comments

Comments
 (0)