cdde20622b
* For details, see the release notes: - https://releases.llvm.org/19.1.0/docs/ReleaseNotes.html - https://releases.llvm.org/19.1.0/tools/clang/docs/ReleaseNotes.html - https://releases.llvm.org/19.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html - https://releases.llvm.org/19.1.0/projects/libcxx/docs/ReleaseNotes.html - https://releases.llvm.org/19.1.0/tools/lld/docs/ReleaseNotes.html * New LLVM tool: reduce-chunk-list to help find bugs using debug counters. See the Programmer's Manual for usage. * New Clang tools: clang-installapi for Apple-related package management, clang-nvlink-wrapper as a wrapper around `nvlink`. - No longer include OpenMP offload libraries. - Rebase patches: * clang-fix-openmp-test.patch * libcxx-test-library-path.patch * llvm-do-not-install-static-libraries.patch * llvm_build_tablegen_component_as_shared_library.patch - Remove obsolete patches: * lld-default-sha1.patch because upstream switched to sha1. * llvm-remove-clang-only-flags.patch because warning flags are no longer autodetected. * openmp-dont-run-gpu-arch.patch because we're excluding the offload project for now. - Add llvm-fix-build-failure-on-ppc64le.patch to fix ppc64le build. - Require Python 3.11 on Leap because we need Python >= 3.8 now. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm19?expand=0&rev=1
35 lines
1.2 KiB
Diff
35 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-18.1.0rc1.src/unittests/Driver/CMakeLists.txt
|
|
===================================================================
|
|
--- clang-18.1.0rc1.src.orig/unittests/Driver/CMakeLists.txt
|
|
+++ clang-18.1.0rc1.src/unittests/Driver/CMakeLists.txt
|
|
@@ -7,7 +7,6 @@ set(LLVM_LINK_COMPONENTS
|
|
)
|
|
|
|
add_clang_unittest(ClangDriverTests
|
|
- DistroTest.cpp
|
|
DXCModeTest.cpp
|
|
GCCVersionTest.cpp
|
|
ToolChainTest.cpp
|