• en

llvm 3.1

Maintainer sebastien.fricker@gmail.com
Optional dependencies
conf-llvm-debug
Published Dec 28, 2012
Source [http] http://oqamldebug.forge.ocamlcore.org/llvm-3.1.tar.gz
6dd9b3ffd7e786afd94e2a43481f62ed
Edit https://github.com/ocaml/opam-repository/tree/master/packages/llvm/llvm.3.1/opam

LLVM (tools, C++ libraries and ocaml binfing) and clang

This packge install:

  • LLVM C++ libraries
  • LLVM command line tools
  • clang C++ compiler
  • OCaml binding

If conf-llvm-debug package is installed, a debug build (with symbols and runtime checks) is generated.

To compile C++ code:

  • Includes are installed in "$(opam config -var prefix)/include"
  • Libraries are installed in "$(opam config -var prefix)/lib"

Compilation sample: g++ -L"$(opam config -var prefix)/lib" -I"$(opam config -var prefix)/include" -lLLVM-3.1 mysample.cpp -o mysample

NOTE: this package does not use the official LLVM tar distribution. The

  official distribution uses 3 separate packages.
  To generate this source package, execute:
    ./llvm_package 3.1
No package is dependent