Skip to content

Commit

Permalink
Fixing the build, by upgrading LLVM
Browse files Browse the repository at this point in the history
The cloud build failed, most probably because the LLVM version from the
tutorial is not the one in the image, so upgrading.
  • Loading branch information
AnimeshSinha1309 committed Aug 14, 2023
1 parent e6c48f5 commit 42b21ba
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42b21ba

Please sign in to comment.