[Mesa-dev] [PATCH 1/5] configure.ac: require LLVM 3.4.2 for radeon
Tom Stellard
tom at stellard.net
Thu Jul 10 08:10:11 PDT 2014
On Tue, Jul 08, 2014 at 03:37:02AM +0200, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Needed by ARB_draw_indirect.
I think we should come up with a rule for how long we should support
older versions of LLVM. Do you have any thoughts about this? I was
thinking we could have each Mesa release support current stable LLVM
and also the development version from SVN.
-Tom
> ---
> configure.ac | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 4646212..9d5cd89 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1888,8 +1888,9 @@ radeon_llvm_check() {
> AC_MSG_ERROR([--enable-gallium-llvm is required when building $1])
> fi
> LLVM_REQUIRED_VERSION_MAJOR="3"
> - LLVM_REQUIRED_VERSION_MINOR="3"
> - if test "$LLVM_VERSION_INT" -lt "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}"; then
> + LLVM_REQUIRED_VERSION_MINOR="4"
> + LLVM_REQUIRED_VERSION_PATCH="2"
> + if test "${LLVM_VERSION_INT}${LLVM_VERSION_PATCH}" -lt "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}${LLVM_REQUIRED_VERSION_PATCH}"; then
> AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer is required for $1])
> fi
> if test true && $LLVM_CONFIG --targets-built | grep -qvw 'R600' ; then
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list