summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <[email protected]>2018-06-18 15:45:51 +0200
committerJuan A. Suarez Romero <[email protected]>2018-06-21 12:16:46 +0200
commitd24839be70d66cb74f4eb3c5f76b7ed634bdc7d3 (patch)
tree77d618f894daab9c23cddbc1fab9b789079b1059 /src
parentf966929805f722ae38d4821fab61765c0ee4a60c (diff)
swr: bump minimum supported LLVM version to 5.0
RADV now requires LLVM 5.0 or greater, and thus we can't build dist tarball because swr requires LLVM 4.0. Let's bump required LLVM to 5.0 in swr too. Fixes: f9eb1ef870 ("amd: remove support for LLVM 4.0") Cc: Tim Rowley <[email protected]> Cc: Emil Velikov <[email protected]> Cc: Dylan Baker <[email protected]> Cc: Eric Engestrom <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Acked-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/Makefile.am6
-rw-r--r--src/gallium/drivers/swr/SConscript4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
index 8b3150288e6..5cc3f77478a 100644
--- a/src/gallium/drivers/swr/Makefile.am
+++ b/src/gallium/drivers/swr/Makefile.am
@@ -374,9 +374,9 @@ include $(top_srcdir)/install-gallium-links.mk
# created with the oldest supported version of LLVM.
dist-hook:
if SWR_INVALID_LLVM_VERSION
- @echo "*******************************************************"
- @echo "LLVM 4.0.0 or LLVM 4.0.1 required to create the tarball"
- @echo "*******************************************************"
+ @echo "*****************************************"
+ @echo "LLVM 5.0.x required to create the tarball"
+ @echo "*****************************************"
@test
endif
diff --git a/src/gallium/drivers/swr/SConscript b/src/gallium/drivers/swr/SConscript
index 528cfac39f6..224372eb3f5 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('4.0'):
- print("warning: swr requires LLVM >= 4.0: not building swr")
+if env['LLVM_VERSION'] < distutils.version.LooseVersion('5.0'):
+ print("warning: swr requires LLVM >= 5.0: not building swr")
env['swr'] = False
Return()