Accepting request 223805 from devel:tools:compiler
- complete ifarchs for s390 - enable ppc64le (forwarded request 223509 from oertel) OBS-URL: https://build.opensuse.org/request/show/223805 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm?expand=0&rev=56
This commit is contained in:
commit
fa59d763c1
10
llvm.changes
10
llvm.changes
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 22 18:18:57 CET 2014 - ro@suse.de
|
||||
|
||||
- complete ifarchs for s390
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 13:15:48 UTC 2014 - idonmez@suse.com
|
||||
|
||||
@ -58,6 +63,11 @@ Mon Dec 9 08:54:48 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- Update to r196762 from release_34 branch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 02:23:07 UTC 2013 - dvaleev@suse.com
|
||||
|
||||
- enable ppc64le
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 13:10:13 UTC 2013 - idonmez@suse.com
|
||||
|
||||
|
19
llvm.spec
19
llvm.spec
@ -181,11 +181,11 @@ sed -i s,"subdirectories = .*","subdirectories = R600 X86", lib/Target/LLVMBuild
|
||||
sed -i s,"subdirectories = .*","subdirectories = ARM", lib/Target/LLVMBuild.txt
|
||||
%endif
|
||||
|
||||
%ifarch ppc64
|
||||
%ifarch ppc64 ppc64le
|
||||
sed -i s,"subdirectories = .*","subdirectories = PowerPC", lib/Target/LLVMBuild.txt
|
||||
%endif
|
||||
|
||||
%ifarch s390x
|
||||
%ifarch s390 s390x
|
||||
sed -i s,"subdirectories = .*","subdirectories = SystemZ", lib/Target/LLVMBuild.txt
|
||||
%endif
|
||||
|
||||
@ -218,6 +218,15 @@ pushd stage1
|
||||
sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmake
|
||||
rm -rf ../projects/compiler-rt
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
%define host_triple powerpc64le-suse-linux
|
||||
sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmake
|
||||
%endif
|
||||
%ifarch s390
|
||||
%define host_triple s390-suse-linux
|
||||
sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"SystemZ"',g ../cmake/modules/AddLLVM.cmake
|
||||
rm -rf ../projects/compiler-rt
|
||||
%endif
|
||||
%ifarch s390x
|
||||
%define host_triple s390x-suse-linux
|
||||
sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"SystemZ"',g ../cmake/modules/AddLLVM.cmake
|
||||
@ -243,10 +252,10 @@ export CC=$TOPLEVEL/stage1/bin/clang
|
||||
export CXX=$TOPLEVEL/stage1/bin/clang++
|
||||
|
||||
cmake -G "Unix Makefiles" \
|
||||
%ifnarch ppc64
|
||||
%ifnarch ppc64 ppc64le
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
%endif
|
||||
%ifarch %arm ppc64
|
||||
%ifarch %arm ppc64 ppc64le
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
%else
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
@ -453,7 +462,7 @@ rm %{buildroot}%{_mandir}/man1/lit.1
|
||||
%exclude %{_libdir}/libclang.so
|
||||
%{_libdir}/libclang*.so
|
||||
%{_libdir}/libclang.so.*
|
||||
%ifarch ppc64
|
||||
%ifarch ppc64 ppc64le
|
||||
%{_libdir}/libclang*.a
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user