Commit Graph

252 Commits

Author SHA1 Message Date
Tom Stellard 1226513497 13.0.1 Release 2022-07-20 00:34:32 +00:00
Konrad Kleine def0a09b9f Make f35 compat builds work
This PR fixes a few issues when building in compat mode:

---

We don't want to package the `macros.clang` package when building clang in compat mode

Fixes:

```
error: Bad file: /builddir/build/SOURCES/macros.clang13: No such file or directory
```

See also 967d1e9cb7?branch=rawhide by @tbaeder  where this change is already applied.

---

Don't install libear and libscanbuild in compat build

Fixes:

```
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clang13-13.0.0-3.fc35.ppc64le
error: Installed (but unpackaged) file(s) found:
   /usr/lib64/llvm13/lib/libear/__init__.py
   /usr/lib64/llvm13/lib/libear/config.h.in
   /usr/lib64/llvm13/lib/libear/ear.c
   /usr/lib64/llvm13/lib/libscanbuild/__init__.py
   /usr/lib64/llvm13/lib/libscanbuild/analyze.py
   /usr/lib64/llvm13/lib/libscanbuild/arguments.py
   /usr/lib64/llvm13/lib/libscanbuild/clang.py
   /usr/lib64/llvm13/lib/libscanbuild/compilation.py
   /usr/lib64/llvm13/lib/libscanbuild/intercept.py
   /usr/lib64/llvm13/lib/libscanbuild/report.py
   /usr/lib64/llvm13/lib/libscanbuild/resources/scanview.css
   /usr/lib64/llvm13/lib/libscanbuild/resources/selectable.js
   /usr/lib64/llvm13/lib/libscanbuild/resources/sorttable.js
   /usr/lib64/llvm13/lib/libscanbuild/shell.py
```
2022-06-21 15:38:51 +02:00
Tom Stellard fde900e4dd Fix gcc detection with redhat triples 2021-10-06 23:36:55 +00:00
Tom Stellard 2fb038f9a7 Drop abi_revision from soname
This way we match the upstream soname for the final release.
2021-10-05 15:14:37 +00:00
Tom Stellard bfd11a3fd2 13.0.0 Release 2021-10-01 20:36:30 +00:00
Tom Stellard 3752a31b44 13.0.0-rc3 Release 2021-09-18 03:38:14 +00:00
Konrad Kleine 8dae109a67 Add --without=check option
see also https://src.fedoraproject.org/rpms/llvm/pull-request/105
2021-09-14 09:14:24 +02:00
sergesanspaille 6f2884179b Apply scan-build-py integration patch 2021-09-13 11:45:27 +02:00
Tom Stellard d99713b7d0 Add macros.clang file 2021-09-09 19:09:15 +00:00
Tom Stellard a5df6c712b 13.0.0-rc1 Release 2021-08-09 20:47:43 +00:00
Tom Stellard f2a6113c88 Fix compat build 2021-07-22 16:27:04 +00:00
Fedora Release Engineering c5f66f800b - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:31:40 +00:00
Fedora Release Engineering 075bc1b24f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:34:23 +00:00
Tom Stellard 236196a1cd 12.0.1 Release 2021-07-13 22:40:28 +00:00
Tom Stellard 3dd3a6dfd6 Fix ambiguous python shebangs 2021-07-09 02:43:33 +00:00
Tom Stellard 2bf74be714 12.0.1-rc3 Release 2021-07-01 09:02:57 +00:00
sergesanspaille 2afe5dbfcc Add generic integration test suite gating 2021-06-24 09:10:49 +02:00
Tom Stellard 8ef0cdb22d Only enable -funwind-tables by default on Fedora arches
.eh_frame sections confuse bpf tools, so -funwind-tables  shouldn't be enabled there.
There are other non-CPU arches where this could potentially cause problems, so be
conservative and only enable this on CPU arches supported by Fedora.
2021-06-08 17:41:09 +00:00
Python Maint 696be3e7c7 Rebuilt for Python 3.10 2021-06-04 19:19:07 +02:00
Tom Stellard 1a54a323be 12.0.1-rc1 Release 2021-06-01 21:22:55 +00:00
sergesanspaille 93869e0cb0 Use the alternative-managed version of llvm-config 2021-05-21 21:18:53 +00:00
Tom Stellard 4125daf6f5 Revert "Run fedora-flags test on all architectures"
This reverts commit bd66e3d65a.

