[llvm] llvm: don't build lldb on powerpc

Dave Airlie airlied at fedoraproject.org
Thu Jan 16 04:16:52 UTC 2014


commit 53ecfe1814bbbd95c5b5e618cf9593e8f819c64a
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jan 16 14:03:28 2014 +1000

    llvm: don't build lldb on powerpc
    
    this fails to build upstream due to a collision between
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1049976

 llvm.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index a1fd3e1..eea19fd 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -4,7 +4,6 @@
 # Components built by default:
 %bcond_without clang
 %bcond_without crt
-%bcond_without lldb
 
 # Components enabled if supported by target arch:
 %ifnarch s390 s390x sparc64
@@ -17,6 +16,13 @@
 %else
   %bcond_with gold
 %endif
+# ppc64 fails to build lldb upstream
+%ifnarch ppc ppc64
+  %bcond_without lldb
+%else
+  %bcond_with lldb
+%endif
+
 
 # Documentation install path
 %if 0%{?fedora} < 20


More information about the scm-commits mailing list