diff --git a/llvm.changes b/llvm.changes index 228f7c6..b8e6353 100644 --- a/llvm.changes +++ b/llvm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 21 11:04:35 UTC 2013 - idonmez@suse.com + +- Only enable PowerPC on ppc64 + ------------------------------------------------------------------- Mon Aug 12 16:43:26 UTC 2013 - idonmez@suse.com diff --git a/llvm.spec b/llvm.spec index b877b3a..45e782f 100644 --- a/llvm.spec +++ b/llvm.spec @@ -25,6 +25,10 @@ %define _supported_archs "ARM" %endif +%ifarch ppc64 +%define _supported_archs "PowerPC" +%endif + Name: llvm Version: 3.3 Release: 0 @@ -175,7 +179,7 @@ sed -i s,/lib/,/%{_lib}/,g tools/clang/lib/Driver/Tools.cpp \ %endif # Only enable target archs otherwise llvm-config is messed up -%ifnarch arm +%ifnarch ppc64 arm sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", lib/Target/LLVMBuild.txt %endif @@ -183,6 +187,10 @@ sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", sed -i s,"subdirectories = .*","subdirectories = ARM", lib/Target/LLVMBuild.txt %endif +%ifarch ppc64 +sed -i s,"subdirectories = .*","subdirectories = PowerPC", lib/Target/LLVMBuild.txt +%endif + sed -i s,"IntelJITEvents OProfileJIT","", lib/ExecutionEngine/LLVMBuild.txt echo > utils/unittest/LLVMBuild.txt