Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run:
go test -v -tags=llvm${{ matrix.llvm }}
- name: Test default LLVM
if: matrix.llvm == 19
if: matrix.llvm == 21
run:
go test -v
test-linux:
Expand All @@ -52,7 +52,7 @@ jobs:
run:
go test -v -tags=llvm${{ matrix.llvm }}
- name: Test default LLVM
if: matrix.llvm == 19
if: matrix.llvm == 21
run:
go test -v
test-linux-fedora:
Expand All @@ -75,6 +75,6 @@ jobs:
run:
go test -v -tags=llvm${{ matrix.llvm }}
- name: Test default LLVM
if: matrix.llvm == 19
if: matrix.llvm == 21
run:
go test -v
8 changes: 4 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ This library provides bindings to a system-installed LLVM.

Currently supported:

* LLVM 20, 19, 18, 17, 16, 15 and 14 from [apt.llvm.org](http://apt.llvm.org/) on Debian/Ubuntu.
* LLVM 20, 19, 18, 17, 16, 15 and 14 from Homebrew on macOS.
* LLVM 22, 21, 20, 19, 18, 17, 16, 15 and 14 from [apt.llvm.org](http://apt.llvm.org/) on Debian/Ubuntu.
* LLVM 22, 21, 20, 19, 18, 17, 16, 15 and 14 from Homebrew on macOS.
* Any of the above versions with a manually built LLVM through the `byollvm` build tag. You need to set up `CFLAGS`/`LDFLAGS` etc yourself in this case.

You can select the LLVM version using a build tag, for example `-tags=llvm17`
to use LLVM 17.
LLVM 21 is selected by default. You can select another LLVM version using a
build tag, for example `-tags=llvm19` to use LLVM 19.

## Usage

Expand Down
4 changes: 2 additions & 2 deletions llvm_config_llvm19.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !byollvm && !llvm14 && !llvm15 && !llvm16 && !llvm17 && !llvm18 && !llvm20 && !llvm21 && !llvm22
// +build !byollvm,!llvm14,!llvm15,!llvm16,!llvm17,!llvm18,!llvm20,!llvm21,!llvm22
//go:build !byollvm && llvm19
// +build !byollvm,llvm19

package llvm

Expand Down
3 changes: 2 additions & 1 deletion llvm_config_llvm21.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !byollvm && llvm21
//go:build !byollvm && !llvm14 && !llvm15 && !llvm16 && !llvm17 && !llvm18 && !llvm19 && !llvm20 && !llvm22
// +build !byollvm,!llvm14,!llvm15,!llvm16,!llvm17,!llvm18,!llvm19,!llvm20,!llvm22

package llvm

Expand Down
Loading