SHA256
1
0
forked from pool/llvm14
Commit Graph

29 Commits

Author SHA256 Message Date
Aaron Puchert
6e6f69201a Accepting request 1006553 from home:firstyear:branches:devel:languages:rust
- Add llvm-preserve-symbols-used.patch to resolve some symbols preserving
  with asm in Rust.

OBS-URL: https://build.opensuse.org/request/show/1006553
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=44
2022-09-28 13:58:55 +00:00
Aaron Puchert
abbfdf5c7d Accepting request 1005471 from home:aaronpuchert:branches:devel:tools:compiler
- Always drop -gnu from triple for consistency. Patch a test that
  was looking for -linux- in clang-test-xfail-gnuless-triple.patch.

OBS-URL: https://build.opensuse.org/request/show/1005471
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=42
2022-09-22 18:22:31 +00:00
Aaron Puchert
77b3f7ed26 Accepting request 1004848 from openSUSE:Factory:RISCV
- Use correct LLVM_HOST_TRIPLE for riscv64

OBS-URL: https://build.opensuse.org/request/show/1004848
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=41
2022-09-20 21:37:44 +00:00
Aaron Puchert
50afd4a305 - 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-scev-fix-isImpliedViaMerge.patch: fixes a miscompilation
  caused by mixing up values of the current and previous iteration.
  (See gh#llvm/llvm-project#56242.)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=38
2022-09-03 16:28:17 +00:00
Aaron Puchert
4e37c37b16 - Add llvm-lifetime-for-rust.patch to have Rust memory management
functions considered as lifetime markers. This should aid dead
  store elimination to dynamically allocated memory in Rust code.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=33
2022-08-26 23:23:42 +00:00
Aaron Puchert
64c035b70e - Replace %dnl in lists by something Leap's RPM understands.
- Rename groups a bit.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=32
2022-08-26 00:27:31 +00:00
Aaron Puchert
c5f877a9d0 - Seems that llvm-ifs is more ABI-related than about ELF.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=31
2022-08-24 01:48:35 +00:00
Aaron Puchert
37a5c072e8 - Split man pages in three groups.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=30
2022-08-24 01:45:29 +00:00
Aaron Puchert
40d55dde86 - Group LLVM binaries by topic.
- Don't declare python3-clang as noarch: Python packages are
  installed into %{_libdir}.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=29
2022-08-24 01:24:16 +00:00
Aaron Puchert
341435996f Accepting request 995044 from home:aaronpuchert:branches:devel:tools:compiler
- Use black RPM macro magic to deduplicate binary lists. This
  should have no effect on the generated RPM but shaves ~400 lines
  off the specfile and hopefully makes future maintenance easier.

OBS-URL: https://build.opensuse.org/request/show/995044
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=28
2022-08-14 15:21:22 +00:00
Aaron Puchert
72eab2d053 - Add WebAssembly support for all architectures.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=26
2022-08-10 20:23:03 +00:00
Aaron Puchert
3feadfbab6 Accepting request 994304 from home:MSirringhaus:branches:devel:tools:compiler
Add Webassembly-target to ARM and PPC

OBS-URL: https://build.opensuse.org/request/show/994304
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=25
2022-08-10 20:12:22 +00:00
Aaron Puchert
51c20df2db Accepting request 993962 from home:marxin:branches:devel:tools:compiler
- Add llvm-glibc-2-36.patch in order to address boo#1202215.

OBS-URL: https://build.opensuse.org/request/show/993962
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=24
2022-08-09 18:48:54 +00:00
Aaron Puchert
1c66dea296 Accepting request 986921 from home:aaronpuchert:branches:devel:tools:compiler
- Update to version 14.0.6.
  * This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/986921
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=22
2022-07-05 20:50:14 +00:00
Aaron Puchert
85f66ead87 Accepting request 983701 from home:aaronpuchert:branches:devel:tools:compiler
- Update to version 14.0.5.
  * This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/983701
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=20
2022-06-19 15:20:12 +00:00
Aaron Puchert
a533a95d72 - Expect s390x failures only on Tumbleweed.
- Make sure we drop -g for stage 1.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=18
2022-05-28 19:52:19 +00:00
Aaron Puchert
18d98014e4 - Undo macro-based job computation: requires RPM 4.16 which is not
available in Leap yet. (We're on 4.14 there.)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=17
2022-05-28 15:16:18 +00:00
Aaron Puchert
3b54262c5d Accepting request 979583 from home:aaronpuchert:branches:devel:tools:compiler
- Update to version 14.0.4.
  * This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Don't use gold for linking anymore: on s390x we use ld.bfd with
  LLVMgold.so, on ppc64 we disable ThinLTO for now.
- 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.
- Prefer RPM macros over shell scripting, so that we can better
  inspect the build script with substitutions in place.
- More memory for stage 1 build jobs due to recent OOMs.
- Add %_libclang_sonum RPM macro to llvm-devel, since that might
  now diverge from %_llvm_sonum.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/979583
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=16
2022-05-28 12:45:59 +00:00
Aaron Puchert
627f10bec9 - Revert ThinLTO for aarch64, lld for ppc64 and s390x (for now).
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=14
2022-05-01 20:24:23 +00:00
Aaron Puchert
9b078c979e - Update to version 14.0.3.
* This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- See if we can go without gold.
- Try enabling ThinLTO for aarch64.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=13
2022-04-30 12:43:59 +00:00
Aaron Puchert
7986fe3fcb - Update to version 14.0.1.
* This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Drop obsolete patches:
  * PPCISelLowering-Avoid-emitting-calls-to-__multi3.patch
- Don't override default linker flags. (We were losing -Wl,-z,now.)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=11
2022-04-24 21:34:37 +00:00
Aaron Puchert
33fff1dc71 - Keep behavior of patch.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=9
2022-04-13 00:39:01 +00:00
Aaron Puchert
9ac6309fc4 - Drop llvm-rust-mangle-for-fastcall.patch again: it's already
backported in upstream, somehow I missed that.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=8
2022-04-12 21:02:23 +00:00
Aaron Puchert
65d4d69fab - Consistently set host triple as *-suse-linux-gnu*.
- Add llvm-rust-mangle-for-fastcall.patch for rust 1.59.
- Fix armv6hl cpu architecture typo.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=6
2022-04-12 20:47:18 +00:00
Aaron Puchert
15aa018b72 - Remove *-devel packages from baselibs, they don't seem to be
needed. We mostly need libLLVM and maybe libclang-cpp.
- Add more conflicts/requirements to satisfy installcheck.
- Fix paths in clang-tools.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=5
2022-04-09 19:44:00 +00:00
Aaron Puchert
7421a387d7 - Fix file list for Leap.
Seems like the libexec workaround is no longer needed.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=4
2022-04-05 08:23:10 +00:00
Aaron Puchert
af5d78596b - Try to fix Leap build by disabling libcxx in stage1.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=3
2022-04-05 02:47:44 +00:00
Aaron Puchert
718ee78fd8 - Patch exported clang/ClangTargets-relwithdebinfo.cmake to refer
to libclang only by soname, because the installed library might
  be newer than the one originally build with the package.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=2
2022-04-05 00:25:57 +00:00
Martin Pluskal
a5973cd8b1 Accepting request 966700 from home:aaronpuchert:llvm-next
- Update to version 14.0.0.
  * For details, see the release notes:
    - https://releases.llvm.org/14.0.0/docs/ReleaseNotes.html
    - https://releases.llvm.org/14.0.0/tools/clang/docs/ReleaseNotes.html
    - https://releases.llvm.org/14.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
    - https://releases.llvm.org/14.0.0/projects/libcxx/docs/ReleaseNotes.html
    - https://releases.llvm.org/14.0.0/tools/lld/docs/ReleaseNotes.html
  * New LLVM tools:
    - llvm-debuginfod-find: Tool to fetch debuginfod artifacts.
    - llvm-tli-checker: LLVM TargetLibraryInfo versus SDK checker.
  * New Clang tools:
    - clang-linker-wrapper: A wrapper utility over the host linker.
    - clang-nvlink-wrapper: A wrapper tool over nvlink program.
- Add clang-repl-private-deps.patch to make link dependencies of
  clang-repl private, otherwise CMake can't install.
- Add PPCISelLowering-Avoid-emitting-calls-to-__multi3.patch to
  fix build on PowerPC (32-bit).
- Drop llvm-exegesis-link-dylib.patch, instead we don't build
  llvm-exegesis anymore and add check-no-llvm-exegesis.patch to
  disable the corresponding tests.
- Rebase patches:
  * lldb-cmake.patch
  * llvm-do-not-install-static-libraries.patch
  * lvm-normally-versioned-libllvm.patch
- Drop patches that have landed upstream:
  * llvm-update-extract-section-script.patch

OBS-URL: https://build.opensuse.org/request/show/966700
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=1
2022-04-04 11:49:45 +00:00