Commit Graph

464 Commits

Author SHA1 Message Date
Milos Prchlik
b7f7ff0fcb tests: use python3-lit rather than python-lit
Easier for downstream to adapt, one less difference.
2021-11-03 08:33:46 +01:00
Tom Stellard
dd5bd14efc Build with Thin LTO
Full LTO is too memory intensive for most architectures, so use Thin LTO
instead.
2021-10-26 03:57:15 +00:00
Tom Stellard
6b3a1ab316 Build with clang 2021-10-21 23:32:02 +00:00
Tom Stellard
e1056b533a Fix default triple on arm
clang and gcc disagree about what gnueabi means, so we need to make
sure to specify gnueabihf as the environment.
2021-10-08 03:25:22 +00:00
Tom Stellard
84398d5b48 Set default triple 2021-10-06 05:54:41 +00:00
Tom Stellard
a26e75dfb6 Drop abi_revision from soname
This way we match the upstream soname for the final release.
2021-10-05 03:10:24 +00:00
Tom Stellard
d7b923e36b 13.0.0 Release 2021-10-01 03:28:44 +00:00
Tom Stellard
f13f5d4d08 Restore config.guess for host triple detection
The new detection method was omitting -gnu from the triples which caused
some behavior changes in clang.
2021-09-30 20:50:48 +00:00
Tom Stellard
2b9d762f80 13.0.0-rc4 Release 2021-09-30 03:52:09 +00:00
Timm Bäder
9e342d2430 Use %py3_shebang_fix instead of calling pathfix.py manually
As documented here:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_shebang_macros
2021-09-23 14:47:00 +02:00
Tom Stellard
efdfe5532f 13.0.0-rc3 Release 2021-09-17 20:06:08 +00:00
Tom Stellard
20aa2e6b37 Pass LLVM_DEFAULT_TARGET_TRIPLE to cmake
This will ensure that clang always defaults the system gcc install.
2021-09-17 13:30:23 +00:00
Tom Stellard
bbb00db171 gating.yaml: Modernize file and attempt to get gating to work again
Added bodhi_update_push_stable_critpath to decision_contexts in
attempt to re-enable gating.
See https://pagure.io/fedora-ci/general/issue/263
2021-09-17 13:26:31 +00:00
Milos Prchlik
14cd547cf5 tests: record HW requirements
This was originally stored in provision.fmf, but after the TMT
transition, this information should be preserved. It is probably not
honoured by that many CI systems, but things will get better over time.

See https://tmt.readthedocs.io/en/stable/spec/plans.html#hardware for
specification details.
2021-09-17 13:25:29 +00:00
Milos Prchlik
027da3930a tests: returning few comments dropped during TMT conversion
I find these comments useful, especially for my future self who would be
dealing with the subtle changes between Fedora and downstream.
2021-09-17 10:51:44 +02:00
Timm Bäder
b7b4d3e66b Port tests to tmt 2021-09-15 08:01:11 +02:00
Milos Prchlik
b21766edbc Cleanup of tests for easier future sync to downstream repos
* tests.yml => tests-llvm.yml, to allow composition by "dumping" tests
from several LLVM components when testing a module or collection;
* more comments, to highlight part where downstream maintaners and QEs
need to modify tests;
* fixed failing tests to get a clean table as a verification tests do
work after my changes.
2021-09-13 21:56:17 +00:00
Konrad Kleine
4c4fb40d31 Add --without=check option 2021-09-13 17:03:07 +02:00
Tom Stellard
a11bd8ab2a Fix Source URLs 2021-08-11 02:14:17 +00:00
serge-sans-paille
bbcd893d83 13.0.0-rc1 Release 2021-08-06 06:51:44 +00:00
serge-sans-paille
dbd3134b54 Maintain versionned link to llvm-config 2021-07-22 16:15:34 +02:00
Fedora Release Engineering
87a4234571 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 13:03:04 +00:00
Tom Stellard
ed9052f67d Add missing sources 2021-07-13 17:49:35 +00:00
Tom Stellard
1b6487a87e 12.0.1 Release 2021-07-12 21:37:05 +00:00
Tom Stellard
086ce6b60e 12.0.1-rc3 Release 2021-06-30 12:49:06 +00:00
Tom Stellard
57a0e89ab1 Stop installing lit tests
We don't use these for CI tests any more and extracting the debuginfo
from the unittests is slowing down the builds or causing them to fail
in some cases (s390x).

