Aaron Puchert
353b36b487
Accepting request 1087132 from home:aaronpuchert:branches:devel:tools:compiler
...
- Don't use gold for linking anymore: on s390x we use ld.bfd with
LLVMgold.so, on ppc64 we disable ThinLTO for now. (boo#1210688)
- Using ld.bfd on s390x exposed an issue with the existing
llvm_build_tablegen_component_as_shared_library.patch: linking
llvm-tblgen with libLLVM.so means we also have to link libraries
used for that (like LLVMTableGenGlobalISel) with libLLVM.so.
- Rewrite summary and description for llvm-gold to point out that
it can also be used with ld.bfd, recommend with binutils.
- Ignore some test failures on s390x.
OBS-URL: https://build.opensuse.org/request/show/1087132
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=22
2023-05-14 21:18:23 +00:00
Aaron Puchert
f4d2c26519
Accepting request 1074309 from home:bnavigator:branches:devel:tools:compiler
...
- Add llvm-gcc13-issue55711.patch
* Fix gh#llvm/llvm-project#55711 with gcc13
OBS-URL: https://build.opensuse.org/request/show/1074309
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=20
2023-03-25 15:52:03 +00:00
Aaron Puchert
c165880458
- Add lldb-swig-4.1.0-build-fix.patch: Fix build with Swig 4.1.0.
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=18
2022-10-30 14:32:31 +00:00
Aaron Puchert
890b8a7e27
- Make sure we keep -DNDEBUG. At some point %{optflags} must have
...
lost it, perhaps because CMake usually adds it on top. So when
overriding CMAKE_{C,CXX}_FLAGS_RELWITHDEBINFO, we make sure to
take over the other flags. We drop LLVM_ENABLE_ASSERTIONS=OFF,
because that's the default anyway and hasn't helped here.
- Add llvm-glibc-2-36.patch in order to address boo#1202215.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=16
2022-09-03 21:20:29 +00:00
Aaron Puchert
bac0b73be4
Accepting request 993563 from home:aaronpuchert:branches:devel:tools:compiler
...
- Add openmp-Remove-omptarget-soname.patch to fix rpmlint issue:
Upstream decided to remove the soname from libomptarget.so (the
interface is apparently not stable yet), so we can still package
it in libomp-devel if we port that back.
OBS-URL: https://build.opensuse.org/request/show/993563
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=14
2022-08-06 21:55:13 +00:00
Aaron Puchert
7b9a83321f
- Don't override default linker flags. (We were losing -Wl,-z,now.)
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=12
2022-04-24 21:49:16 +00:00
Aaron Puchert
a7e14e4688
- Drop RUNPATH from packaged binaries, instead set LD_LIBRARY_PATH
...
for building and testing to simulate behavior of actual package.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=11
2022-02-05 19:58:02 +00:00
Aaron Puchert
b1106c6d97
- BuildRequires: python-rpm-macros to fix Leap 15.3 build.
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=10
2021-12-19 23:13:15 +00:00
Aaron Puchert
6876cf6beb
Accepting request 928163 from home:Guillaume_G:branches:devel:tools:compiler
...
- Disable tests that seem to hang on armv6
- Set minimal cmake version required
OBS-URL: https://build.opensuse.org/request/show/928163
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=9
2021-10-30 14:33:03 +00:00
Aaron Puchert
ba5d7cd663
- Don't build clang-tools, libc++ and python3-clang anymore,
...
because they come from llvm13 now.
- Remove version requirement from clang-tools dependency.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=8
2021-10-04 11:38:50 +00:00
Aaron Puchert
2ff036800e
- Set CMAKE_LINKER to workaround CMake wanting to use lld just
...
because we're using clang as compiler. Fixes build on aarch64.
(https://bugs.llvm.org/show_bug.cgi?id=51115 )
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=7
2021-09-18 14:25:01 +00:00
Aaron Puchert
bab9cab534
Accepting request 905652 from home:aaronpuchert:branches:devel:tools:compiler
...
- Update to version 12.0.1.
* This release contains bug-fixes for the LLVM 12.0.0 release.
This release is API and ABI compatible with 12.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Drop obsolete patches:
* clangd-cmake-non-standard-layout.patch
* compiler-rt-Remove-cyclades-inclusion-in-sanitizer.patch
* lld-no-version-on-undefined-weak-lazy-symbols.patch
OBS-URL: https://build.opensuse.org/request/show/905652
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=6
2021-07-11 10:53:12 +00:00
Aaron Puchert
e85c0cc5d0
- Add compiler-rt-Remove-cyclades-inclusion-in-sanitizer.patch:
...
Fix build with linux-glibc-devel 5.13.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=5
2021-07-02 23:18:42 +00:00
Aaron Puchert
cf9732cf58
Accepting request 892654 from home:marxin:branches:devel:tools:compiler
...
- Set memory limits for DWZ to 4x.
OBS-URL: https://build.opensuse.org/request/show/892654
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=3
2021-05-14 12:58:32 +00:00
69df4a4e1d
Accepting request 886367 from home:aaronpuchert:llvm-next
...
- Update to version 12.0.0.
* For details, see the release notes:
- https://releases.llvm.org/12.0.0/docs/ReleaseNotes.html
- https://releases.llvm.org/12.0.0/tools/clang/docs/ReleaseNotes.html
- https://releases.llvm.org/12.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
- https://releases.llvm.org/12.0.0/projects/libcxx/docs/ReleaseNotes.html
- https://releases.llvm.org/12.0.0/tools/lld/docs/ReleaseNotes.html
- Rebase patches:
* assume-opensuse.patch
* lldb-cmake.patch
* llvm-better-detect-64bit-atomics-support.patch
* llvm-do-not-install-static-libraries.patch
* llvm_build_tablegen_component_as_shared_library.patch
- Drop patches that have landed upstream:
* Fix-missing-include.patch
- Always use ld.bfd for stage 1, use lld for stage 2 where we use
ThinLTO and where it's supported, gold where lld doesn't work,
and ld.bfd where we don't use ThinLTO. (boo#1181621)
- Add lld-no-version-on-undefined-weak-lazy-symbols.patch to fix a
bug in lld that made libLLVM.so contain a corrupt symbol version.
- Add clangd-cmake-non-standard-layout.patch to fix build in our
non-monorepo layout.
OBS-URL: https://build.opensuse.org/request/show/886367
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm12?expand=0&rev=1
2021-04-19 06:47:05 +00:00