From 005e9c04dab5e21f1e6e0e303d876e48f5f8dcbf Mon Sep 17 00:00:00 2001 From: chantra Date: Tue, 5 Jul 2022 08:43:04 -0700 Subject: [PATCH] [ci] bump LLVM to version 11 This is what BCC is going to be [using as base version in the future](https://github.com/iovisor/bcc/issues/3808), so eventually, the current LLVM 9 will break. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a18cf66..c074ee7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ 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 @@ -25,7 +25,7 @@ jobs: # 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