Mesa (master): radeonsi: Add ipo to LLVM_COMPONENTS

Tom Stellard tstellar at kemper.freedesktop.org
Wed May 29 00:10:23 UTC 2013


Module: Mesa
Branch: master
Commit: f43f07d5889645240de6e4740412f325d7a4eb38
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f43f07d5889645240de6e4740412f325d7a4eb38

Author: Andreas Hartmetz <ahartmetz at gmail.com>
Date:   Tue May 28 23:59:41 2013 +0200

radeonsi: Add ipo to LLVM_COMPONENTS

r600g needs it too, so add ipo in the common radeon_llvm_check().

radeonsi compiled and linked, but it failed at dynamic link time
with a missing symbol.

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

---

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index eef4327..521331b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1714,7 +1714,7 @@ radeon_llvm_check() {
                       sources with the --enable-experimental-targets=R600
                       configure flag])
     fi
-    LLVM_COMPONENTS="${LLVM_COMPONENTS} r600 bitreader"
+    LLVM_COMPONENTS="${LLVM_COMPONENTS} r600 bitreader ipo"
     NEED_RADEON_LLVM=yes
     AC_CHECK_LIB([elf], [elf_memory], [ELF_LIB=-lelf],
                                  [AC_MSG_ERROR([radeonsi and r600g require libelf when using LLVM])])
@@ -1770,7 +1770,7 @@ if test "x$with_gallium_drivers" != x; then
             if test "x$enable_r600_llvm" = xyes -o "x$enable_opencl" = xyes; then
                 radeon_llvm_check
                 R600_NEED_RADEON_GALLIUM=yes;
-                LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo bitreader asmparser"
+                LLVM_COMPONENTS="${LLVM_COMPONENTS} bitreader asmparser"
             fi
             if test "x$enable_r600_llvm" = xyes; then
                 USE_R600_LLVM_COMPILER=yes;




More information about the mesa-commit mailing list