JuliaLLVM/LLVM.jl

Julia wrapper for the LLVM C API

Julia

145

1,653 commits

updated Oct 2, 2026

See the code

README

LLVM C API wrapper

A Julia wrapper for the LLVM C API.

PkgEval

The LLVM.jl package is a Julia wrapper for the LLVM C API, and can be used to work with the LLVM compiler framework from Julia. You can use the package to work with LLVM code generated by Julia, to interoperate with the Julia compiler, or to create your own compiler. It is heavily used by the different GPU compilers for the Julia programming language.

Requirements

LLVM.jl is supported on Julia 1.10+, and thus requires LLVM 15. However, the package is really only intended to be used with the LLVM library shipped with Julia. That means you can not use it with other LLVM libraries, like the one provided by your operating system. It is recommended to use the official binaries from julialang.org, but custom builds are supported too (as long as they provide a dynamically-linked copy of the LLVM library).

Installation

LLVM.jl can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:

pkg> add LLVM

Or, equivalently, via the Pkg API:

julia> import Pkg; Pkg.add("LLVM")
hacktoberfest
julia
julia-library
llvm
llvm-bindings

Significant stargazers

Laine Taffin Altman

123 followers · starred Nov 2021

Casey Kneale

92 followers · starred Mar 2021

Jake Vossen

21 followers · starred Mar 2022

Sunho Kim

118 followers · starred Jun 2022

JuliaLLVM/LLVM.jl

Julia wrapper for the LLVM C API

Julia

145

1,653 commits

updated Oct 2, 2026

See the code

README

LLVM C API wrapper

A Julia wrapper for the LLVM C API.

PkgEval

The LLVM.jl package is a Julia wrapper for the LLVM C API, and can be used to work with the LLVM compiler framework from Julia. You can use the package to work with LLVM code generated by Julia, to interoperate with the Julia compiler, or to create your own compiler. It is heavily used by the different GPU compilers for the Julia programming language.

Requirements

LLVM.jl is supported on Julia 1.10+, and thus requires LLVM 15. However, the package is really only intended to be used with the LLVM library shipped with Julia. That means you can not use it with other LLVM libraries, like the one provided by your operating system. It is recommended to use the official binaries from julialang.org, but custom builds are supported too (as long as they provide a dynamically-linked copy of the LLVM library).

Installation

LLVM.jl can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:

pkg> add LLVM

Or, equivalently, via the Pkg API:

julia> import Pkg; Pkg.add("LLVM")
hacktoberfest
julia
julia-library
llvm
llvm-bindings

Significant stargazers

Laine Taffin Altman

123 followers · starred Nov 2021

Casey Kneale

92 followers · starred Mar 2021

Jake Vossen

21 followers · starred Mar 2022

Sunho Kim

118 followers · starred Jun 2022

Languages

Julia

100.0%