Skip to content

Commit

Permalink
rpcdaemon: enable fuzzer build on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JacekGlen committed Oct 13, 2023
1 parent bf57a0d commit f466927
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cmake/setup/compiler_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ function install_clang {
echo "Installing clang $CLANG_VERSION..."

sudo apt-get update
sudo apt-get install -y llvm-$CLANG_VERSION libc++-$CLANG_VERSION-dev libc++abi-$CLANG_VERSION-dev clang-$CLANG_VERSION

if [[ "$CLANG_VERSION" == "16" ]]
then
apt-get install -y clang-16 lldb-16 lld-16 clangd-16 clang-tidy-16 clang-format-16 clang-tools-16 llvm-16-dev lld-16 lldb-16 llvm-16-tools libomp-16-dev libc++-16-dev libc++abi-16-dev libclang-common-16-dev libclang-16-dev libclang-cpp16-dev libunwind-16-dev
else
sudo apt-get install -y llvm-$CLANG_VERSION libc++-$CLANG_VERSION-dev libc++abi-$CLANG_VERSION-dev clang-$CLANG_VERSION
fi

sudo ln -sfv /usr/bin/clang-$CLANG_VERSION /usr/bin/clang
sudo ln -sfv /usr/bin/clang++-$CLANG_VERSION /usr/bin/clang++
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
Expand Down

0 comments on commit f466927

Please sign in to comment.