Skip to content

Commit

Permalink
[ci] bump LLVM to version 11
Browse files Browse the repository at this point in the history
This is what BCC is going to be [using as base version in the
future](iovisor/bcc#3808), so
eventually, the current LLVM 9 will break.
  • Loading branch information
chantra committed Jul 5, 2022
1 parent 2289761 commit 005e9c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
# Use release 9 of llvm etc. - later versions have an unfixed
# bug on Ubuntu:
# https://github.com/iovisor/bcc/issues/2915
sudo apt-get -y install bison build-essential cmake flex git libelf-dev libfl-dev libedit-dev libllvm9 llvm-9-dev libclang-9-dev python zlib1g-dev
sudo apt-get -y install bison build-essential cmake flex git libelf-dev libfl-dev libedit-dev libllvm11 llvm-11-dev libclang-cpp11-dev libclang-common-11-dev libclang1-11 libclang-11-dev python zlib1g-dev
pushd /tmp
git clone --depth 1 --branch v0.20.0 https://github.com/iovisor/bcc.git
mkdir -p bcc/build; cd bcc/build
# Symlink /usr/lib/llvm to avoid "Unable to find clang libraries"
# The directory appears only to be created when installing the
# virtual llvm-dev package.
# https://github.com/iovisor/bcc/issues/492
sudo ln -s /usr/lib/llvm-9 /usr/local/llvm
sudo ln -s /usr/lib/llvm-11 /usr/local/llvm
cmake ..
make
sudo make install
Expand Down

0 comments on commit 005e9c0

Please sign in to comment.