Hello community,

here is the log from the commit of package llvm9 for openSUSE:Factory checked 
in at 2019-12-11 12:02:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm9 (Old)
 and      /work/SRC/openSUSE:Factory/.llvm9.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm9"

Wed Dec 11 12:02:46 2019 rev:4 rq:754550 version:9.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm9/llvm9.changes      2019-11-08 
15:21:32.714729433 +0100
+++ /work/SRC/openSUSE:Factory/.llvm9.new.4691/llvm9.changes    2019-12-11 
12:03:17.144786777 +0100
@@ -1,0 +2,21 @@
+Thu Dec  5 23:49:17 UTC 2019 - Aaron Puchert <[email protected]>
+
+- Modify libcxx-tests-linux-distribution.patch to remove dependency
+  on python-distro again: we don't have expected failures.
+
+-------------------------------------------------------------------
+Thu Dec  5 08:31:30 UTC 2019 - Martin Liška <[email protected]>
+
+- Add llvm-add-missing-include.patch in order to fix
+  boo#1158367.
+
+-------------------------------------------------------------------
+Tue Dec  3 23:52:49 UTC 2019 - Aaron Puchert <[email protected]>
+
+- Add gwp-asan-lto.patch: Make sure there are no LLVM IR files in
+  static libraries that we package.
+- Add libcxx-tests-linux-distribution.patch (boo#1158293):
+  Replace platform.linux_distribution by distro.linux_distribution.
+- Make documentation packages noarch.
+
+-------------------------------------------------------------------

New:
----
  gwp-asan-lto.patch
  libcxx-tests-linux-distribution.patch
  llvm-add-missing-include.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ llvm9.spec ++++++
--- /var/tmp/diff_new_pack.Li6YCA/_old  2019-12-11 12:03:19.416785821 +0100
+++ /var/tmp/diff_new_pack.Li6YCA/_new  2019-12-11 12:03:19.420785820 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package llvm9
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -72,7 +72,7 @@
 Summary:        Low Level Virtual Machine
 License:        Apache-2.0 WITH LLVM-exception OR NCSA
 Group:          Development/Languages/Other
-Url:            https://www.llvm.org/
+URL:            https://www.llvm.org/
 # NOTE: please see README.packaging in the llvm package for details on how to 
update this package
 Source0:        https://releases.llvm.org/%{_relver}/llvm-%{_relver}.src.tar.xz
 Source1:        https://releases.llvm.org/%{_relver}/cfe-%{_relver}.src.tar.xz
@@ -117,6 +117,11 @@
 Patch26:        clang-fix-powerpc-triplet.patch
 # PATCH-FIX-UPSTREAM openmp-export-fini.patch -- Export termination function 
for libomp.so (boo#1155108)
 Patch27:        openmp-export-fini.patch
+# 
https://github.com/llvm/llvm-project/commit/343597789eba1e6482e130b0c1b0818b1432d311
+Patch28:        gwp-asan-lto.patch
+# Replace deprecated platform.linux_distribution by distro.linux_distribution.
+Patch29:        libcxx-tests-linux-distribution.patch
+Patch30:        llvm-add-missing-include.patch
 BuildRequires:  binutils-devel >= 2.21.90
 %if %{with gold}
 BuildRequires:  binutils-gold
@@ -199,6 +204,7 @@
 Requires:       %{name} = %{version}
 Provides:       llvm-doc-provider = %{version}
 Conflicts:      llvm-doc-provider < %{version}
+BuildArch:      noarch
 # The docs used to be contained in the devel package.
 Conflicts:      llvm-devel-provider < 9.0.0
 
@@ -208,7 +214,7 @@
 %package -n clang%{_sonum}
 Summary:        CLANG frontend for LLVM
 Group:          Development/Languages/C and C++
-Url:            https://clang.llvm.org/
+URL:            https://clang.llvm.org/
 # Avoid multiple provider errors
 Requires:       libLTO%{_sonum}
 Requires:       libclang%{_sonum}
@@ -228,7 +234,7 @@
 %package -n clang%{_sonum}-checker
 Summary:        Static code analyzer for CLANG
 Group:          Development/Languages/C and C++
-Url:            https://clang-analyzer.llvm.org/
+URL:            https://clang-analyzer.llvm.org/
 # Avoid multiple provider errors
 Requires:       libclang%{_sonum}
 # Due to a packaging error in clang3_8 we have to conflict.
@@ -290,6 +296,7 @@
 Requires:       clang%{_sonum} = %{version}
 Provides:       clang-doc-provider = %{version}
 Conflicts:      clang-doc-provider < %{version}
+BuildArch:      noarch
 # The docs used to be contained in the devel package.
 Conflicts:      clang6-devel
 Conflicts:      clang7-devel
@@ -346,7 +353,7 @@
 %package -n libc++%{_socxx}
 Summary:        C++ standard library implementation
 Group:          System/Libraries
-Url:            https://libcxx.llvm.org/
+URL:            https://libcxx.llvm.org/
 Requires:       libc++abi%{_socxx} = %{version}
 
 %description -n libc++%{_socxx}
@@ -369,7 +376,7 @@
 %package -n libc++abi%{_socxx}
 Summary:        C++ standard library ABI
 Group:          System/Libraries
-Url:            https://libcxxabi.llvm.org/
+URL:            https://libcxxabi.llvm.org/
 
 %description -n libc++abi%{_socxx}
 This package contains the ABI for libc++, a new implementation
@@ -427,7 +434,7 @@
 %package -n lld%{_sonum}
 Summary:        Linker for Clang/LLVM
 Group:          Development/Tools/Building
-Url:            https://lld.llvm.org/
+URL:            https://lld.llvm.org/
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 
@@ -451,7 +458,7 @@
 %package -n lldb%{_sonum}
 Summary:        Software debugger built using LLVM libraries
 Group:          Development/Tools/Debuggers
-Url:            https://lldb.llvm.org/
+URL:            https://lldb.llvm.org/
 BuildRequires:  pkgconfig(libedit)
 BuildRequires:  pkgconfig(libffi)
 BuildRequires:  pkgconfig(libxml-2.0)
@@ -519,7 +526,7 @@
 %package polly
 Summary:        LLVM Framework for High-Level Loop and Data-Locality 
Optimizations
 Group:          Development/Languages/Other
-Url:            https://polly.llvm.org/
+URL:            https://polly.llvm.org/
 Conflicts:      llvm-polly-provider < %{version}
 Provides:       llvm-polly-provider = %{version}
 
@@ -552,6 +559,11 @@
 %patch21 -p1
 %patch22 -p1
 %patch24 -p1
+%patch30 -p2
+
+pushd compiler-rt-%{_relver}.src
+%patch28 -p2
+popd
 
 pushd cfe-%{_relver}.src
 %patch1 -p1
@@ -591,6 +603,7 @@
 
 %if %{with libcxx}
 pushd libcxx-%{_relver}.src
+%patch29 -p2
 rm test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
 rm 
test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp
 rm 
test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp
@@ -705,7 +718,6 @@
     -DLLVM_BUILD_TOOLS:BOOL=OFF \
     -DLLVM_BUILD_UTILS:BOOL=OFF \
     -DLLVM_BUILD_EXAMPLES:BOOL=OFF \
-    -DLLVM_BUILD_TESTS:BOOL=OFF \
     -DLLVM_POLLY_BUILD:BOOL=OFF \
     -DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD:BOOL=OFF \
     -DLLVM_INCLUDE_TESTS:BOOL=OFF \

++++++ gwp-asan-lto.patch ++++++
>From 343597789eba1e6482e130b0c1b0818b1432d311 Mon Sep 17 00:00:00 2001
From: Mitch Phillips <[email protected]>
Date: Thu, 7 Nov 2019 07:41:08 -0800
Subject: [PATCH] [GWP-ASan] Respect compiler-rt's -fno-lto

https://bugs.llvm.org/show_bug.cgi?id=43722

GWP-ASan didn't include SANITIZER_COMMON_CFLAGS, and thus would produce
LLVM bitcode files, when compiler-rt is generally built without LTO.
---
 compiler-rt/lib/gwp_asan/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler-rt/lib/gwp_asan/CMakeLists.txt 
b/compiler-rt/lib/gwp_asan/CMakeLists.txt
index 84839e63f8e..afdd624017a 100644
--- a/compiler-rt/lib/gwp_asan/CMakeLists.txt
+++ b/compiler-rt/lib/gwp_asan/CMakeLists.txt
@@ -23,7 +23,8 @@ set(GWP_ASAN_HEADERS
 # Ensure that GWP-ASan meets the delegated requirements of some supporting
 # allocators. Some supporting allocators (e.g. scudo standalone) cannot use any
 # parts of the C++ standard library.
-set(GWP_ASAN_CFLAGS -fno-rtti -fno-exceptions -nostdinc++ -pthread)
+set(GWP_ASAN_CFLAGS ${SANITIZER_COMMON_CFLAGS} -fno-rtti -fno-exceptions
+    -nostdinc++ -pthread)
 append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC GWP_ASAN_CFLAGS)
 append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -fno-omit-frame-pointer
                GWP_ASAN_CFLAGS)
-- 
2.23.0

++++++ libcxx-tests-linux-distribution.patch ++++++
From: Aaron Puchert <[email protected]>
Date: Wed, 4 Dec 2019 00:41:27 +0100
Subject: [PATCH] Remove call to platform.linux_distribution

Summary:
Since Python 3.5, platform.linux_distribution is deprecated [1], and in
Python 3.8 it has been removed entirely. To avoid adding an additional
dependency, we remove the part of code that it depends on, because we
don't need XFAIL on (open)SUSE.
---
 libcxx/utils/libcxx/test/target_info.py | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/libcxx/utils/libcxx/test/target_info.py 
b/libcxx/utils/libcxx/test/target_info.py
index 6da30e672e1..b52a998e008 100644
--- a/libcxx/utils/libcxx/test/target_info.py
+++ b/libcxx/utils/libcxx/test/target_info.py
@@ -191,29 +191,8 @@ class LinuxLocalTI(DefaultTargetInfo):
     def platform(self):
         return 'linux'
 
-    def platform_name(self):
-        name, _, _ = platform.linux_distribution()
-        # Some distros have spaces, e.g. 'SUSE Linux Enterprise Server'
-        # lit features can't have spaces
-        name = name.lower().strip().replace(' ', '-')
-        return name # Permitted to be None
-
-    def platform_ver(self):
-        _, ver, _ = platform.linux_distribution()
-        ver = ver.lower().strip().replace(' ', '-')
-        return ver # Permitted to be None.
-
     def add_locale_features(self, features):
         add_common_locales(features, self.full_config.lit_config)
-        # Some linux distributions have different locale data than others.
-        # Insert the distributions name and name-version into the available
-        # features to allow tests to XFAIL on them.
-        name = self.platform_name()
-        ver = self.platform_ver()
-        if name:
-            features.add(name)
-        if name and ver:
-            features.add('%s-%s' % (name, ver))
 
     def add_cxx_compile_flags(self, flags):
         flags += ['-D__STDC_FORMAT_MACROS',
--
2.24.0
++++++ llvm-add-missing-include.patch ++++++
>From 98b1752888c0282bf5504b67484b92d8d069f1b8 Mon Sep 17 00:00:00 2001
From: Than McIntosh <[email protected]>
Date: Fri, 19 Jul 2019 13:13:54 +0000
Subject: [PATCH] Merging r366572:

------------------------------------------------------------------------
r366572 | thanm | 2019-07-19 06:13:54 -0700 (Fri, 19 Jul 2019) | 12 lines

[NFC] include cstdint/string prior to using uint8_t/string

Summary: include proper header prior to use of uint8_t typedef
and std::string.

Subscribers: llvm-commits

Reviewers: cherry

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64937
------------------------------------------------------------------------
---
 llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h 
b/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
index da9d9d5bfdc..3d47471f0ef 100644
--- a/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
+++ b/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
@@ -16,6 +16,8 @@
 #include "llvm/Demangle/DemangleConfig.h"
 #include "llvm/Demangle/StringView.h"
 #include <array>
+#include <cstdint>
+#include <string>
 
 namespace llvm {
 namespace itanium_demangle {
-- 
2.24.0


Reply via email to