From 36ac485bd1c99412717d2b3023c490d26ca91f92 Mon Sep 17 00:00:00 2001 From: Andres Gomez Date: Wed, 14 Feb 2018 00:42:57 +0200 Subject: swr: bump minimum supported LLVM version to 4.0 Since radv and radeonsi removed support for LLVM 3.9 the distcheck target got broken because SWR distribution needed 3.9.x. After checking with George Kyriazis, SWR is OK with moving to LLVM 4.0 and above, which will solve this problem. Fixes: 3bf1e036e8a ("amd: remove support for LLVM 3.9") Cc: George Kyriazis Cc: Tim Rowley Cc: Emil Velikov Cc: Dylan Baker Cc: Eric Engestrom Signed-off-by: Andres Gomez Reviewed-by: Dylan Baker Reviewed-by: George Kyriazis --- src/gallium/drivers/swr/Makefile.am | 2 +- src/gallium/drivers/swr/SConscript | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/swr') diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am index 869eec16d82..2edaf666f11 100644 --- a/src/gallium/drivers/swr/Makefile.am +++ b/src/gallium/drivers/swr/Makefile.am @@ -356,7 +356,7 @@ include $(top_srcdir)/install-gallium-links.mk dist-hook: if SWR_INVALID_LLVM_VERSION @echo "*******************************************************" - @echo "LLVM 3.9.0 or LLVM 3.9.1 required to create the tarball" + @echo "LLVM 4.0.0 or LLVM 4.0.1 required to create the tarball" @echo "*******************************************************" @test endif diff --git a/src/gallium/drivers/swr/SConscript b/src/gallium/drivers/swr/SConscript index cc9c9e9a024..cc4025b0e58 100644 --- a/src/gallium/drivers/swr/SConscript +++ b/src/gallium/drivers/swr/SConscript @@ -12,8 +12,8 @@ if not env['llvm']: env['swr'] = False Return() -if env['LLVM_VERSION'] < distutils.version.LooseVersion('3.9'): - print("warning: swr requires LLVM >= 3.9: not building swr") +if env['LLVM_VERSION'] < distutils.version.LooseVersion('4.0'): + print("warning: swr requires LLVM >= 4.0: not building swr") env['swr'] = False Return() -- cgit v1.2.3