Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
res
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

LLVM C API wrapper

A Julia wrapper for the LLVM C API.

Documentation Build Status Coverage
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.

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")

Note that the package is 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).

You can’t perform that action at this time.