This test is wrong, because it tests the current version of clang
from rawhide and not from the build being tested.
2021-05-19 01:25:57 +00:00
Tom Stellard bd66e3d65a Run fedora-flags test on all architectures 2021-05-06 21:19:01 +00:00
Timm Bäder 545fd2466b spec: Unconditionally use python3
The spec file was already unconditionally depend on a few python3
packages. Make that official by removing the %python3 bcond.
2021-05-06 21:18:16 +00:00
Konrad Kleine 89c3d8eb13 Replace global compat_build with bcond 2021-05-05 22:53:09 +02:00
Tom Stellard 81370f3bc6 12.0.0 Release 2021-04-16 22:21:45 +00:00
Tom Stellard e8cbe820c4 Add symlink to clang-format-diff in /usr/bin
rhbz#1939018
2021-04-16 05:03:55 +00:00
Tom Stellard 13c66032d5 Import tests from tests/clang repository
It's not necessary to store the tests in a separate repository, since
other packages can just reference the tests in this repo.

Also update, the other tests to pull from git repos in the rpms namespace.
2021-04-14 22:02:41 +00:00
sergesanspaille 56c57e4695 New upstream release candidate 2021-04-08 14:19:59 +02:00
Tom Stellard 72a26e56a1 Add libcxx-static as a test dependency
This fixes the clang/toolchains CI test.
2021-04-05 20:36:45 +00:00
sergesanspaille 3f6550f0f1 Make python3-clang bytecode reproducible across arches 2021-04-04 19:25:09 +02:00
sergesanspaille e1a87504e4 New upstream release candidate 2021-04-02 12:44:06 +02:00
Jonathan Wakely b4f38b0df7 Rebuilt for removed libstdc++ symbols (#1937698) 2021-03-31 17:31:26 +01:00
sergesanspaille 08bee7e51a Simplify patch management through %autopatch 2021-03-17 08:35:44 +01:00
sergesanspaille c1e69a30ae Apply patch D97846 to fix rhbz#1934065 2021-03-16 09:56:09 +01:00
Timm Bäder 283f2301df set CLANG_DEFAULT_UNWIND_LIB instead of using custom patch
And add the clang/toolchains test so we don't regress
2021-03-15 10:01:21 +01:00
sergesanspaille 6fb3a469a9 LLVM 12.0.0 rc3 2021-03-11 14:54:30 +01:00
sergesanspaille bfcdcf4a7d rebuilt 2021-03-09 21:01:15 +01:00
sergesanspaille d803ebb6bc Rename, cleanup and normalize patch serie 2021-03-02 14:40:08 +01:00
sergesanspaille 333b956fb4 Reapply some wrongly removed patch 2021-03-01 16:20:42 +01:00
sergesanspaille 1ca8ec6bba Remove patch applied upstream 2021-02-24 18:16:35 +01:00
sergesanspaille 8dfbf069f3 Revert "Remove patch applied upstream"
This reverts commit 2d1a36c4ef.
2021-02-24 15:44:38 +01:00
sergesanspaille c6d4e3d591 Revert "Remove patch applied upstream"
This reverts commit 30f111b116.
2021-02-24 15:44:18 +01:00
sergesanspaille 2d1a36c4ef Remove patch applied upstream 2021-02-24 15:43:42 +01:00
sergesanspaille 30f111b116 Remove patch applied upstream 2021-02-24 15:42:42 +01:00
sergesanspaille 52abd3940f 12.0.0-rc2 release 2021-02-24 15:36:04 +01:00
sergesanspaille 620fd8a49a Backport compat package updates 2021-02-23 17:26:11 +01:00
sergesanspaille cef168d215 llvm 12.0.0rc2 2021-02-16 16:30:31 +01:00
Konrad Kleine 1d5bee47d5 Remove no longer applied patch files 2021-02-15 10:29:04 +01:00
Tom Stellard 56d54b9e15 Silence some rpmlint errors 2021-02-10 05:59:14 -08:00