]> TLD Linux GIT Repositories - packages/llvm.git/commitdiff
- merged 19.1.5 from PLD
authorMarcin Krol <hawk@tld-linux.org>
Mon, 23 Dec 2024 21:11:47 +0000 (22:11 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 23 Dec 2024 21:11:47 +0000 (22:11 +0100)
cmake-utils-path-override-rt.patch [deleted file]
llvm-ocaml-link-dylib.patch
llvm-tld.patch
llvm.spec
x32-gcc-toolchain.patch

diff --git a/cmake-utils-path-override-rt.patch b/cmake-utils-path-override-rt.patch
deleted file mode 100644 (file)
index 9911c8c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- llvm-17.0.2.src/projects/compiler-rt/CMakeLists.txt.orig   2023-10-03 08:37:35.000000000 +0200
-+++ llvm-17.0.2.src/projects/compiler-rt/CMakeLists.txt        2023-10-07 10:31:48.211026182 +0200
-@@ -5,7 +5,7 @@
- cmake_minimum_required(VERSION 3.20.0)
--set(LLVM_COMMON_CMAKE_UTILS "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
-+set(LLVM_COMMON_CMAKE_UTILS "${CMAKE_CURRENT_SOURCE_DIR}/../cmake" CACHE STRING "Path to CMake modules shared between projects")
- include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
-   NO_POLICY_SCOPE)
index e382acd190e51f2a6732a632dc66e27f84593447..60c39b6c3aff155c4f510ed9ed48fcff72e4ef5e 100644 (file)
@@ -1,14 +1,5 @@
 --- llvm-17.0.4.src/cmake/modules/AddOCaml.cmake.orig  2023-11-06 21:27:39.906604595 +0100
 +++ llvm-17.0.4.src/cmake/modules/AddOCaml.cmake       2023-11-06 22:12:34.479135305 +0100
-@@ -69,7 +69,7 @@ function(add_ocaml_library name)
-   endif()
-   if(LLVM_LINK_LLVM_DYLIB)
--    list(APPEND ocaml_flags "-lLLVM")
-+    list(APPEND ocaml_flags "-lLLVM-17")
-   else()
-     explicit_map_components_to_libraries(llvm_libs ${ARG_LLVM})
-     foreach( llvm_lib ${llvm_libs} )
 @@ -186,9 +186,13 @@ function(add_ocaml_library name)
    endforeach()
  
index 9eb33c4665918709782b3adec63bb61e722ee8e7..6548b032e927674403d0826cf5523e074ee55747 100644 (file)
@@ -1,7 +1,7 @@
-diff -urNp -x '*.orig' llvm-11.0.1.src.org/tools/clang/include/clang/Driver/Distro.h llvm-11.0.1.src/tools/clang/include/clang/Driver/Distro.h
---- llvm-11.0.1.src.org/tools/clang/include/clang/Driver/Distro.h      2020-12-18 20:57:38.000000000 +0100
-+++ llvm-11.0.1.src/tools/clang/include/clang/Driver/Distro.h  2021-03-25 22:27:39.173689051 +0100
-@@ -28,6 +28,7 @@ public:
+diff -urNp -x '*.orig' llvm-19.1.5.src.org/tools/clang/include/clang/Driver/Distro.h llvm-19.1.5.src/tools/clang/include/clang/Driver/Distro.h
+--- llvm-19.1.5.src.org/tools/clang/include/clang/Driver/Distro.h      2024-12-03 08:46:10.000000000 +0100
++++ llvm-19.1.5.src/tools/clang/include/clang/Driver/Distro.h  2024-12-23 14:15:31.732367771 +0100
+@@ -30,6 +30,7 @@ public:
      // the first and last known member in the family, e.g. IsRedHat().
      AlpineLinux,
      ArchLinux,
@@ -9,7 +9,7 @@ diff -urNp -x '*.orig' llvm-11.0.1.src.org/tools/clang/include/clang/Driver/Dist
      DebianLenny,
      DebianSqueeze,
      DebianWheezy,
-@@ -132,6 +133,10 @@ public:
+@@ -138,6 +139,10 @@ public:
  
    bool IsGentoo() const { return DistroVal == Gentoo; }
  
@@ -20,10 +20,10 @@ diff -urNp -x '*.orig' llvm-11.0.1.src.org/tools/clang/include/clang/Driver/Dist
    /// @}
  };
  
