Skip to content

Commit

Permalink
dockerfile: don't hardcode clang version when installing infer
Browse files Browse the repository at this point in the history
  • Loading branch information
paradajz committed Nov 17, 2022
1 parent 3f710ce commit 4f23a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ cd /opt && \
wget ${WGET_ARGS} https://github.com/facebook/infer/releases/download/v1.1.0/infer-linux64-v1.1.0.tar.xz && \
tar -xf infer-linux64-v1.1.0.tar.xz && \
rm infer-linux64-v1.1.0.tar.xz && \
cp /lib/clang/15.0.4/lib/linux/libclang_rt.profile-x86_64.a /opt/infer-linux64-v1.1.0/lib/infer/facebook-clang-plugins/clang/install/lib/clang/11.1.0/lib/linux
cp $(find /lib/clang -mindepth 1 -maxdepth 1 -type d | sort -r | head -1)/lib/linux/libclang_rt.profile-x86_64.a /opt/infer-linux64-v1.1.0/lib/infer/facebook-clang-plugins/clang/install/lib/clang/11.1.0/lib/linux

ENV PATH="/opt/infer-linux64-v1.1.0/bin:/opendeck-deps/arduino-1.8.19/hardware/tools/avr/bin:/opendeck-deps/gcc-arm-none-eabi-10.3-2021.10/bin:$PATH"

Expand Down

0 comments on commit 4f23a7c

Please sign in to comment.