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 e4e87ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ jobs:
with:
submodules: recursive

- name: Install LLVM
run: |
sudo apt-get install -y llvm-15 lldb-15 llvm-15-dev libllvm15 llvm-15-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
1 change: 0 additions & 1 deletion src/evaluator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <llvm/ExecutionEngine/Orc/IRCompileLayer.h>
#include <llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h>
#include <llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h>
#include <llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h>
#include <llvm/ExecutionEngine/SectionMemoryManager.h>
#include <llvm/IR/DataLayout.h>
#include <llvm/IR/LLVMContext.h>
Expand Down

0 comments on commit e4e87ee

Please sign in to comment.