diff --git a/llvm.changes b/llvm.changes index 39bd542..3de7370 100644 --- a/llvm.changes +++ b/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 diff --git a/llvm.spec b/llvm.spec index b9a6a2a..6dde90c 100644 --- a/llvm.spec +++ b/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