SHA256
1
0
forked from pool/llvm
Ismail Dönmez 2013-08-06 07:56:07 +00:00 committed by Git OBS Bridge
parent 281bf7c968
commit 3e8ea9e3af

View File

@ -179,7 +179,18 @@ sed -i s,/lib/,/%{_lib}/,g tools/clang/lib/Driver/Tools.cpp \
%endif %endif
# Only enable target archs otherwise llvm-config is messed up # Only enable target archs otherwise llvm-config is messed up
%ifnarch arm ppc64
sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", lib/Target/LLVMBuild.txt sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", lib/Target/LLVMBuild.txt
%endif
%ifarch ppc64
sed -i s,"subdirectories = .*","subdirectories = PowerPC", lib/Target/LLVMBuild.txt
%endif
%ifarch arm
sed -i s,"subdirectories = .*","subdirectories = ARM", lib/Target/LLVMBuild.txt
%endif
sed -i s,"IntelJITEvents OProfileJIT","", lib/ExecutionEngine/LLVMBuild.txt sed -i s,"IntelJITEvents OProfileJIT","", lib/ExecutionEngine/LLVMBuild.txt
echo > utils/unittest/LLVMBuild.txt echo > utils/unittest/LLVMBuild.txt