llvm16/assume-opensuse.patch
Martin Pluskal 0a1f513dca Accepting request 1072964 from home:aaronpuchert:llvm-next
- New major release version 16.0.0.
  * For details, see the release notes:
    - https://releases.llvm.org/16.0.0/docs/ReleaseNotes.html
    - https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html
    - https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
    - https://releases.llvm.org/16.0.0/projects/libcxx/docs/ReleaseNotes.html
    - https://releases.llvm.org/16.0.0/tools/lld/docs/ReleaseNotes.html
  * New LLVM tools:
    - llvm-debuginfo-analyzer: Print a logical representation of
      low-level debug information.
    - llvm-remarkutil: Remark file utilities.
  * The test tool split-file is no longer installed.
  * New Clang tools:
    - amdgpu-arch and nvptx-arch: Tools used to detect locally
      available GPUs by the Clang OpenMP driver.
    - clang-include-cleaner: Standalone tool to determine which
      headers are used, using existing functionality in clangd.
    - clang-tblgen: Table Generation for Clang.
  * Removed Clang tools: clang-{nvlink,offload}-wrapper.
- Rebase patches:
  * assume-opensuse.patch
  * check-no-llvm-exegesis.patch
  * link-clang-shared.patch
  * llvm_build_tablegen_component_as_shared_library.patch
  * llvm-do-not-install-static-libraries.patch
  * llvm-suse-implicit-gnu.patch
  * llvm-workaround-superfluous-branches.patch
  * openmp-drop-rpath.patch
- Drop patches that have landed upstream:
  * clang-test-xfail-gnuless-triple.patch
  * CMake-Look-up-target-subcomponents-in-LLVM_AVAILABLE_LIBS.patch
  * libcxxabi-fix-armv7-test.patch
  * llvm-armv7-fix-vector-compare-with-zero-lowering.patch
  * llvm-link-atomic.patch
- Remove llvm-better-detect-64bit-atomics-support.patch that should
  not be required anymore.
- Add PGP signatures and keyring for source verification.

OBS-URL: https://build.opensuse.org/request/show/1072964
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm16?expand=0&rev=1
2023-03-20 09:12:02 +00:00

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-16.0.0rc1.src/unittests/Driver/CMakeLists.txt
===================================================================
--- clang-16.0.0rc1.src.orig/unittests/Driver/CMakeLists.txt
+++ clang-16.0.0rc1.src/unittests/Driver/CMakeLists.txt
@@ -6,7 +6,6 @@ set(LLVM_LINK_COMPONENTS
)
add_clang_unittest(ClangDriverTests
- DistroTest.cpp
DXCModeTest.cpp
ToolChainTest.cpp
ModuleCacheTest.cpp