[Beignet] FindLLVM: allow LLVM/Clang 3.6

Zhigang Gong zhigang.gong at linux.intel.com
Mon Mar 23 22:12:39 PDT 2015


LGTM, will push latter, thanks.

On Sat, Mar 21, 2015 at 07:35:56AM +0000, Rebecca N. Palmer wrote:
> As beignet now works with LLVM/Clang 3.6, accept this version
> when searching for llvm-config.
> 
> Signed-off-by: Rebecca Palmer <rebecca_palmer at zoho.com>
> 
> diff --git a/CMake/FindLLVM.cmake b/CMake/FindLLVM.cmake
> index e214437..fa13f1d 100644
> --- a/CMake/FindLLVM.cmake
> +++ b/CMake/FindLLVM.cmake
> @@ -8,12 +8,12 @@
>  # LLVM_FOUND       - True if llvm found.
>  if (LLVM_INSTALL_DIR)
>    find_program(LLVM_CONFIG_EXECUTABLE
> -               NAMES llvm-config-35 llvm-config-3.5 llvm-config-33 llvm-config-3.3 llvm-config-34 llvm-config-3.4 llvm-config
> +               NAMES llvm-config-35 llvm-config-3.5 llvm-config-36 llvm-config-3.6 llvm-config-33 llvm-config-3.3 llvm-config-34 llvm-config-3.4 llvm-config
>                 DOC "llvm-config executable"
>                 PATHS ${LLVM_INSTALL_DIR} NO_DEFAULT_PATH)
>  else (LLVM_INSTALL_DIR)
>    find_program(LLVM_CONFIG_EXECUTABLE
> -               NAMES llvm-config-35 llvm-config-3.5 llvm-config-33 llvm-config-3.3 llvm-config-34 llvm-config-3.4 llvm-config
> +               NAMES llvm-config-35 llvm-config-3.5 llvm-config-36 llvm-config-3.6 llvm-config-33 llvm-config-3.3 llvm-config-34 llvm-config-3.4 llvm-config
>                 DOC "llvm-config executable")
>  endif (LLVM_INSTALL_DIR)
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list