This also removes the circular depednecy between llvm-test and
python-lit.
2021-06-29 21:41:56 +00:00
serge-sans-paille
300a6166b6 Verbose test run for easier debugging
And endless build logs
2021-06-25 14:46:38 +02:00
serge-sans-paille
c944d8e241 Extra dependencies for integration test suite 2021-06-24 14:09:35 +02:00
Tom Stellard
084eb9adc4 12.0.1-rc1 Release 2021-05-27 13:31:14 +00:00
serge-sans-paille
578fb20cb6 Fix handling of llvm-config 2021-05-19 13:38:35 +02:00
serge-sans-paille
9fc4be03e7 Use integration test suite instead of regression test suite 2021-05-12 10:28:12 +02:00
serge-sans-paille
04d8b95430 More verbose builds thanks to python3-psutil 2021-05-03 12:44:47 +02:00
Konrad Kleine
97343414c5 Fix missing Python psutil module
In most logs (e.g.
https://kojipkgs.fedoraproject.org//work/tasks/9788/66839788/build.log)
you can find this output:

```
llvm-lit: /builddir/build/BUILD/llvm-12.0.0.src/x86_64-redhat-linux-gnu/utils/lit/tests/lit.cfg:79: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager. Some tests will be skipped and the --timeout command line argument will not work.
```
2021-05-03 10:17:24 +02:00
serge-sans-paille
12b27392ce Decrease debuginfo weight for s390x too 2021-05-02 19:05:31 +02:00
serge-sans-paille
41e2e79b74 Fix llvm-config install 2021-05-02 07:42:49 +02:00
serge-sans-paille
a49938dcf5 Minimal CI test for llvm-config
Previous release broke llvm-config, make sure this does not happen again
2021-05-01 21:08:17 +02:00
serge-sans-paille
0aa1942cbc Provide default empty value for exec_suffix when not in compat mode 2021-04-30 13:57:57 +02:00
Timm Bäder
03470c82bf Remove unused parameter from cmake invocation 2021-04-28 08:27:29 +02:00
serge-sans-paille
5ebc8337ce Fix llvm-config install 2021-04-27 11:08:22 +02:00
serge-sans-paille
ad503c449d Backport compat package fix 2021-04-23 12:03:50 +02:00
Tomas Hrnciar
43ddc8aad7 BuildRequire setuptools explicitly
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools
2021-04-19 13:18:31 +02:00
Tom Stellard
f096dec97c 12.0.0 Release 2021-04-16 04:58:30 +00:00
Tom Stellard
c2438a9311 Add rpmlintrc file to silence an rpmlint error 2021-04-13 04:30:17 +00:00
Tom Stellard
d3a7312537 Import tests from tests/llvm repository
It's not necessary to store the tests in a separate repository, since
other packages can just reference the tests in this repo.
2021-04-09 22:47:38 +00:00
serge-sans-paille
649f50d8ed New upstream release candidate 2021-04-08 14:19:56 +02:00
serge-sans-paille
b87ea61a41 Patch test case for compatibility with llvm-test layout 2021-04-08 09:37:13 +02:00
serge-sans-paille
15b5503827 Add Missing sources 2021-04-02 14:12:59 +02:00
serge-sans-paille
8e9a96e915 New upstream release candidate 2021-04-02 12:32:15 +02:00
Jonathan Wakely
b210b9df54 Rebuilt for removed libstdc++ symbols (#1937698) 2021-03-31 17:34:24 +01:00
serge-sans-paille
f4bd827999 Fix LD_LIBRARY_PATH to be compatible with compat package
See https://src.fedoraproject.org/rpms/llvm11/pull-request/2
2021-03-31 08:48:12 +02:00