Hello community, here is the log from the commit of package llvm7 for openSUSE:Factory checked in at 2019-01-08 12:17:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm7 (Old) and /work/SRC/openSUSE:Factory/.llvm7.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm7" Tue Jan 8 12:17:54 2019 rev:7 rq:662366 version:7.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm7/llvm7.changes 2018-12-21 08:22:22.853515963 +0100 +++ /work/SRC/openSUSE:Factory/.llvm7.new.28833/llvm7.changes 2019-01-08 12:17:56.400955936 +0100 @@ -1,0 +2,6 @@ +Sun Dec 30 19:11:05 UTC 2018 - Dirk Mueller <[email protected]> + +- enable gold unconditionally like with llvm6 and older +- reenable openmp support again for aarch64 (like it was already in llvm6) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm7.spec ++++++ --- /var/tmp/diff_new_pack.NDDxV9/_old 2019-01-08 12:17:58.328954126 +0100 +++ /var/tmp/diff_new_pack.NDDxV9/_new 2019-01-08 12:17:58.328954126 +0100 @@ -28,16 +28,11 @@ %else %bcond_with libcxx %endif -%ifarch ppc64 ppc64le %{ix86} x86_64 +%ifarch aarch64 ppc64 ppc64le %{ix86} x86_64 %bcond_without openmp %else %bcond_with openmp %endif -%ifarch ppc64 ppc64le %{ix86} x86_64 -%bcond_without gold -%else -%bcond_with gold -%endif %ifarch x86_64 %bcond_without lldb @@ -109,9 +104,7 @@ Patch26: clang-fix-powerpc-triplet.patch Patch27: llvm-D51108.patch BuildRequires: binutils-devel >= 2.21.90 -%if %{with gold} BuildRequires: binutils-gold -%endif BuildRequires: cmake BuildRequires: fdupes BuildRequires: groff @@ -169,9 +162,7 @@ Requires: libstdc++-devel Requires: libtool Requires: llvm%{_sonum}-LTO-devel -%if %{with gold} Requires: llvm%{_sonum}-gold -%endif Requires: llvm%{_sonum}-polly-devel Requires: ncurses-devel Requires: pkgconfig @@ -202,9 +193,7 @@ Recommends: clang%{_sonum}-checker Recommends: libc++-devel Recommends: libomp%{_sonum}-devel -%if %{with gold} Recommends: llvm-gold-devel -%endif Recommends: scan-build Recommends: scan-view %if %{with cxx} @@ -297,7 +286,6 @@ This package contains the link-time optimizer for LLVM. (development files) -%if %{with gold} %package gold Summary: Gold linker plugin for LLVM # Avoid multiple provider errors @@ -309,7 +297,6 @@ %description gold This package contains the Gold linker plugin for LLVM. -%endif %package -n libomp%{_sonum}-devel Summary: MPI plugin for LLVM @@ -682,9 +669,7 @@ -DLLVM_INCLUDE_TESTS:BOOL=OFF \ -DLLVM_ENABLE_ASSERTIONS=OFF \ -DLLVM_TARGETS_TO_BUILD=Native \ -%if %{with gold} -DLLVM_USE_LINKER=gold \ -%endif -DCLANG_ENABLE_ARCMT:BOOL=OFF \ -DCLANG_ENABLE_STATIC_ANALYZER:BOOL=OFF \ -DCOMPILER_RT_BUILD_SANITIZERS:BOOL=OFF \ @@ -737,9 +722,7 @@ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=%{_includedir} \ -DLLVM_TARGETS_TO_BUILD=${TARGETS_TO_BUILD} \ -%if %{with gold} -DLLVM_USE_LINKER=gold \ -%endif %if "%{_lib}" == "lib64" -DLLVM_LIBDIR_SUFFIX=64 \ %endif @@ -807,9 +790,7 @@ # Note that bfd-plugins is always in /usr/lib/bfd-plugins, no matter what _libdir is. mkdir -p %{buildroot}/usr/lib/bfd-plugins -%if %{with gold} ln -s %{_libdir}/LLVMgold.so %{buildroot}/usr/lib/bfd-plugins/ -%endif install -m 755 -d %{buildroot}%{_datadir}/vim/site/ for i in ftdetect ftplugin indent syntax; do @@ -1000,10 +981,8 @@ %postun -n liblldb%{_sonum} -p /sbin/ldconfig %endif -%if %{with gold} %post gold -p /sbin/ldconfig %postun gold -p /sbin/ldconfig -%endif %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %post LTO-devel -p /sbin/ldconfig @@ -1561,16 +1540,12 @@ %license CREDITS.TXT LICENSE.TXT %{_libdir}/libLTO.so.* -%if %{with gold} %files gold %license CREDITS.TXT LICENSE.TXT %{_libdir}/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 -%else -%exclude %{_libdir}/LLVMgold.so -%endif %if %{with openmp} %files -n libomp%{_sonum}-devel
