Skip to content

Commit

Permalink
Fix Missing LLVM for RVC4 TFLite Conversion (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 authored Aug 5, 2024
1 parent 6468043 commit 9c9fdae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docker/bases/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM debian:bookworm-slim as BUILDER

RUN apt-get update && \
apt-get install -y \
cmake unzip perl libatomic1 libc++-dev ffmpeg libcurl4 libncurses5
cmake unzip perl libatomic1 libc++-dev ffmpeg libcurl4 libncurses5 llvm-14-runtime

COPY --link docker/bases/scripts /scripts
RUN bash /scripts/install_openssl.sh
Expand Down Expand Up @@ -79,4 +79,10 @@ COPY --link --from=BUILDER \
/usr/lib/x86_64-linux-gnu/libunwind.so.1 \
/usr/lib/x86_64-linux-gnu/libatomic.so.1 \
/usr/lib/x86_64-linux-gnu/libtinfo.so.5 \
/usr/lib/x86_64-linux-gnu/libLLVM-14.so.1 \
/usr/lib/x86_64-linux-gnu/libedit.so.2 \
/usr/lib/x86_64-linux-gnu/libz3.so.4 \
/usr/lib/x86_64-linux-gnu/libxml2.so.2 \
/usr/lib/x86_64-linux-gnu/libicuuc.so.72 \
/usr/lib/x86_64-linux-gnu/libicudata.so.72 \
/usr/lib_snpe/
2 changes: 1 addition & 1 deletion docker/rvc4/Dockerfile.public
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app

RUN apt-get update && \
apt-get install -y \
cmake unzip perl libatomic1 libc++-dev ffmpeg libcurl4 libncurses5 patch git
cmake unzip perl libatomic1 libc++-dev ffmpeg libcurl4 libncurses5 patch git llvm-14-runtime

COPY docker/extra_packages/snpe.zip .
RUN unzip snpe.zip -d /opt && rm snpe.zip
Expand Down

0 comments on commit 9c9fdae

Please sign in to comment.