Commit fc30992a authored by Emil Velikov's avatar Emil Velikov

Revert "configure.ac: Create correct LLVM_VERSION_INT with minor >= 10"

As stated in [1] by the LLVM devs, the new versioning scheme will not
deploy any minor version (i.e. it will always be zero). As such the
patch should not be needed.

This reverts commit 0e9a5be7.

[1] http://blog.llvm.org/2016/12/llvms-new-versioning-scheme.htmlReviewed-by: default avatarTobias Droste <tdroste@gmx.de>
parent 5e9f4a5f
...@@ -952,11 +952,7 @@ llvm_set_environment_variables() { ...@@ -952,11 +952,7 @@ llvm_set_environment_variables() {
LLVM_VERSION_PATCH=0 LLVM_VERSION_PATCH=0
fi fi
if test "$LLVM_VERSION_MINOR" -lt 10; then LLVM_VERSION_INT="${LLVM_VERSION_MAJOR}0${LLVM_VERSION_MINOR}"
LLVM_VERSION_INT="${LLVM_VERSION_MAJOR}0${LLVM_VERSION_MINOR}"
else
LLVM_VERSION_INT="${LLVM_VERSION_MAJOR}${LLVM_VERSION_MINOR}"
fi
FOUND_LLVM=yes FOUND_LLVM=yes
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment