Skip to content

Commit

Permalink
deps: Update to llvm-15
Browse files Browse the repository at this point in the history
This is the patch from Deeploy
fischeti committed Sep 2, 2024
1 parent 0e14490 commit 9710793
Showing 5 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ jobs:
# Build and Test #
##################
Banshee:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
@@ -24,7 +24,7 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
- name: Install LLVM
run: sudo apt install llvm-12-dev libclang-common-12-dev
run: sudo apt install llvm-15-dev libclang-common-15-dev
- name: Build Banshee
run: cargo build
- name: Run Banshee tests
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ csv = "1.0.0-beta.2"
elf = "0.0.10"
flexfloat = { path = "flexfloat" }
itertools = "0.9"
llvm-sys = "120"
llvm-sys = "150"
log = { version = "0.4", features = ["release_max_level_info"] }
pest = "2.1.3"
pest_derive = "2.1.0"
3 changes: 1 addition & 2 deletions build/runtime.rs
Original file line number Diff line number Diff line change
@@ -22,8 +22,7 @@ pub fn build() {
"--crate-type=staticlib",

Check warning on line 22 in build/runtime.rs

GitHub Actions / Format

Diff in /home/runner/work/banshee/banshee/build/runtime.rs
"-Copt-level=3",
"-Cdebuginfo=0",
"-Cpanic=abort",
"-Cllvm-args=-opaque-pointers=0",
"-Cpanic=abort"
])
.status()
.unwrap();
1 change: 0 additions & 1 deletion src/engine.rs
Original file line number Diff line number Diff line change
@@ -281,7 +281,6 @@ impl Engine {

LLVMPassManagerBuilderPopulateFunctionPassManager(builder, func_passes);
LLVMAddAnalysisPasses(tm, module_passes);
LLVMPassManagerBuilderPopulateLTOPassManager(builder, module_passes, 0, 1);
LLVMPassManagerBuilderPopulateModulePassManager(builder, module_passes);

// Create and run the function pass manager.
2 changes: 1 addition & 1 deletion src/tran.rs
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ use std::{
};
extern crate flexfloat;

static NONAME: &'static i8 = unsafe { std::mem::transmute("\0".as_ptr()) };
static NONAME: &'static u8 = unsafe { std::mem::transmute("\0".as_ptr()) };

/// Base address of the stream semantic regsiters
static SSR_BASE: u64 = 0x204800;

0 comments on commit 9710793

Please sign in to comment.