Hello community, here is the log from the commit of package llvm5 for openSUSE:Factory checked in at 2018-01-16 09:34:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm5 (Old) and /work/SRC/openSUSE:Factory/.llvm5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm5" Tue Jan 16 09:34:15 2018 rev:4 rq:565785 version:5.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm5/llvm5.changes 2018-01-07 17:22:17.626686459 +0100 +++ /work/SRC/openSUSE:Factory/.llvm5.new/llvm5.changes 2018-01-16 09:34:17.544373868 +0100 @@ -1,0 +2,22 @@ +Wed Jan 10 14:56:18 UTC 2018 - m...@suse.com + +- Place gold plugin to the right directory. (bnc#1073210) + * It must be in /usr/lib/bfd-plugins on all architectures. + * Remove llvm5-gold from baselibs.conf - nothing needs a 32bit + version of it and it would now conflict with the 64bit one. +- Reduce _constraints requirements on 32bit architectures. + * Since we had to disable debuginfo on them, they require much + less. + +------------------------------------------------------------------- +Wed Jan 10 10:24:49 UTC 2018 - norm...@linux.vnet.ibm.com + +- ignore make check error for PowerPC as bypass + https://bugs.llvm.org/show_bug.cgi?id=35871 + +------------------------------------------------------------------- +Mon Jan 8 13:12:13 UTC 2018 - dmuel...@suse.com + +- disable debuginfo build for ARM as well + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm5.spec ++++++ --- /var/tmp/diff_new_pack.L9Y96F/_old 2018-01-16 09:34:20.612230329 +0100 +++ /var/tmp/diff_new_pack.L9Y96F/_new 2018-01-16 09:34:20.616230142 +0100 @@ -300,8 +300,8 @@ Group: Development/Languages/Other Requires: %{name}-devel = %{version} Requires: libLLVM%{_sonum} -Conflicts: LLVMgold.so()(64bit) -Provides: LLVMgold.so()(64bit) +Conflicts: llvm-gold-provider +Provides: llvm-gold-provider %description gold This package contains the Gold linker plugin for LLVM. @@ -674,7 +674,7 @@ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ -DCMAKE_C_FLAGS="$flags" \ -DCMAKE_CXX_FLAGS="$flags" \ -%ifarch s390 %{ix86} +%ifarch %arm s390 %{ix86} -DCMAKE_C_FLAGS_RELWITHDEBINFO="-O2 -g1 -DNDEBUG" \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g1 -DNDEBUG" \ %endif @@ -758,8 +758,9 @@ popd %endif -mkdir -p %{buildroot}%{_libdir}/bfd-plugins -ln -s %{_libdir}/LLVMgold.so %{buildroot}%{_libdir}/bfd-plugins/ +# Note that bfd-plugins is always in /usr/lib/bfd-plugins, no matter what _libdir is. +mkdir -p %{buildroot}/usr/lib/bfd-plugins +ln -s %{_libdir}/LLVMgold.so %{buildroot}/usr/lib/bfd-plugins/ install -m 755 -d %{buildroot}%{_datadir}/vim/site/ for i in ftdetect ftplugin indent syntax; do @@ -919,7 +920,11 @@ %if !0%{?qemu_user_space_build:1} # we just do not have enough memory with qemu emulation +%ifarch ppc64 ppc64le +ninja -v %{?_smp_mflags} check || { echo "Ignore PowerPC failures https://bugs.llvm.org/show_bug.cgi?id=35871"; } +%else ninja -v %{?_smp_mflags} check +%endif ninja -v %{?_smp_mflags} check-clang %if %{with libcxx} @@ -1442,8 +1447,9 @@ %files gold %defattr(-,root,root) %{_libdir}/LLVMgold.so -%dir %{_libdir}/bfd-plugins/ -%{_libdir}/bfd-plugins/LLVMgold.so +# Note that bfd-plugins is always in /usr/lib/bfd-plugins, no matter what _libdir is. +%dir /usr/lib/bfd-plugins/ +/usr/lib/bfd-plugins/LLVMgold.so %if %{with openmp} %files -n libomp%{_sonum}-devel ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.L9Y96F/_old 2018-01-16 09:34:20.644228832 +0100 +++ /var/tmp/diff_new_pack.L9Y96F/_new 2018-01-16 09:34:20.644228832 +0100 @@ -2,18 +2,39 @@ <constraints> <hardware> <disk> - <size unit="G">49</size> + <size unit="G">49</size> </disk> <memory> <size unit="M">9000</size> </memory> </hardware> <overwrite> + <!-- + We have disabled debuginfo on 32 bit architecture because they simply can no address enough memory to link llvm libraries with it. + Without debuginfo the disk and memory requirements are much lower. + --> + <conditions> + <arch>i586</arch> + <arch>s390</arch> + </conditions> + <hardware> + <disk> + <size unit="G">10</size> + </disk> + <memory> + <size unit="M">4096</size> + </memory> + </hardware> + </overwrite> + <overwrite> <conditions> <arch>armv6l</arch> <arch>armv7l</arch> </conditions> <hardware> + <disk> + <size unit="G">10</size> + </disk> <memory> <size unit="M">768</size> </memory> ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.L9Y96F/_old 2018-01-16 09:34:20.676227335 +0100 +++ /var/tmp/diff_new_pack.L9Y96F/_new 2018-01-16 09:34:20.676227335 +0100 @@ -12,6 +12,3 @@ llvm5-LTO-devel provides "llvm-LTO-devel-<targettype> = <version>" conflicts "otherproviders(llvm-LTO-devel-<targettype>)" -llvm5-gold - provides "llvm-gold-devel-<targettype> = <version>" - conflicts "otherproviders(llvm-gold-devel-<targettype>)"