* For details, see the release notes:
- https://releases.llvm.org/21.1.0/docs/ReleaseNotes.html
- https://releases.llvm.org/21.1.0/tools/clang/docs/ReleaseNotes.html
- https://releases.llvm.org/21.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html
- https://releases.llvm.org/21.1.0/projects/libcxx/docs/ReleaseNotes.html
- https://releases.llvm.org/21.1.0/tools/lld/docs/ReleaseNotes.html
* The LLVM tool llvm-ml is now also available as llvm-ml64.
* Clang tools amdgpu-arch and nvptx-arch have been unified into a
single tool offload-arch.
- Require libxml2 not only for lldb, because it is (optionally)
also used in LLVM and Clang.
- Rebase patches:
* assume-opensuse.patch
* link-clang-shared.patch
* llvm-do-not-install-static-libraries.patch
* llvm-fix-cov-test-i586.patch
* llvm-normally-versioned-libllvm.patch
- Remove obsolete patches:
* reproducible.patch
- Add compiler-rt-fix-relative-path.patch to fix relative path in
different directory layout.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm21?expand=0&rev=1
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
Index: clang-12.0.0rc1.src/lib/Driver/Distro.cpp
|
|
===================================================================
|
|
--- clang-12.0.0rc1.src.orig/lib/Driver/Distro.cpp
|
|
+++ clang-12.0.0rc1.src/lib/Driver/Distro.cpp
|
|
@@ -93,6 +93,8 @@ static Distro::DistroType DetectLsbRelease...
|
|
}
|
|
|
|
static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) {
|
|
+ return Distro::OpenSUSE;
|
|
+/*
|
|
Distro::DistroType Version = Distro::UnknownDistro;
|
|
|
|
// Newer freedesktop.org's compilant systemd-based systems
|
|
@@ -200,7 +202,7 @@ static Distro::DistroType DetectDistro(l
|
|
if (VFS.exists("/etc/gentoo-release"))
|
|
return Distro::Gentoo;
|
|
|
|
- return Distro::UnknownDistro;
|
|
+ return Distro::UnknownDistro;*/
|
|
}
|
|
|
|
static Distro::DistroType GetDistro(llvm::vfs::FileSystem &VFS,
|
|
Index: clang-21.1.0-rc2.src/unittests/Driver/CMakeLists.txt
|
|
===================================================================
|
|
--- clang-21.1.0-rc2.src.orig/unittests/Driver/CMakeLists.txt
|
|
+++ clang-21.1.0-rc2.src/unittests/Driver/CMakeLists.txt
|
|
@@ -1,5 +1,4 @@ set(LLVM_LINK_COMPONENTS
|
|
add_clang_unittest(ClangDriverTests
|
|
- DistroTest.cpp
|
|
DXCModeTest.cpp
|
|
GCCVersionTest.cpp
|
|
ToolChainTest.cpp
|