Aaron Puchert
e7ebc9c219
- Explicitly define PYTHON3_EXECUTABLE, since python 3.11 is being
...
pulled in by cmake in SLE-15-SP6.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=47
2024-03-07 01:49:26 +00:00
Aaron Puchert
72d10641fd
- Undo _constraints change, doesn't seem necessary here.
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=46
2024-03-05 00:26:31 +00:00
Aaron Puchert
b1673b0e77
- Fix PowerPC triples: use powerpc[64[le]] instead of ppc[64[le]].
...
- Require 8 GB memory for 64-bit architectures to prevent OOM.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=45
2024-03-04 21:59:25 +00:00
Aaron Puchert
3b2ce34d98
- Disable test that fails on ppc64le.
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=44
2024-03-04 00:35:44 +00:00
Aaron Puchert
232b3872a4
Accepting request 1154118 from home:pgajdos:l
...
- Use %patch -P N instead of deprecated %patchN.
OBS-URL: https://build.opensuse.org/request/show/1154118
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=43
2024-03-01 21:55:34 +00:00
Aaron Puchert
81bc94f08b
- Use %_target_* for determining the compiler host triple (boo#1218701)
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=41
2024-02-04 21:06:29 +00:00
Aaron Puchert
cbdb9b0faf
- Manage clang-cpp with update-alternatives like other binaries.
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=39
2023-12-01 21:42:34 +00:00
Aaron Puchert
3a3db567ff
- Fix conflicts/provides for python3-clang to point to
...
%python3_sitelib instead of %python3_sitearch.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=37
2023-06-16 01:13:48 +00:00
Aaron Puchert
8aff38a4a4
- Don't declare python3-clang as noarch: Python packages are
...
installed into %{_libdir}.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=36
2023-06-15 22:52:32 +00:00
Aaron Puchert
60ecb3fd2b
Accepting request 1086802 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.
OBS-URL: https://build.opensuse.org/request/show/1086802
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=34
2023-05-12 16:44:19 +00:00
Aaron Puchert
972647c912
Accepting request 1074310 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/1074310
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=32
2023-03-25 15:53:59 +00:00
Aaron Puchert
8187ea6947
- 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/llvm13?expand=0&rev=30
2022-10-30 14:30:03 +00:00
Aaron Puchert
ebe220d18e
- 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/llvm13?expand=0&rev=28
2022-09-03 21:19:24 +00:00
Aaron Puchert
8a34fe795b
- Don't override default linker flags. (We were losing -Wl,-z,now.)
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=24
2022-04-24 20:59:57 +00:00
Aaron Puchert
9bdb5b0efc
- Fix trailing whitespace.
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=21
2022-04-12 20:48:21 +00:00
Aaron Puchert
a047e503aa
- Consistently set host triple as *-suse-linux-gnu*.
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=20
2022-04-12 20:39:15 +00:00
Aaron Puchert
e38f24ab12
Accepting request 968066 from home:dirkmueller:Factory
...
- add llvm-rust-mangle-for-fastcall.patch for rust 1.59
- fix armv6hl cpu architecture typo
OBS-URL: https://build.opensuse.org/request/show/968066
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=19
2022-04-12 20:08:35 +00:00
Aaron Puchert
b2e7998d08
- 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/llvm13?expand=0&rev=18
2022-04-09 19:53:07 +00:00
Aaron Puchert
873759c6e8
- 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/llvm13?expand=0&rev=17
2022-04-05 00:23:09 +00:00
Aaron Puchert
359a8abca9
- Re-add dependency of llvm-devel on llvm-polly-devel. (Again for CMake.)
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=16
2022-04-04 01:02:52 +00:00
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
e752f6b4aa
Accepting request 952964 from home:aaronpuchert:branches:devel:tools:compiler
...
- Add SUSE_Backports_policy-SLE_conflict to rpmlintrc, we're
deliberately conflicting with SLE here to offer a newer version
than what SUSE wants to support.
(https://code.opensuse.org/leap/features/issue/55 )
OBS-URL: https://build.opensuse.org/request/show/952964
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=10
2022-02-09 14:17:57 +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
17ae5e95d2
Accepting request 950316 from home:Andreas_Schwab:Factory
...
- Update constraints for riscv64
OBS-URL: https://build.opensuse.org/request/show/950316
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=8
2022-02-01 18:47:57 +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