[Mesa-dev] [PATCH mesa-9.1] configure.ac: Require llvm-3.2 for r600g/radeonsi llvm backends
Michel Dänzer
michel at daenzer.net
Fri Jul 19 02:22:58 PDT 2013
On Fre, 2013-07-19 at 11:17 +0200, Andreas Boll wrote:
> v2: Update the error message too.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66847
>
> Cc: mesa-stable at lists.freedesktop.org
> Tested-by: Marc Dietrich <marvin24 at gmx.de>
> Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
> ---
> configure.ac | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index d0f78a0..452b24f 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1780,8 +1780,8 @@ gallium_require_drm_loader() {
> radeon_llvm_check() {
> LLVM_REQUIRED_VERSION_MAJOR="3"
> LLVM_REQUIRED_VERSION_MINOR="2"
> - if test "$LLVM_VERSION_INT" -lt "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}"; then
> - AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer with R600 target enabled is required.
> + if test "$LLVM_VERSION_INT" -ne "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}"; then
> + AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR with R600 target enabled is required.
> To use the r600/radeonsi LLVM backend, you need to fetch the LLVM source from:
> git://people.freedesktop.org/~tstellar/llvm master
> and build with --enable-experimental-targets=R600])
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the mesa-dev
mailing list