Menu

Home

What is it?

This project represents unofficial builds of the LLVM library.

Supported platforms

At moment only Linux and Windows x86-64 are supported.

Supported toolchains

Linux: CLang.
Windows: MSVC/MinGW/CLang (clang-cl).

Build features

  • Debug/Release variants.
  • Enabled RTTI.
  • Enabled exceptions.

Each build archive contains file build-info.txt with build details and CMake commands.

Maven C++ Artifactory

There is Maven C++ Artifactory for Gradle which contains a shared version of the LLVM library (9.0.0 only at the moment). There are shared libraries produced by MSVC (clang-cl) which doesn't support by official build procedure of LLVM for Windows.

Versions variants for different toolchains for Windows:

  • version - MSVC
  • version-1 MinGW
  • version-2 CLang (clang-cl)

Example: 9.0.0-2 - CLang version of shared library.

Usage with Gradle script:

plugins {
    id 'cpp-application'
}

repositories {
    maven {
        url = 'https://sourceforge.net/projects/llvm-binaries/files/maven'
    }
}

dependencies {
    implementation 'org.llvm:llvm-so:9.0.0'
}

Integration with Gradle via plugin

There is Gradle plugin cpp-llvm which allows to use LLVM library just by two lines in the build script. Please take a look https://gradle-cpp.sourceforge.io for details.

Project Members: