Skip to content

Commit

Permalink
devcontainer: Install clang sanitizer runtimes
Browse files Browse the repository at this point in the history
Clang sanitizers require "compiler-rt" runtime libraries
(https://compiler-rt.llvm.org/).
Fedora packages those separately as `compiler-rt`.

- add `compiler-rt`
- split the lines to make the list installed stuff easier to read
  • Loading branch information
encukou authored Oct 17, 2024
1 parent d5e7029 commit 407ccd0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ ENV WASMTIME_HOME=/opt/wasmtime
ENV WASMTIME_VERSION=22.0.0
ENV WASMTIME_CPU_ARCH=x86_64

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)' && \
dnf -y --nodocs --setopt=install_weak_deps=False --disablerepo=fedora-cisco-openh264 builddep python3 && \
RUN dnf -y --nodocs --setopt=install_weak_deps=False --disablerepo=fedora-cisco-openh264 install \
/usr/bin/{blurb,clang,curl,git,ln,tar,xz} \
compiler-rt \
'dnf5-command(builddep)' && \
dnf -y --nodocs --setopt=install_weak_deps=False --disablerepo=fedora-cisco-openh264 \
builddep python3 && \
dnf -y clean all

RUN mkdir ${WASI_SDK_PATH} && \
Expand Down

0 comments on commit 407ccd0

Please sign in to comment.