From 9d5d6700c9bb04d55b0a9e17ccf22703f749a2ad Mon Sep 17 00:00:00 2001 From: factory-maintainer <> Date: Feb 12 2024 19:08:44 +0000 Subject: Update llvm13 to version 13.0.1 / rev 17 via SR 1146054 https://build.opensuse.org/request/show/1146054 by user factory-maintainer + anag+factory Automatic submission by obs-autosubmit --- diff --git a/.files b/.files index 0af021d..1032489 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 6e02c47..1a8c58f 100644 --- a/.rev +++ b/.rev @@ -215,4 +215,12 @@ </comment> <requestid>1130634</requestid> </revision> + <revision rev="17" vrev="12"> + <srcmd5>e97bbcc0dd7190e4c8df4e5ec20ad3e5</srcmd5> + <version>13.0.1</version> + <time>1707760363</time> + <user>anag+factory</user> + <comment>Automatic submission by obs-autosubmit</comment> + <requestid>1146054</requestid> + </revision> </revisionlist> diff --git a/llvm13.changes b/llvm13.changes index e266564..412dd30 100644 --- a/llvm13.changes +++ b/llvm13.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Jan 11 07:38:12 UTC 2024 - Fabian Vogt <fvogt@suse.com> + +- Use %_target_* for determining the compiler host triple (boo#1218701) + +------------------------------------------------------------------- Thu Nov 30 22:53:03 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net> - Manage clang-cpp with update-alternatives like other binaries. diff --git a/llvm13.spec b/llvm13.spec index 83020f8..0c942ef 100644 --- a/llvm13.spec +++ b/llvm13.spec @@ -1,7 +1,7 @@ # # spec file for package llvm13 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -69,17 +69,17 @@ # Figure out the host triple. %ifarch armv6hl # See https://build.opensuse.org/request/show/968066. -%define host_cpu armv6kz +%define target_cpu armv6kz %else -%define host_cpu %{_host_cpu} +%define target_cpu %{_target_cpu} %endif %ifarch %{arm} -%define host_runtime gnueabihf +%define target_runtime gnueabihf %else -%define host_runtime gnu +%define target_runtime gnu %endif -%define host_triple %{host_cpu}-%{_host_vendor}-%{_host_os}-%{host_runtime} +%define host_triple %{target_cpu}-%{_target_vendor}-%{_target_os}-%{target_runtime} %define _plv %{!?product_libs_llvm_ver:%{_sonum}}%{?product_libs_llvm_ver} @@ -180,7 +180,7 @@ BuildRequires: python3-base BuildRequires: pkgconfig(libedit) BuildRequires: pkgconfig(zlib) Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives # llvm does not work on s390 ExcludeArch: s390 %if %{with ffi} @@ -272,7 +272,7 @@ Summary: CLANG frontend for LLVM Group: Development/Languages/C and C++ URL: https://clang.llvm.org/ Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Recommends: clang-tools Recommends: gcc Recommends: glibc-devel @@ -476,7 +476,7 @@ Summary: Linker for Clang/LLVM Group: Development/Tools/Building URL: https://lld.llvm.org/ Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %description -n lld%{_sonum} LLD is a linker from the LLVM project. That is a drop-in replacement for system linkers and runs much faster than them. It also provides features that are useful for toolchain developers. @@ -508,7 +508,7 @@ BuildRequires: pkgconfig(panel) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(zlib) Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Recommends: python3-lldb%{_sonum} ExclusiveArch: x86_64