Commit Graph

321 Commits

Author SHA1 Message Date
Nikita Popov
2932468044 Update to LLVM 13.0.1rc2 2022-01-14 03:15:06 -05:00
Nikita Popov
5b7b147c3b Update to LLVM 13.0.1rc1 2022-01-12 03:18:21 -05:00
Miloš Prchlík
23fb27dabb tests: add support for SCL-ized LLVM 13 (llvm-toolset-13.0) 2022-01-05 14:17:16 +01:00
Miloš Prchlík
68259514b8 tests: skip PoCL plan/test on RHEL
PoCL is not shipped on RHEL.
2022-01-04 14:41:25 +00:00
Tom Rix
9625344c39 compat_build: remove scanview helpers from buildroot
scanview and other tools are not built so these libraries
are not needed, so remove them.

Resolves a build but not packaged error.

Signed-off-by: Tom Rix <trix@redhat.com>
2021-12-15 11:47:08 -08:00
Tom Rix
715c4e65ee compat_build: use llvm-config from the llvm compat build
The regular llvm build installs llvm-config-N to _bindir
The compat_build llvm build install llvm-config-N to pkg_bindir
Use the pkg_bindir one.

Fixes a build error
error: File not found: .../rpmbuild/BUILDROOT/
  clang13-13.0.0-5.fc36.x86_64/usr/lib64/llvm13/lib/*.so.*

Signed-off-by: Tom Rix <trix@redhat.com>
2021-12-15 05:38:00 -08:00
Tom Rix
993e8358ae compat_build: remove pyc BuildRequires
This error is seen on the compat_build
find: '.../rpmbuild/BUILDROOT/clang13-13.0.0-5.fc36.x86_64/
  usr/lib/python3.10/site-packages': No such file or directory

python3-clang is not part of the compat_build so ifdef out
the problem area.

Signed-off-by: Tom Rix <trix@redhat.com>
2021-12-14 10:10:54 -08:00
Miloš Prchlík
e9354929da tests: llvm-test-suite test on RHEL
llvm-test-suite package is not shipped on RHEL.
2021-12-07 16:32:20 +01:00
Milos Prchlik
f1fb141ebf tests: rename fmf files to match the llvm naming scheme for plans 2021-12-01 16:35:03 +01:00
Milos Prchlik
5f6796def1 tests: parametrize "libc++" in tests
Downstream has no `libc++`, but it can run clang tests with `libstdc++`.
Parametrize the tests, leaving the actual library to use on their
respective `main.fmf` files that are easier to overturn in downstream
repos.
2021-11-23 17:16:17 +01:00
Konrad Kleine
90e30031a9 Fix %check when --without=check is given
Otherwise the %check section will always fail with "false".

This fixes my commit from before: 8dae109a67
2021-11-15 15:28:53 +01:00
Tom Stellard
6699b0a7c6 Make lld the default linker on arm
Making lld the default linker on arm due to rhbz#1918924.
2021-10-28 05:35:02 +00:00
Tom Stellard
a6f7984d83 Fix changelog 2021-10-28 05:34:16 +00:00
Tom Stellard
bf0177da16 Remove Conflicts: compiler-rt for newer versions of compiler-rt
The clang-resource-filesystem package will now prevent a
compiler-rt >= 11.0.0 package from being installed at the same time as a
newer clang package, so we no longer need to add a conflicts here.
2021-10-27 23:57:19 +00:00
Milos Prchlik
e9b18560f7 Remove single quotes from plan name, tmt cannot handle it 2021-10-21 13:54:44 +00:00
Milos Prchlik
1fec42430c Bump duration of llvm-test-suite, starting with 1h 2021-10-21 13:54:44 +00:00
Milos Prchlik
148aac0b7d Fixes tests/llvm-test-suite requirements and permissions 2021-10-21 13:54:44 +00:00
Milos Prchlik
f7ecf95dc7 tests: switch to TMT 2021-10-21 13:54:44 +00:00
Timm Bäder
cd6d62e280 Skip rpath using CMAKE_SKIP_RPATH
Like all other packages do it
2021-10-19 12:28:07 +00:00
Timm Bäder
e87e2f553b Use py3_shebang_fix macro
As documented in
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_shebang_macros
2021-10-15 13:38:11 +02:00
Timm Bäder
967d1e9cb7 Change a %bcond usage to %without 2021-10-13 10:54:26 +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