-
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=259
This commit is contained in:
parent
281bf7c968
commit
3e8ea9e3af
11
llvm.spec
11
llvm.spec
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user