Skip to content

Commit

Permalink
Upgrade CI to use LLVM 15.
Browse files Browse the repository at this point in the history
  • Loading branch information
deadalnix committed May 24, 2023
1 parent 7917cf2 commit 0d32462
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/all_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Run all tests [Ubuntu]
on: [push, pull_request]

env:
LLVM_VERSION: "14"
LLVM_CONFIG: llvm-config-14
LLVM_VERSION: "15"
LLVM_CONFIG: llvm-config-15

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions src/d/llvm/codegen.d
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ final class CodeGen {
globals.remove(null);

llvmCtx = LLVMContextCreate();
LLVMContextSetOpaquePointers(llvmCtx, false);

import std.string;
dmodule = LLVMModuleCreateWithNameInContext(name.toStringz(), llvmCtx);
Expand Down

0 comments on commit 0d32462

Please sign in to comment.