From 42b21ba6d0d666a973b297deede8a8a6367bb12d Mon Sep 17 00:00:00 2001 From: Animesh Sinha Date: Tue, 15 Aug 2023 01:01:13 +0530 Subject: [PATCH] Fixing the build, by upgrading LLVM The cloud build failed, most probably because the LLVM version from the tutorial is not the one in the image, so upgrading. --- .github/workflows/cmake.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index a695d52..f3f7008 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -23,8 +23,17 @@ jobs: with: submodules: recursive + - name: Install LLVM + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x llvm.sh + sudo ./llvm.sh 16 + sudo apt update + sudo apt-get install -y llvm-16 lldb-16 llvm-16-dev libllvm16 llvm-16-runtime + sudo apt-get remove -y llvm-12 lldb-12 llvm-12-dev libllvm12 llvm-12-runtime + sudo apt-get remove -y llvm-13 lldb-13 llvm-13-dev libllvm13 llvm-13-runtime + - name: Install Boost - # Build your program with the given configuration run: sudo apt-get install -y libboost-all-dev - name: Configure CMake