llvm18/assume-opensuse.patch
Aaron Puchert ef8f01691b Accepting request 1225866 from home:dirkmueller:Factory
- add libcxx-use-shlex-quote.patch to fix build with python 3.13

- Use correct LLVM_HOST_TRIPLE for riscv64
- Rebase llvm-do-not-install-static-libraries.patch.
- Add upstream patch to export compiler-rt FuzzedDataProvider header,
  * compiler-rt-move-fdp.patch
- Drop llvm5-devel-static. llvm5-devel contains shared library with
- Package libLLVMFuzzer
- Use gcc6 on SLE12
- Package license & credits
  * See
- Enable BPF for all arches bsc#1026191
- libc++ must depend on libc++abi
- Disable libcxx/lldb/openmp for SLE fate#319582
- Update rpmlintrc to whitelist libLTO.so
- Re-enable glibc-2.23 patch for Tumbleweed
- Add glibc-2.23-libcxx.patch to fix test failures with glibc 2.23
-  Remove FFI support because its fragile
- Enable OpenMP for x86, x86_64, ppc64 and ppc64le
- Enable all targets on x86, x86_64
- fix build on s390x (one typo in ifarch and one change in filelist)
- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
- Rename llvm-remove-werror-date-time.patch to
- Require llvm-clang not just clang
- Add libcxxabi-exceptions.patch to fix libcxxabi exception handling
- Remove asan-disable-hugemalloctest.patch and
- build compiler-rt on ppc64 (don't delete it)
- complete ifarchs for s390
- Remove non-existing doc subpackage
- Update to r196371 from release_34 branch

OBS-URL: https://build.opensuse.org/request/show/1225866
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=35
2024-12-03 23:47:11 +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-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