30 Commits

Author SHA256 Message Date
0dca659e8c Accepting request 1087213 from 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/1087213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=15
2023-05-16 12:16:08 +00:00
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
ca39e8edfd Accepting request 1074337 from devel:tools:compiler
- Add llvm-gcc13-issue55711.patch
  * Fix gh#llvm/llvm-project#55711 with gcc13

OBS-URL: https://build.opensuse.org/request/show/1074337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=14
2023-03-26 18:19:21 +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
12b3f812e6 Accepting request 1032341 from devel:tools:compiler
- Add lldb-swig-4.1.0-build-fix.patch: Fix build with Swig 4.1.0.

OBS-URL: https://build.opensuse.org/request/show/1032341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=13
2022-10-31 09:45:01 +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
d257680cb8 Accepting request 1001715 from devel:tools:compiler
- 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/request/show/1001715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=12
2022-09-08 12:22:35 +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
07120186fd Accepting request 993564 from 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/993564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=11
2022-08-07 16:34:01 +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
b746458652 Accepting request 972708 from devel:tools:compiler
- Don't override default linker flags. (We were losing -Wl,-z,now.)

OBS-URL: https://build.opensuse.org/request/show/972708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=10
2022-04-28 21:06:56 +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
9ac91fd9a5 Accepting request 953953 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/953953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=9
2022-02-14 21:35:58 +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
077468e1ea Accepting request 942664 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/942664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=8
2021-12-28 11:26: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
a8b1333031 Accepting request 928273 from devel:tools:compiler
- Disable tests that seem to hang on armv6
- Set minimal cmake version required

OBS-URL: https://build.opensuse.org/request/show/928273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=7
2021-11-03 16:25:18 +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
Richard Brown
1d60f8bb43 Accepting request 923004 from devel:tools:compiler
- 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/request/show/923004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=6
2021-10-08 20:04:42 +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
5972fbb926 Accepting request 920056 from devel:tools:compiler
- 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/request/show/920056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=5
2021-09-24 22:35:14 +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
dd86b40f96 Accepting request 905657 from 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/905657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=4
2021-07-13 20:36:58 +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
4330330c61 Accepting request 903788 from devel:tools:compiler
- Add compiler-rt-Remove-cyclades-inclusion-in-sanitizer.patch:
  Fix build with linux-glibc-devel 5.13.

OBS-URL: https://build.opensuse.org/request/show/903788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=3
2021-07-08 20:49:06 +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
a78c273a0a Accepting request 894564 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/894564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=2
2021-05-21 19:49:35 +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
2bc6be3bf5 Accepting request 886662 from devel:tools:compiler
- New LLVM version 12.

OBS-URL: https://build.opensuse.org/request/show/886662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm12?expand=0&rev=1
2021-04-21 18:58:10 +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