[Mesa-dev] [PATCH 5/8] Revert "configure.ac: Create correct LLVM_VERSION_INT with minor >= 10"

Tobias Droste tdroste at gmx.de
Wed Jan 18 17:57:46 UTC 2017


Reviewed-by: Tobias Droste <tdroste at gmx.de>

Am Mittwoch, 18. Januar 2017, 13:54:01 CET schrieb Emil Velikov:
> 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 0e9a5be7e74fa2a9bd2a634ef60822bd6600ca1d.
> 
> [1] http://blog.llvm.org/2016/12/llvms-new-versioning-scheme.html
> Cc: Tobias Droste <tdroste at gmx.de>
> ---
>  configure.ac | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index ea38dfa7f3..1ec8e42882 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -996,11 +996,7 @@ llvm_set_environment_variables() {
>              LLVM_VERSION_PATCH=0
>          fi
> 
> -        if test "$LLVM_VERSION_MINOR" -lt 10; then
> -            LLVM_VERSION_INT="${LLVM_VERSION_MAJOR}0${LLVM_VERSION_MINOR}"
> -        else
> -            LLVM_VERSION_INT="${LLVM_VERSION_MAJOR}${LLVM_VERSION_MINOR}"
> -        fi
> +        LLVM_VERSION_INT="${LLVM_VERSION_MAJOR}0${LLVM_VERSION_MINOR}"
> 
>          FOUND_LLVM=yes
>          USE_LLVM=no


More information about the mesa-dev mailing list