-diff -urNp -x '*.orig' llvm-11.0.1.src.org/tools/clang/lib/Driver/Distro.cpp llvm-11.0.1.src/tools/clang/lib/Driver/Distro.cpp
---- llvm-11.0.1.src.org/tools/clang/lib/Driver/Distro.cpp      2020-12-18 20:57:38.000000000 +0100
-+++ llvm-11.0.1.src/tools/clang/lib/Driver/Distro.cpp  2021-03-25 22:27:39.173689051 +0100
-@@ -165,6 +165,9 @@ static Distro::DistroType DetectDistro(l
+diff -urNp -x '*.orig' llvm-19.1.5.src.org/tools/clang/lib/Driver/Distro.cpp llvm-19.1.5.src/tools/clang/lib/Driver/Distro.cpp
+--- llvm-19.1.5.src.org/tools/clang/lib/Driver/Distro.cpp      2024-12-03 08:46:10.000000000 +0100
++++ llvm-19.1.5.src/tools/clang/lib/Driver/Distro.cpp  2024-12-23 14:15:31.732367771 +0100
+@@ -205,6 +205,9 @@ static Distro::DistroType DetectDistro(l
    if (VFS.exists("/etc/gentoo-release"))
      return Distro::Gentoo;
  
@@ -33,10 +33,10 @@ diff -urNp -x '*.orig' llvm-11.0.1.src.org/tools/clang/lib/Driver/Distro.cpp llv
    return Distro::UnknownDistro;
  }
  
-diff -urNp -x '*.orig' llvm-11.0.1.src.org/tools/clang/lib/Driver/ToolChains/Gnu.cpp llvm-11.0.1.src/tools/clang/lib/Driver/ToolChains/Gnu.cpp
---- llvm-11.0.1.src.org/tools/clang/lib/Driver/ToolChains/Gnu.cpp      2020-12-18 20:57:38.000000000 +0100
-+++ llvm-11.0.1.src/tools/clang/lib/Driver/ToolChains/Gnu.cpp  2021-03-25 22:27:39.173689051 +0100
-@@ -2048,6 +2048,7 @@ void Generic_GCC::GCCInstallationDetecto
+diff -urNp -x '*.orig' llvm-19.1.5.src.org/tools/clang/lib/Driver/ToolChains/Gnu.cpp llvm-19.1.5.src/tools/clang/lib/Driver/ToolChains/Gnu.cpp
+--- llvm-19.1.5.src.org/tools/clang/lib/Driver/ToolChains/Gnu.cpp      2024-12-03 08:46:10.000000000 +0100
++++ llvm-19.1.5.src/tools/clang/lib/Driver/ToolChains/Gnu.cpp  2024-12-23 14:15:31.732367771 +0100
+@@ -2463,6 +2463,7 @@ void Generic_GCC::GCCInstallationDetecto
    // lists should shrink over time. Please don't add more elements to *Triples.
    static const char *const AArch64LibDirs[] = {"/lib64", "/lib"};
    static const char *const AArch64Triples[] = {
@@ -44,7 +44,7 @@ diff -urNp -x '*.orig' llvm-11.0.1.src.org/tools/clang/lib/Driver/ToolChains/Gnu
        "aarch64-none-linux-gnu", "aarch64-linux-gnu", "aarch64-redhat-linux",
        "aarch64-suse-linux"};
    static const char *const AArch64beLibDirs[] = {"/lib"};
-@@ -2072,6 +2077,7 @@ void Generic_GCC::GCCInstallationDetecto
+@@ -2488,6 +2489,7 @@ void Generic_GCC::GCCInstallationDetecto
  
    static const char *const X86_64LibDirs[] = {"/lib64", "/lib"};
    static const char *const X86_64Triples[] = {
@@ -52,18 +52,18 @@ diff -urNp -x '*.orig' llvm-11.0.1.src.org/tools/clang/lib/Driver/ToolChains/Gnu
        "x86_64-linux-gnu",       "x86_64-unknown-linux-gnu",
        "x86_64-pc-linux-gnu",    "x86_64-redhat-linux6E",
        "x86_64-redhat-linux",    "x86_64-suse-linux",
-@@ -2081,6 +2087,7 @@ void Generic_GCC::GCCInstallationDetecto
+@@ -2498,6 +2500,7 @@ void Generic_GCC::GCCInstallationDetecto
    static const char *const X32LibDirs[] = {"/libx32", "/lib"};
    static const char *const X86LibDirs[] = {"/lib32", "/lib"};
    static const char *const X86Triples[] = {
 +      "i686-tld-linux",
        "i586-linux-gnu",      "i686-linux-gnu",        "i686-pc-linux-gnu",
        "i386-redhat-linux6E", "i686-redhat-linux",     "i386-redhat-linux",
-       "i586-suse-linux",     "i686-montavista-linux", "i686-gnu",
-diff -urNp -x '*.orig' llvm-11.0.1.src.org/tools/clang/lib/Driver/ToolChains/Linux.cpp llvm-11.0.1.src/tools/clang/lib/Driver/ToolChains/Linux.cpp
---- llvm-11.0.1.src.org/tools/clang/lib/Driver/ToolChains/Linux.cpp    2020-12-18 20:57:38.000000000 +0100
-+++ llvm-11.0.1.src/tools/clang/lib/Driver/ToolChains/Linux.cpp        2021-03-25 22:27:39.173689051 +0100
-@@ -226,7 +226,7 @@ Linux::Linux(const Driver &D, const llvm
+       "i586-suse-linux",     "i686-montavista-linux",
+diff -urNp -x '*.orig' llvm-19.1.5.src.org/tools/clang/lib/Driver/ToolChains/Linux.cpp llvm-19.1.5.src/tools/clang/lib/Driver/ToolChains/Linux.cpp
+--- llvm-19.1.5.src.org/tools/clang/lib/Driver/ToolChains/Linux.cpp    2024-12-03 08:46:10.000000000 +0100
++++ llvm-19.1.5.src/tools/clang/lib/Driver/ToolChains/Linux.cpp        2024-12-23 14:15:31.732367771 +0100
+@@ -234,7 +234,7 @@ Linux::Linux(const Driver &D, const llvm
      ExtraOpts.push_back("now");
    }
  
index d249ccc80ca6aab648a8c96d373c14b8836f4c1e..4643cf50d25ef859bb578e9797971defdbe32742 100644 (file)
--- a/llvm.spec
+++ b/llvm.spec
@@ -8,7 +8,6 @@
 #      %{_datadir}/clang/clang-format.el - clang tools emacs integration
 #      %{_datadir}/clang/clang-include-fixer.el
 #      %{_datadir}/clang/clang-rename.el
-# - no content in doc package (it used to contain parts of clang apidocs and some examples)
 # - system isl in polly?
 # - dependencies and files for lua module
 #      %{_libdir}/lua/5.3/lldb.so
 Summary:       The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
 Summary(pl.UTF-8):     Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
 Name:          llvm
-Version:       17.0.4
-Release:       3
+Version:       19.1.5
+Release:       1
 License:       Apache 2.0 with LLVM exceptions
 Group:         Development/Languages
 #Source0Download: https://github.com/llvm/llvm-project/releases/
 Source0:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz
-# Source0-md5: c6839c2bde72d67204294ba139502cc3
+# Source0-md5: 774c750bf2a1de4468af87921643bc3c
 Source1:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-%{version}.src.tar.xz
-# Source1-md5: 67eba128307f3fc6e2cf35a50ea68521
+# Source1-md5: 8f88961bf8f57743c6076be753ffdace
 Source2:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/compiler-rt-%{version}.src.tar.xz
-# Source2-md5: 3eddd3fbb22ee320d01b7695b3e42bad
+# Source2-md5: 0690c7635ca67397edc97f5454070239
 Source3:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/lldb-%{version}.src.tar.xz
-# Source3-md5: 0019e41b3ca31ed83c393512999faf87
+# Source3-md5: b6473922d22fee5efc836e2245e63fa6
 Source4:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/polly-%{version}.src.tar.xz
-# Source4-md5: 9160fb42a88a76207b644e601ae6878a
+# Source4-md5: 6ce77c7755920da1ba38ad863df41836
 Source5:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-tools-extra-%{version}.src.tar.xz
-# Source5-md5: e715a4ad675f61bef388e6d194103d56
+# Source5-md5: 5e52260e19d80fa0d2689432874010a7
 Source6:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/lld-%{version}.src.tar.xz
-# Source6-md5: f0be491a288cd710bfb53f5c624fc0c7
+# Source6-md5: a57f0590215676e03414c8a44d1c8649
 Source7:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/flang-%{version}.src.tar.xz
-# Source7-md5: 2b379d054681b6f270a57c727973e5b4
+# Source7-md5: 28822b5ed726442b82457e9fcaf9cfa5
 Source8:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/mlir-%{version}.src.tar.xz
-# Source8-md5: 88d94ddb6f964130cd2a61e0c79f77c2
+# Source8-md5: 620ab9c23e35177f08a17950c15d7827
 Source9:       https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz
-# Source9-md5: 38ae9cc0950f277c8f88e570c4d18010
+# Source9-md5: 12bae9030aa870e6155329487c9bc650
 Patch1:                %{name}-tld.patch
 Patch2:                %{name}-ocaml-link-dylib.patch
 Patch3:                x32-gcc-toolchain.patch
@@ -118,8 +117,7 @@ Patch8:             %{name}-selective_bindings.patch
 Patch9:                %{name}-libexecdir.patch
 Patch10:       compiler-rt-paths.patch
 Patch11:       cmake-utils-path-override.patch
-Patch12:       cmake-utils-path-override-rt.patch
-Patch13:       x32-compiler-rt.patch
+Patch12:       x32-compiler-rt.patch
 URL:           https://llvm.org/
 BuildRequires: bash
 BuildRequires: binutils-devel
@@ -146,6 +144,7 @@ BuildRequires:      perl-tools-pod
 BuildRequires: python3 >= 1:3
 BuildRequires: python3-PyYAML
 BuildRequires: python3-modules
+%{?with_doc:BuildRequires:     python3-myst_parser}
 BuildRequires: python3-pygments >= 2.0
 BuildRequires: rpm-build >= 4.6
 BuildRequires: rpm-pythonprov
@@ -154,7 +153,7 @@ BuildRequires:      rpmbuild(macros) >= 2.007
 BuildRequires: tar >= 1:1.22
 BuildRequires: xar-devel >= 1.6
 BuildRequires: xz
-%{?with_z3:BuildRequires:      z3-devel >= 4.7.1}
+%{?with_z3:BuildRequires:      z3-devel >= 4.8.9}
 BuildRequires: zlib-devel
 BuildRequires: zstd-devel
 %if %{with apidocs}
@@ -170,6 +169,7 @@ BuildRequires:      tcl-devel
 BuildRequires: gcc-c++-multilib-32
 BuildRequires: glibc-devel(ix86)
 BuildRequires: libstdc++-multilib-32-devel
+BuildRequires: libunwind-devel(x86-32)
 %endif
 %ifarch x32
 BuildRequires: gcc-c++-multilib-32
@@ -178,6 +178,8 @@ BuildRequires:      glibc-devel(ix86)
 BuildRequires: glibc-devel(x86_64)
 BuildRequires: libstdc++-multilib-32-devel
 BuildRequires: libstdc++-multilib-64-devel
+BuildRequires: libunwind-devel(x86-32)
+BuildRequires: libunwind-devel(x86-64)
 %endif
 %endif
 %if %{with lldb}
@@ -206,7 +208,7 @@ Requires:   %{name}-libs = %{version}-%{release}
 ExcludeArch:   ppc64
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                abi     17
+%define                abi     19.1
 %define                _sysconfdir     /etc/%{name}
 
 %define                specflags_ppc   -fno-var-tracking-assignments
@@ -269,7 +271,7 @@ Requires:   %{name}-libs%{?_isa} = %{version}-%{release}
 %{?with_libatomic:Requires:    libatomic-devel}
 Requires:      libstdc++-devel >= 6:3.4
 Requires:      ncurses-devel
-%{?with_z3:Requires:   z3-devel}
+%{?with_z3:Requires:   z3-devel >= 4.8.9}
 Requires:      zlib-devel
 Requires:      zstd-devel
 
@@ -282,18 +284,6 @@ Ten pakiet zawiera biblioteki statyczne oraz pliki nagłówkowe
 potrzebne do tworzenia nowych programów natywnych wykorzystujących
 infrastrukturę LLVM.
 
-%package doc
-Summary:       Documentation for LLVM
-Summary(pl.UTF-8):     Dokumentacja do LLVM-a
-Group:         Documentation
-# does not require base
-
-%description doc
-Documentation for the LLVM compiler infrastructure.
-
-%description doc -l pl.UTF-8
-Dokumentacja do infrastruktury kompilatorów LLVM.
-
 %package apidocs
 Summary:       API documentation for LLVM
 Summary(pl.UTF-8):     Dokumentacja API LLVM-a
@@ -325,8 +315,8 @@ Summary:    LLVM Multi-Level Intermediate Representation development files
 Summary(pl.UTF-8):     Pliki do programowania z użyciem wielopoziomowej reprezentacji pośredniej LLVM
 Group:         Development/Tools
 URL:           https://mlir.llvm.org/
-Requires:      %{name}-devel = %{version}-%{release}
-Requires:      %{name}-mlir = %{version}-%{release}
+Requires:      %{name}-devel%{?_isa} = %{version}-%{release}
+Requires:      %{name}-mlir%{?_isa} = %{version}-%{release}
 
 %description mlir-devel
 LLVM Multi-Level Intermediate Representation development files.
@@ -359,8 +349,8 @@ Summary:    Header files for LLVM Polly optimization infrastructure
 Summary(pl.UTF-8):     Pliki nagłówkowe infrastruktury optymalizacji LLVM-a Polly
 Group:         Development/Libraries
 URL:           https://polly.llvm.org/
-Requires:      %{name}-devel = %{version}-%{release}
-Requires:      %{name}-polly = %{version}-%{release}
+Requires:      %{name}-devel%{?_isa} = %{version}-%{release}
+Requires:      %{name}-polly%{?_isa} = %{version}-%{release}
 
 %description polly-devel
 Header files for LLVM Polly optimization infrastructure.
@@ -442,8 +432,8 @@ Summary:    Header files for Clang
 Summary(pl.UTF-8):     Pliki nagłówkowe Clanga
 Group:         Development/Languages
 URL:           https://clang.llvm.org/
-Requires:      %{name}-devel = %{version}-%{release}
-Requires:      clang = %{version}-%{release}
+Requires:      %{name}-devel%{?_isa} = %{version}-%{release}
+Requires:      clang-libs%{?_isa} = %{version}-%{release}
 %{?with_polly:Requires:        llvm-polly-devel = %{version}-%{release}}
 
 %description -n clang-devel
@@ -549,8 +539,8 @@ Summary:    Fortran frontend for LLVM - development files
 Summary(pl.UTF-8):     Frontend LLVM-a do Fortranu - pliki programistyczne
 Group:         Development/Languages
 URL:           http://flang.llvm.org/
-Requires:      %{name}-mlir-devel = %{version}-%{release}
-Requires:      flang-devel = %{version}-%{release}
+Requires:      %{name}-mlir-devel%{?_isa} = %{version}-%{release}
+Requires:      flang%{?_isa} = %{version}-%{release}
 
 %description -n flang-devel
 Development files for LLVM Fortran frontend.
@@ -577,7 +567,7 @@ Summary:    Development files for LLD linker tools
 Summary(pl.UTF-8):     Pliki programistyczne narzędzi konsolidujących LLD
 Group:         Development/Tools
 URL:           https://lld.llvm.org/
-Requires:      %{name}-devel = %{version}-%{release}
+Requires:      %{name}-devel%{?_isa} = %{version}-%{release}
 Requires:      xar-devel >= 1.6
 
 %description -n lld-devel
@@ -611,9 +601,9 @@ Summary:    Development files for LLDB debugger
 Summary(pl.UTF-8):     Pliki programistyczne debuggera LLDB
 Group:         Development/Libraries
 URL:           https://lldb.llvm.org/
-Requires:      %{name}-devel = %{version}-%{release}
-Requires:      clang-devel = %{version}-%{release}
-Requires:      lldb = %{version}-%{release}
+Requires:      %{name}-devel%{?_isa} = %{version}-%{release}
+Requires:      clang-devel%{?_isa} = %{version}-%{release}
+Requires:      lldb%{?_isa} = %{version}-%{release}
 
 %description -n lldb-devel
 Development files for LLDB debugger.
@@ -640,8 +630,8 @@ Wiązanie OCamla do LLVM-a.
 Summary:       Development files for LLVM OCaml binding
 Summary(pl.UTF-8):     Pliki programistyczne wiązania OCamla do LLVM-a
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}-%{release}
-Requires:      %{name}-ocaml = %{version}-%{release}
+Requires:      %{name}-devel%{?_isa} = %{version}-%{release}
+Requires:      %{name}-ocaml%{?_isa} = %{version}-%{release}
 
 %description ocaml-devel
 The llvm-ocaml-devel package contains libraries and signature files
@@ -719,7 +709,6 @@ Integracja narzędzi Clang do formatowania i zmiany nazw z Vimem.
 %if %{with rt}
 %patch10 -p1
 %patch12 -p1
-%patch13 -p1
 %endif
 %patch11 -p1
 
@@ -755,6 +744,7 @@ fi
 %cmake .. \
        -DBUILD_SHARED_LIBS:BOOL=OFF \
        -DENABLE_LINKER_BUILD_ID:BOOL=ON \
+       -DLLVM_ADDITIONAL_BUILD_TYPES=TLD \
        -DLLVM_COMMON_CMAKE_UTILS="%{_builddir}/%{buildsubdir}/cmake-utils" \
        -DLLVM_BINDINGS_LIST:LIST="%{?with_ocaml:ocaml}" \
        -DLLVM_BINUTILS_INCDIR:STRING=%{_includedir} \
@@ -970,8 +960,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/llvm-rc
 %attr(755,root,root) %{_bindir}/llvm-readelf
 %attr(755,root,root) %{_bindir}/llvm-readobj
+%attr(755,root,root) %{_bindir}/llvm-readtapi
 %attr(755,root,root) %{_bindir}/llvm-reduce
-%attr(755,root,root) %{_bindir}/llvm-remark-size-diff
 %attr(755,root,root) %{_bindir}/llvm-remarkutil
 %attr(755,root,root) %{_bindir}/llvm-rtdyld
 %attr(755,root,root) %{_bindir}/llvm-sim
@@ -981,13 +971,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/llvm-stress
 %attr(755,root,root) %{_bindir}/llvm-strings
 %attr(755,root,root) %{_bindir}/llvm-symbolizer
-%attr(755,root,root) %{_bindir}/llvm-tapi-diff
 %attr(755,root,root) %{_bindir}/llvm-tblgen
 %attr(755,root,root) %{_bindir}/llvm-tli-checker
 %attr(755,root,root) %{_bindir}/llvm-undname
 %attr(755,root,root) %{_bindir}/llvm-windres
 %attr(755,root,root) %{_bindir}/llvm-xray
 %attr(755,root,root) %{_bindir}/opt
+%attr(755,root,root) %{_bindir}/reduce-chunk-list
 %attr(755,root,root) %{_bindir}/sancov
 %attr(755,root,root) %{_bindir}/sanstats
 %attr(755,root,root) %{_bindir}/tblgen-lsp-server
@@ -1019,6 +1009,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/llvm-link.1*
 %{_mandir}/man1/llvm-lipo.1*
 %{_mandir}/man1/llvm-locstats.1*
+%{_mandir}/man1/llvm-mc.1*
 %{_mandir}/man1/llvm-mca.1*
 %{_mandir}/man1/llvm-nm.1*
 %{_mandir}/man1/llvm-objcopy.1*
@@ -1031,7 +1022,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/llvm-ranlib.1*
 %{_mandir}/man1/llvm-readelf.1*
 %{_mandir}/man1/llvm-readobj.1*
-%{_mandir}/man1/llvm-remark-size-diff.1*
+%{_mandir}/man1/llvm-reduce.1*
 %{_mandir}/man1/llvm-remarkutil.1*
 %{_mandir}/man1/llvm-size.1*
 %{_mandir}/man1/llvm-stress.1*
@@ -1047,12 +1038,11 @@ rm -rf $RPM_BUILD_ROOT
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/LLVMgold.so
-%attr(755,root,root) %{_libdir}/libLLVM-%{abi}.so
-# non-soname symlink
-%attr(755,root,root) %{_libdir}/libLLVM-%{version}.so
-%attr(755,root,root) %{_libdir}/libLTO.so.17
-%attr(755,root,root) %{_libdir}/libRemarks.so.17
-%attr(755,root,root) %{_libdir}/libclang-cpp.so.17
+%attr(755,root,root) %{_libdir}/libLLVM-19.so
+%attr(755,root,root) %{_libdir}/libLLVM.so.%{abi}
+%attr(755,root,root) %{_libdir}/libLTO.so.19.1
+%attr(755,root,root) %{_libdir}/libRemarks.so.19.1
+%attr(755,root,root) %{_libdir}/libclang-cpp.so.19.1
 
 %files devel
 %defattr(644,root,root,755)
@@ -1069,9 +1059,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/llvm-config.1*
 %endif
 
-#%files doc
-#%defattr(644,root,root,755)
-
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
@@ -1081,20 +1068,29 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with mlir}
 %files mlir
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mlir-cat
 %attr(755,root,root) %{_bindir}/mlir-cpu-runner
 %attr(755,root,root) %{_bindir}/mlir-linalg-ods-yaml-gen
 %attr(755,root,root) %{_bindir}/mlir-lsp-server
+%attr(755,root,root) %{_bindir}/mlir-minimal-opt
+%attr(755,root,root) %{_bindir}/mlir-minimal-opt-canonicalize
 %attr(755,root,root) %{_bindir}/mlir-opt
 %attr(755,root,root) %{_bindir}/mlir-pdll
 %attr(755,root,root) %{_bindir}/mlir-pdll-lsp-server*
+%attr(755,root,root) %{_bindir}/mlir-query
 %attr(755,root,root) %{_bindir}/mlir-reduce
 %attr(755,root,root) %{_bindir}/mlir-tblgen
+%attr(755,root,root) %{_bindir}/mlir-transform-opt
 %attr(755,root,root) %{_bindir}/mlir-translate
-%attr(755,root,root) %{_libdir}/libMLIR.so.17
-%attr(755,root,root) %{_libdir}/libmlir_async_runtime.so.17
-%attr(755,root,root) %{_libdir}/libmlir_c_runner_utils.so.17
-%attr(755,root,root) %{_libdir}/libmlir_float16_utils.so.17
-%attr(755,root,root) %{_libdir}/libmlir_runner_utils.so.17
+%attr(755,root,root) %{_bindir}/tblgen-to-irdl
+%attr(755,root,root) %{_libdir}/libMLIR.so.19.1
+%attr(755,root,root) %{_libdir}/libMLIRExecutionEngineShared.so.19.1
+%attr(755,root,root) %{_libdir}/libmlir_arm_runner_utils.so.19.1
+%attr(755,root,root) %{_libdir}/libmlir_arm_sme_abi_stubs.so.19.1
+%attr(755,root,root) %{_libdir}/libmlir_async_runtime.so.19.1
+%attr(755,root,root) %{_libdir}/libmlir_c_runner_utils.so.19.1
+%attr(755,root,root) %{_libdir}/libmlir_float16_utils.so.19.1
+%attr(755,root,root) %{_libdir}/libmlir_runner_utils.so.19.1
 %if %{with doc}
 %{_mandir}/man1/mlir-tblgen.1*
 %endif
@@ -1102,6 +1098,9 @@ rm -rf $RPM_BUILD_ROOT
 %files mlir-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libMLIR.so
+%attr(755,root,root) %{_libdir}/libMLIRExecutionEngineShared.so
+%attr(755,root,root) %{_libdir}/libmlir_arm_runner_utils.so
+%attr(755,root,root) %{_libdir}/libmlir_arm_sme_abi_stubs.so
 %attr(755,root,root) %{_libdir}/libmlir_async_runtime.so
 %attr(755,root,root) %{_libdir}/libmlir_c_runner_utils.so
 %attr(755,root,root) %{_libdir}/libmlir_float16_utils.so
@@ -1132,13 +1131,15 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/amdgpu-arch
 %attr(755,root,root) %{_bindir}/clang
 %attr(755,root,root) %{_bindir}/clang++
-%attr(755,root,root) %{_bindir}/clang-%{abi}
+%attr(755,root,root) %{_bindir}/clang-19
 %attr(755,root,root) %{_bindir}/clang-check
 %attr(755,root,root) %{_bindir}/clang-cl
 %attr(755,root,root) %{_bindir}/clang-cpp
 %attr(755,root,root) %{_bindir}/clang-doc
 %attr(755,root,root) %{_bindir}/clang-format
+%attr(755,root,root) %{_bindir}/clang-installapi
 %attr(755,root,root) %{_bindir}/clang-linker-wrapper
+%attr(755,root,root) %{_bindir}/clang-nvlink-wrapper
 %attr(755,root,root) %{_bindir}/clang-offload-bundler
 %attr(755,root,root) %{_bindir}/clang-offload-packager
 %attr(755,root,root) %{_bindir}/clang-pseudo
@@ -1147,79 +1148,79 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/git-clang-format
 %attr(755,root,root) %{_bindir}/nvptx-arch
 %dir %{_libdir}/clang
-%dir %{_libdir}/clang/%{abi}
-%{_libdir}/clang/%{abi}/include
+%dir %{_libdir}/clang/19
+%{_libdir}/clang/19/include
 %if %{with rt}
 %ifarch %{x8664} x32 aarch64
-%dir %{_libdir}/clang/%{abi}/bin
-%attr(755,root,root) %{_libdir}/clang/%{abi}/bin/hwasan_symbolize
+%dir %{_libdir}/clang/19/bin
+%attr(755,root,root) %{_libdir}/clang/19/bin/hwasan_symbolize
 %endif
 %ifarch %{ix86} %{x8664} aarch64 %{armv7}
-%dir %{_libdir}/clang/%{abi}/lib
-%dir %{_libdir}/clang/%{abi}/lib/*-linux*
-%dir %{_libdir}/clang/%{abi}/share
+%dir %{_libdir}/clang/19/lib
+%dir %{_libdir}/clang/19/lib/*-linux*
+%dir %{_libdir}/clang/19/share
 %endif
 %ifarch x32
 %if %{with multilib}
-%dir %{_libdir}/clang/%{abi}/lib
-%dir %{_libdir}/clang/%{abi}/lib/*-linux*
-%dir %{_libdir}/clang/%{abi}/share
+%dir %{_libdir}/clang/19/lib
+%dir %{_libdir}/clang/19/lib/*-linux*
+%dir %{_libdir}/clang/19/share
 %endif
 %endif
 %ifarch %{ix86}
-%{_libdir}/clang/%{abi}/lib/i*86-*linux/clang_rt.*.o
-%{_libdir}/clang/%{abi}/lib/i*86-*linux/libclang_rt.*.a
-%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/i*86-*linux/libclang_rt.*.so
+%{_libdir}/clang/19/lib/i*86-*linux/clang_rt.*.o
+%{_libdir}/clang/19/lib/i*86-*linux/libclang_rt.*.a
+%attr(755,root,root) %{_libdir}/clang/19/lib/i*86-*linux/libclang_rt.*.so
 %endif
 %ifarch %{x8664}
-%{_libdir}/clang/%{abi}/lib/x86_64-*linux/clang_rt.*.o
-%{_libdir}/clang/%{abi}/lib/x86_64-*linux/libclang_rt.*.a
-%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/x86_64-*linux/libclang_rt.*.so
-%{_libdir}/clang/%{abi}/lib/x86_64-*linux/libclang_rt.*.a.syms
-%{_libdir}/clang/%{abi}/lib/x86_64-*linux/liborc_rt.a
+%{_libdir}/clang/19/lib/x86_64-*linux/clang_rt.*.o
+%{_libdir}/clang/19/lib/x86_64-*linux/libclang_rt.*.a
+%attr(755,root,root) %{_libdir}/clang/19/lib/x86_64-*linux/libclang_rt.*.so
+%{_libdir}/clang/19/lib/x86_64-*linux/libclang_rt.*.a.syms
+%{_libdir}/clang/19/lib/x86_64-*linux/liborc_rt.a
 %endif
 %ifarch aarch64
-%{_libdir}/clang/%{abi}/lib/aarch64-*linux/clang_rt.*.o
-%{_libdir}/clang/%{abi}/lib/aarch64-*linux/libclang_rt.*.a
-%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/aarch64-*linux/libclang_rt.*.so
-%{_libdir}/clang/%{abi}/lib/aarch64-*linux/libclang_rt.*.a.syms
-%{_libdir}/clang/%{abi}/lib/aarch64-*linux/liborc_rt.a
+%{_libdir}/clang/19/lib/aarch64-*linux/clang_rt.*.o
+%{_libdir}/clang/19/lib/aarch64-*linux/libclang_rt.*.a
+%attr(755,root,root) %{_libdir}/clang/19/lib/aarch64-*linux/libclang_rt.*.so
+%{_libdir}/clang/19/lib/aarch64-*linux/libclang_rt.*.a.syms
+%{_libdir}/clang/19/lib/aarch64-*linux/liborc_rt.a
 %endif
 %ifarch %{armv7}
 %ifarch %{arm32_with_hf}
-%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/clang_rt.*.o
-%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/libclang_rt.*.a
-%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/libclang_rt.*.so
-%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/libclang_rt.*.a.syms
-%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/liborc_rt.a
+%{_libdir}/clang/19/lib/arm-*linux%{_gnu}hf/clang_rt.*.o
+%{_libdir}/clang/19/lib/arm-*linux%{_gnu}hf/libclang_rt.*.a
+%attr(755,root,root) %{_libdir}/clang/19/lib/arm-*linux%{_gnu}hf/libclang_rt.*.so
+%{_libdir}/clang/19/lib/arm-*linux%{_gnu}hf/libclang_rt.*.a.syms
+%{_libdir}/clang/19/lib/arm-*linux%{_gnu}hf/liborc_rt.a
 %else
-%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/clang_rt.*.o
-%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/libclang_rt.*.a
-%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/libclang_rt.*.so
-%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/libclang_rt.*.a.syms
-%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/liborc_rt.a
+%{_libdir}/clang/19/lib/arm-*linux%{_gnu}/clang_rt.*.o
+%{_libdir}/clang/19/lib/arm-*linux%{_gnu}/libclang_rt.*.a
+%attr(755,root,root) %{_libdir}/clang/19/lib/arm-*linux%{_gnu}/libclang_rt.*.so
+%{_libdir}/clang/19/lib/arm-*linux%{_gnu}/libclang_rt.*.a.syms
+%{_libdir}/clang/19/lib/arm-*linux%{_gnu}/liborc_rt.a
 %endif
 %endif
 %ifarch %{ix86} %{x8664} %{arm} aarch64 mips mips64 ppc64
-%{_libdir}/clang/%{abi}/share/asan_ignorelist.txt
+%{_libdir}/clang/19/share/asan_ignorelist.txt
 %endif
 %ifarch %{ix86} %{x8664} mips64 aarch64 %{armv7}
-%{_libdir}/clang/%{abi}/share/cfi_ignorelist.txt
+%{_libdir}/clang/19/share/cfi_ignorelist.txt
 %endif
 %ifarch %{x8664} aarch64 mips64
-%{_libdir}/clang/%{abi}/share/dfsan_abilist.txt
-%{_libdir}/clang/%{abi}/share/msan_ignorelist.txt
+%{_libdir}/clang/19/share/dfsan_abilist.txt
+%{_libdir}/clang/19/share/msan_ignorelist.txt
 %endif
 %ifarch %{x8664} aarch64
-%{_libdir}/clang/%{abi}/share/hwasan_ignorelist.txt
+%{_libdir}/clang/19/share/hwasan_ignorelist.txt
 %endif
 %ifarch x32
 %if %{with multilib}
-%{_libdir}/clang/%{abi}/share/asan_ignorelist.txt
-%{_libdir}/clang/%{abi}/share/cfi_ignorelist.txt
-%{_libdir}/clang/%{abi}/share/dfsan_abilist.txt
-%{_libdir}/clang/%{abi}/share/msan_ignorelist.txt
-%{_libdir}/clang/%{abi}/share/hwasan_ignorelist.txt
+%{_libdir}/clang/19/share/asan_ignorelist.txt
+%{_libdir}/clang/19/share/cfi_ignorelist.txt
+%{_libdir}/clang/19/share/dfsan_abilist.txt
+%{_libdir}/clang/19/share/msan_ignorelist.txt
+%{_libdir}/clang/19/share/hwasan_ignorelist.txt
 %endif
 %endif
 %endif
@@ -1230,22 +1231,22 @@ rm -rf $RPM_BUILD_ROOT
 %ifarch %{x8664} x32
 %files -n clang-multilib
 %defattr(644,root,root,755)
-%{_libdir}/clang/%{abi}/lib/i386-*linux/clang_rt.*.o
-%{_libdir}/clang/%{abi}/lib/i386-*linux/libclang_rt.*.a
-%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/i386-*linux/libclang_rt.*.so
+%{_libdir}/clang/19/lib/i386-*linux/clang_rt.*.o
+%{_libdir}/clang/19/lib/i386-*linux/libclang_rt.*.a
+%attr(755,root,root) %{_libdir}/clang/19/lib/i386-*linux/libclang_rt.*.so
 %endif
 %ifarch x32
-%{_libdir}/clang/%{abi}/lib/x86_64-*linux/clang_rt.*.o
-%{_libdir}/clang/%{abi}/lib/x86_64-*linux/libclang_rt.*.a
-%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/x86_64-*linux/libclang_rt.*.so
-%{_libdir}/clang/%{abi}/lib/x86_64-*linux/libclang_rt.*.a.syms
-%{_libdir}/clang/%{abi}/lib/x86_64-*linux/liborc_rt.a
+%{_libdir}/clang/19/lib/x86_64-*linux/clang_rt.*.o
+%{_libdir}/clang/19/lib/x86_64-*linux/libclang_rt.*.a
+%attr(755,root,root) %{_libdir}/clang/19/lib/x86_64-*linux/libclang_rt.*.so
+%{_libdir}/clang/19/lib/x86_64-*linux/libclang_rt.*.a.syms
+%{_libdir}/clang/19/lib/x86_64-*linux/liborc_rt.a
 %endif
 %endif
 
 %files -n clang-libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libclang.so.17
+%attr(755,root,root) %{_libdir}/libclang.so.19.1
 %attr(755,root,root) %{_libdir}/libclang.so.*.*.*
 
 %files -n clang-devel
@@ -1285,8 +1286,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libexecdir}/clang-analyzer/analyze-cc
 %attr(755,root,root) %{_libexecdir}/clang-analyzer/intercept-c++
 %attr(755,root,root) %{_libexecdir}/clang-analyzer/intercept-cc
-%{_prefix}/%{_lib}/libear
-%{_prefix}/%{_lib}/libscanbuild
+%{_prefix}/lib/libear
+%{_prefix}/lib/libscanbuild
 %{_datadir}/scan-view
 
 %files -n clang-tools-extra
@@ -1377,12 +1378,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/lldb
 %attr(755,root,root) %{_bindir}/lldb-argdumper
+%attr(755,root,root) %{_bindir}/lldb-dap
 %attr(755,root,root) %{_bindir}/lldb-instr
 %attr(755,root,root) %{_bindir}/lldb-server
-%attr(755,root,root) %{_bindir}/lldb-vscode
 %attr(755,root,root) %{_libdir}/liblldb.so.%{version}
-%attr(755,root,root) %ghost %{_libdir}/liblldb.so.17
-%attr(755,root,root) %ghost %{_libdir}/liblldbIntelFeatures.so.17
+%attr(755,root,root) %ghost %{_libdir}/liblldb.so.19.1
+%attr(755,root,root) %ghost %{_libdir}/liblldbIntelFeatures.so.19.1
 %dir %{py3_sitedir}/lldb
 %attr(755,root,root) %{py3_sitedir}/lldb/lldb-argdumper
 %{py3_sitedir}/lldb/formatters
@@ -1393,8 +1394,11 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py3_sitedir}/lldb/plugins
 %{py3_sitedir}/lldb/plugins/__pycache__
 %{py3_sitedir}/lldb/plugins/__init__.py
+%{py3_sitedir}/lldb/plugins/operating_system.py
+%{py3_sitedir}/lldb/plugins/parsed_cmd.py
 %{py3_sitedir}/lldb/plugins/scripted_platform.py
 %{py3_sitedir}/lldb/plugins/scripted_process.py
+%{py3_sitedir}/lldb/plugins/scripted_thread_plan.py
 %attr(755,root,root) %{py3_sitedir}/lldb/_lldb.cpython-*.so
 
 %files -n lldb-devel
index b551b903b51d5276203d202c2555f8c88a8990fe..a22cab096e181be55fafbeba860fab3f8db3faa9 100644 (file)
@@ -1,9 +1,9 @@
 --- llvm-13.0.0.src/tools/clang/lib/Driver/ToolChains/Gnu.cpp.orig     2021-10-25 20:48:42.045696956 +0200
 +++ llvm-13.0.0.src/tools/clang/lib/Driver/ToolChains/Gnu.cpp  2021-10-25 20:56:43.802012798 +0200
 @@ -2113,8 +2113,9 @@
-       "x86_64-manbo-linux-gnu", "x86_64-linux-gnu",
-       "x86_64-slackware-linux", "x86_64-unknown-linux",
-       "x86_64-amazon-linux"};
+       "x86_64-redhat-linux",    "x86_64-suse-linux",
+       "x86_64-manbo-linux-gnu", "x86_64-slackware-linux",
+       "x86_64-unknown-linux",   "x86_64-amazon-linux"};
 -  static const char *const X32Triples[] = {"x86_64-linux-gnux32",
 -                                           "x86_64-pc-linux-gnux32"};
 +  static const char *const X32Triples[] = {