Mesa (10.4): configure: Link against all LLVM targets when building clover

Emil Velikov evelikov at kemper.freedesktop.org
Wed Feb 4 01:51:52 UTC 2015


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

Author: Niels Ole Salscheider <niels_ole at salscheider-online.de>
Date:   Sat Jan 24 22:49:44 2015 +0100

configure: Link against all LLVM targets when building clover

Since 8e7df519bd8556591794b2de08a833a67e34d526, we initialise all targets in
clover. This fixes bug 85380.

v2: Mention correct bug in commit message

Signed-off-by: Niels Ole Salscheider <niels_ole at salscheider-online.de>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Cc: "10.4" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 4b94c3fc3136f8e5225956864dd13828c9b81d5f)

---

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 506be34..399b095 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1716,7 +1716,7 @@ if test "x$enable_gallium_llvm" = xyes; then
         fi
 
         if test "x$enable_opencl" = xyes; then
-            LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo linker instrumentation"
+            LLVM_COMPONENTS="${LLVM_COMPONENTS} all-targets ipo linker instrumentation"
             # LLVM 3.3 >= 177971 requires IRReader
             if $LLVM_CONFIG --components | grep -qw 'irreader'; then
                 LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader"




More information about the mesa-commit mailing list