- Only enable PowerPC on ppc64
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=263
This commit is contained in:
parent
a28a1cea65
commit
3e712eda2b
@ -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
|
||||
|
||||
|
10
llvm.spec
10
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user