swh:1:snp:a72e953ecd624a7df6e6196bbdd05851996c5e40
Raw File
Tip revision: 7f0ee122d70af8835bfd4a69875f3202550f60df authored by Kristoffer Carlsson on 27 July 2020, 15:24:48 UTC
set VERSION to 1.5-rc2 (#36659)
Tip revision: 7f0ee12
llvm-version.h
// This file is a part of Julia. License is MIT: https://julialang.org/license

#include <llvm/Config/llvm-config.h>
#include "julia_assert.h"

// The LLVM version used, JL_LLVM_VERSION, is represented as a 5-digit integer
// of the form ABBCC, where A is the major version, B is minor, and C is patch.
// So for example, LLVM 3.7.0 is 30700.
#define JL_LLVM_VERSION (LLVM_VERSION_MAJOR * 10000 + LLVM_VERSION_MINOR * 100 \
                        + LLVM_VERSION_PATCH)

#if JL_LLVM_VERSION < 80000
    #error Only LLVM versions >= 8.0.0 are supported by Julia
#endif
#if JL_LLVM_VERSION < 100000
#define Align(a) (a)
#endif

#define LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING 0
back to top