[Mesa-dev] [PATCH] r600g: fix build without opencl and static llvm libs

Marc Dietrich marvin24 at gmx.de
Mon Feb 27 15:35:13 UTC 2017

radeon_llvm_check was never called in the no-opencl case, which broke
the llvm module list (amdgpuinfo was not included). As --enable-opencl
always requires --enable-llvm, the test can be easily fixed.

Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 890a37999c..a3d1a00bdd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2297,7 +2297,7 @@ if test -n "$with_gallium_drivers"; then
             require_libdrm "r600"
-            if test "x$enable_opencl" = xyes; then
+            if test "x$enable_llvm" = xyes; then
                 radeon_llvm_check $LLVM_REQUIRED_R600 "r600"
                 llvm_add_component "asmparser" "r600"

More information about the mesa-dev mailing list