Commit Graph

12 Commits

Author SHA256 Message Date
Aaron Puchert
1cf5b962af - Add back dependency of llvm-devel on libomp-devel. Not really
needed, but CMake is picky and the target is registered for LLVM.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=15
2022-04-03 23:11:26 +00:00
Aaron Puchert
fb427b4aeb Accepting request 966691 from home:aaronpuchert:llvm-next
- Split up Clang libraries: libclang.so is no longer so-versioned
  alongside LLVM but will stay at libclang.so.13 for now. So we
  put it into a separate package from libclang-cpp.so. Since we
  can't have multiple LLVM versions generate the same package, we
  prefix it for the non-default LLVM with a mechanism inspired by
  the GCC packaging.
- Use the same mechanism to for libc++ and package Clang scripts
  only for the default version. This means we'll no longer have to
  touch the package when a new major version comes out.
- Make sure we properly clean up the clang scripts if we're not
  packaging them.
- Let python3-clang use libclang.so.XX, which means we can always
  build it and makes it depend on libclang instead of clang-devel.
- Fix some rpmlint issues: we don't need explicit library
  dependencies that are detected automatically, and we add proper
  library dependencies to the *-devel packages.
- Merge llvm-LTO-devel into llvm-devel. That's where the header
  files already are, and they are hard to separate.
- Let libomp-devel no longer depend on libLLVM, and let llvm-devel
  no longer depend on libomp-devel. They are independent.
- Let llvm-devel no longer depend on llvm-polly-devel but let
  llvm-polly-devel depend on llvm-devel. We got that wrong.
- Remove libLTO from baselibs, it doesn't seem to be needed.
- Only suggest documentation packages.

OBS-URL: https://build.opensuse.org/request/show/966691
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=14
2022-04-03 20:07:39 +00:00
Aaron Puchert
9bfbfd22b9 - Let clang-devel accept a newer version of clang-tools:
we don't keep multiple versions of the latter.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=13
2022-02-19 15:32:58 +00:00
Aaron Puchert
800d442603 - AND instead of OR in License tag after sr#954337.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=12
2022-02-15 12:14:52 +00:00
Aaron Puchert
e6ca3b05a8 - More conflicts for addition to Leap: clang-tools conflicts with
llvm9 because that doesn't have the move of hmaptool yet, and
  llvm13-devel with llvm{5,7} as they used to have FileCheck.1.gz.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=11
2022-02-14 14:40:35 +00:00
Aaron Puchert
a33e713f28 Update to version 13.0.1.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=9
2022-02-03 23:50:46 +00:00
Aaron Puchert
5e767d50e5 Accepting request 947582 from home:glaubitz:branches:devel:tools:compiler
- Add support for experimental targets and enable the M68k backend
- Add patch to fix testsuite after enabling the M68k backend
  + llvm-update-extract-section-script.patch

OBS-URL: https://build.opensuse.org/request/show/947582
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=7
2022-01-20 23:58:48 +00:00
Aaron Puchert
2bc3f1ad81 - BuildRequires: python-rpm-macros to fix Leap 15.3 build.
- More memory for GCC compile jobs.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=6
2021-12-18 15:21:32 +00:00
Aaron Puchert
b0bf3da2ca Accepting request 931584 from home:aplanas:branches:devel:tools:compiler
- Add FileCheck into the devel package, as is required for testing
  Rust (boo#1192629)

OBS-URL: https://build.opensuse.org/request/show/931584
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=5
2021-11-15 23:35:43 +00:00
Aaron Puchert
cb3116b930 - Let clang recommend gcc and glibc-devel as we need both for
building executables. No hard requirement because Clang can be
  used as a frontend only. (boo#1191587)
- Set minimal CMake version required.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=4
2021-11-02 23:23:47 +00:00
Aaron Puchert
ec82236197 Accepting request 928787 from home:marxin:branches:devel:tools:compiler
- Backport llvm-fix-building-with-GCC-12.patch in order to fix building
  with GCC 12.

OBS-URL: https://build.opensuse.org/request/show/928787
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=3
2021-11-02 23:16:49 +00:00
Richard Biener
6b6b4b3d80 Accepting request 922852 from home:aaronpuchert:llvm-next
- Update to version 13.0.0.
  * For details, see the release notes:
    - https://releases.llvm.org/13.0.0/docs/ReleaseNotes.html
    - https://releases.llvm.org/13.0.0/tools/clang/docs/ReleaseNotes.html
    - https://releases.llvm.org/13.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
    - https://releases.llvm.org/13.0.0/projects/libcxx/docs/ReleaseNotes.html
    - https://releases.llvm.org/13.0.0/tools/lld/docs/ReleaseNotes.html
  * New LLVM tools:
    - llvm-otool: Mach-O object file displaying tool.
    - llvm-sim: LLVM IR Similarity Visualizer.
    - llvm-tapi-diff: Diff tool for tbd files.
    - llvm-windres: Tool to manipulate Windows resources.
  * llvm-elfabi was removed.
  * New Clang tools:
    - clang-repl, an interactive interpreter for C/C++.
    - intercept-build, analyze-build: the former intercepts build
      commands to build a compilation database, the latter runs
      the static analyzer over all translation units.
    - scan-build-py: Python reimplementation of scan-build.
- Rebase patches:
  * link-clang-shared.patch
  * llvm-do-not-install-static-libraries.patch
  * llvm-exegesis-link-dylib.patch
- Drop patches that have landed upstream:
  * tablegen-test-link-static.patch
- Run tests on more architectures, disable those that seem to hang.
  Don't run libcxx tests at all anymore because they take so long.
- Relax constraints so that we can build on more machines.

OBS-URL: https://build.opensuse.org/request/show/922852
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=1
2021-10-04 06:44:10 +00:00