Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm13 for openSUSE:Factory checked in at 2022-01-29 21:01:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm13 (Old) and /work/SRC/openSUSE:Factory/.llvm13.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm13" Sat Jan 29 21:01:02 2022 rev:5 rq:949357 version:13.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm13/llvm13.changes 2021-12-26 13:30:20.942952813 +0100 +++ /work/SRC/openSUSE:Factory/.llvm13.new.1898/llvm13.changes 2022-01-29 21:01:27.598924974 +0100 @@ -1,0 +2,7 @@ +Thu Jan 20 00:11:33 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Add support for experimental targets and enable the M68k backend +- Add patch to fix testsuite after enabling the M68k backend + + llvm-update-extract-section-script.patch + +------------------------------------------------------------------- New: ---- llvm-update-extract-section-script.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm13.spec ++++++ --- /var/tmp/diff_new_pack.xpOmDN/_old 2022-01-29 21:01:28.630918035 +0100 +++ /var/tmp/diff_new_pack.xpOmDN/_new 2022-01-29 21:01:28.634918008 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm13 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -138,6 +138,7 @@ # Fix lookup of targets in installed CMake files. (boo#1180748, https://reviews.llvm.org/D96670) Patch33: CMake-Look-up-target-subcomponents-in-LLVM_AVAILABLE_LIBS.patch Patch34: llvm-fix-building-with-GCC-12.patch +Patch35: llvm-update-extract-section-script.patch BuildRequires: binutils-devel >= 2.21.90 BuildRequires: cmake >= 3.13.4 BuildRequires: fdupes @@ -566,6 +567,7 @@ %patch27 -p2 %patch33 -p2 %patch34 -p2 +%patch35 -p2 pushd clang-%{_version}.src %patch2 -p1 @@ -656,21 +658,26 @@ # By default build everything TARGETS_TO_BUILD="all" +EXPERIMENTAL_TARGETS_TO_BUILD="M68k" %ifarch s390 s390x # No graphics cards on System z TARGETS_TO_BUILD="host;BPF" +EXPERIMENTAL_TARGETS_TO_BUILD= %endif %ifarch %arm # TODO: Document why those. TARGETS_TO_BUILD="host;ARM;AMDGPU;BPF;NVPTX" +EXPERIMENTAL_TARGETS_TO_BUILD= %endif %ifarch ppc64 ppc64le # TODO: Document why those. TARGETS_TO_BUILD="host;AMDGPU;BPF;NVPTX" +EXPERIMENTAL_TARGETS_TO_BUILD= %endif %ifarch ppc # TODO: Graphics cards turned off because of relocation overflows. TARGETS_TO_BUILD="host;BPF" +EXPERIMENTAL_TARGETS_TO_BUILD= %endif mem_per_compile_job=1000000 @@ -808,6 +815,7 @@ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=%{_includedir} \ -DLLVM_TARGETS_TO_BUILD=${TARGETS_TO_BUILD} \ + -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=${EXPERIMENTAL_TARGETS_TO_BUILD} \ %if %{with libcxx} -DLIBCXX_ENABLE_SHARED=YES \ -DLIBCXX_ENABLE_STATIC=NO \ ++++++ llvm-update-extract-section-script.patch ++++++ >From 4c0d15f86f33dc61ec1dc618fb164c127409edfc Mon Sep 17 00:00:00 2001 From: Min-Yih Hsu <miny...@uci.edu> Date: Sat, 7 Aug 2021 17:07:28 -0700 Subject: [PATCH] Update `llvm-readobj` command invocation in extract-section.py Change `-elf-output-style` to `--elf-output-style` to reflect the recent changes on short/long CLI options in LLVM binary utils. --- llvm/utils/extract-section.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/extract-section.py b/llvm/utils/extract-section.py index ca19b0ee8b61..0c96b52fc522 100755 --- a/llvm/utils/extract-section.py +++ b/llvm/utils/extract-section.py @@ -31,7 +31,7 @@ def read_raw_stdin(): def get_raw_section_dump(readobj_path, section_name, input_file): import subprocess - cmd = [readobj_path, '-elf-output-style=GNU', '--hex-dump={}'.format(section_name), + cmd = [readobj_path, '--elf-output-style=GNU', '--hex-dump={}'.format(section_name), input_file] proc = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) -- 2.26.2