Skip to content

Commit d450504

Browse files
authored
devcontainer: Install clang sanitizer runtimes (#24)
Clang sanitizers require "compiler-rt" runtime libraries (https://compiler-rt.llvm.org/). Fedora packages those separately as `compiler-rt`.
1 parent d5e7029 commit d450504

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

devcontainer/Dockerfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ ENV WASMTIME_HOME=/opt/wasmtime
99
ENV WASMTIME_VERSION=22.0.0
1010
ENV WASMTIME_CPU_ARCH=x86_64
1111

12-
RUN dnf -y --nodocs --setopt=install_weak_deps=False --disablerepo=fedora-cisco-openh264 install /usr/bin/{blurb,clang,curl,git,ln,tar,xz} 'dnf5-command(builddep)' && \
13-
dnf -y --nodocs --setopt=install_weak_deps=False --disablerepo=fedora-cisco-openh264 builddep python3 && \
12+
RUN dnf -y --nodocs --setopt=install_weak_deps=False --disablerepo=fedora-cisco-openh264 install \
13+
/usr/bin/{blurb,clang,curl,git,ln,tar,xz} \
14+
compiler-rt \
15+
'dnf5-command(builddep)' && \
16+
dnf -y --nodocs --setopt=install_weak_deps=False --disablerepo=fedora-cisco-openh264 \
17+
builddep python3 && \
1418
dnf -y clean all
1519

1620
RUN mkdir ${WASI_SDK_PATH} && \

0 commit comments

Comments
 (0)