Commit graph

545 commits

Author SHA1 Message Date
sergesanspaille
1b6a55b39a More verbose test output 2022-02-17 08:07:56 +01:00
Nikita Popov
35d886f8dc Update to LLVM 13.0.1 final 2022-02-02 16:35:08 +01:00
Nikita Popov
0ff4ac26b1 Switch to an unconditionally applied patch
It looks like conditionally applying a patch on a single arch is
a bit tricky, so instead use an unconditional patch with an
ifndef __aarch64__ block.
2022-01-31 11:57:41 +01:00
Nikita Popov
ddad73a88a Revert "Set _package_note_linker on arm"
This reverts commit 6cee6aebe6.

This issue has now been addressed more generically on the
package-notes side by:
d26d18e6f4
2022-01-31 11:09:53 +01:00
Nikita Popov
410f5f1e9e Disable CrashRecoveryTest.DumpStackCleanup test on aarch64
It produces a non-reproducible failure on aarch64:
https://bugzilla.redhat.com/show_bug.cgi?id=2048440
2022-01-31 11:00:54 +01:00
Konrad Kleine
5d9e2b66ed Fix rpm build warning/error: absolute symlink
I noticed that warnings and errors show up in the `RPM build errors:`
output. When I produced an error I did see this warning about absolute
symlink showing up:

```
absolute symlink: /usr/lib64/bfd-plugins/LLVMgold.so -> /usr/lib64/LLVMgold.so
```

The upstream RPM fix to log warnings and errors separately is here:

https://github.com/rpm-software-management/rpm/pull/1590

Thanks to @sergesanspaille for the help.
2022-01-28 21:04:29 +00:00
Nikita Popov
6cee6aebe6 Set _package_note_linker on arm
On ARM, the default linker is lld when using the clange toolchain,
so specify that as the _package_note_linker. This will use the
-T rather than -dT option for the package note script.

Ideally this would be handled in a more central location.
2022-01-25 16:35:13 +01:00
Nikita Popov
3c9de0ccf8 Update to LLVM 13.0.1rc3 2022-01-25 14:56:25 +01:00
Fedora Release Engineering
445e24e13d - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 17:57:39 +00:00
Nikita Popov
097fdf9c79 Remove no longer necessary patch
This patch has been integrated in the rc2 release.
2022-01-13 04:16:17 -05:00
Nikita Popov
cfd5d23c9d Update to LLVM 13.0.1rc2 2022-01-13 04:08:32 -05:00
Nikita Popov
ab84d46730 Backport 46c947af7 reproducibility fix 2022-01-11 04:07:54 -05:00
Nikita Popov
49fba6acf2 Disable LTO build on s390x
Fails with pcre limit error otherwise
2022-01-10 15:41:41 -05:00
Nikita Popov
236248c006 Upstream 13.0.1 rc1 release 2022-01-10 08:23:04 -05:00
Miro Hrončok
3ba9f5e445 Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 2022-01-08 20:32:26 +01:00
Tom Stellard
1bdf054407 Enable lto on s390x and arm 2021-11-19 11:22:09 +00:00
Konrad Kleine
92512bd38e Added link to docs about 'toolchain' macro 2021-11-09 14:56:37 +01:00
Timm Bäder
3ac3f3b803 Add a few rpmlint exceptions 2021-11-03 14:12:06 +00: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
Timm Bäder
b7b4d3e66b Port tests to tmt 2021-09-15 08:01:11 +02: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
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
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
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
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
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
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
serge-sans-paille
2d7f1de486 Revert "Only ship llvm-config manpages for compat package"
This reverts commit 8a5849ef91.
2021-03-19 20:54:05 +01:00
serge-sans-paille
8a5849ef91 Only ship llvm-config manpages for compat package 2021-03-17 13:58:30 +01:00
serge-sans-paille
23ea0783cb LLVM 12.0.0 rc3 2021-03-11 14:54:27 +01:00
Kalev Lember
238c272915 Add llvm-static(major) provides to the -static subpackage
This is similar to how other subpackages have llvm(major),
llvm-devel(major) and llvm-test(major) provides.
2021-03-10 12:47:19 +01:00
serge-sans-paille
cdd5e565ec rebuilt 2021-03-09 14:58:35 +01:00
serge-sans-paille
d368d987d9 Change CI working dir 2021-03-02 11:37:53 +01:00
serge-sans-paille
5476c44af0 12.0.0-rc2 release 2021-02-24 09:16:46 +01:00
Dave Airlie
f200214110 Enable LLVM_USE_PERF to allow perf integration 2021-02-23 17:31:32 +00:00
serge-sans-paille
298958146f Backport compat package updates 2021-02-23 17:18:25 +01:00
serge-sans-paille
f88ef7d17f Add webassembly to the rhel targets 2021-02-17 18:14:13 +01:00
serge-sans-paille
d31813f419 12.0.0-rc1 release 2021-02-03 07:33:44 +01:00
serge-sans-paille
21e2a92c0d Parametrize targets to build 2021-01-28 21:37:32 +01:00
Fedora Release Engineering
7a04c726c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 18:36:24 +00:00
serge-sans-paille
f768ecb72d 11.1.0-rc2 release 2021-01-22 18:23:01 +01:00
serge-sans-paille
4799046978 11.1.0-rc1 release 2021-01-18 17:06:17 +01:00
serge-sans-paille
11cea8ec0d LLVM 11.0.1 final 2021-01-06 10:54:54 +01:00
serge-sans-paille
036db17a5c Waive extra test case 2021-01-05 13:52:34 +01:00
serge-sans-paille
056fb9e32b Remove a failing arm test case 2020-12-22 08:55:56 +01:00
serge-sans-paille
c32dd93367 11.0.1-rc2 release 2020-12-21 09:57:36 +01:00
serge-sans-paille
2698f34268 11.0.1-rc1 release 2020-12-01 13:40:45 +00:00
Jeff Law
e1767ba62d Fix missing #include for gcc-11 2020-10-31 11:50:44 -06:00
Josh Stone
051ec63e7b Fix coreos-installer test crash on s390x (rhbz#1883457) 2020-10-14 17:37:34 -07:00
serge-sans-paille
f5cf570384 llvm 11.0.0 - final release 2020-10-12 11:30:04 +00:00
serge-sans-paille
9e83c56016 11.0.0-rc6 2020-10-08 09:12:06 +00:00
serge-sans-paille
4720785554 11.0.0-rc5 Release 2020-10-02 07:14:52 +00:00
serge-sans-paille
00e1b0677e Fix NVR 2020-09-27 13:11:33 +00:00
serge-sans-paille
23f776ed73 Obsolete patch for rhbz#1862012 2020-09-24 17:11:05 +00:00
serge-sans-paille
493675c744 11.0.0-rc3 Release 2020-09-24 14:22:13 +00:00
serge-sans-paille
12632088f8 Apply upstream patch for rhbz#1862012 2020-09-02 07:27:02 +00:00
serge-sans-paille
130685912f Fix source location 2020-09-01 10:40:54 +00:00
Tom Stellard
9095ad677f 11.0.0-rc2 Release 2020-08-24 11:10:01 -04:00
Tom Stellard
afed217ebc Fix regression-tests CI tests 2020-08-21 13:24:07 +00:00
Tom Stellard
13d84b331e Fix rust crash on ppc64le compiling firefox
rhbz#1862012
2020-08-18 17:58:01 +00:00
Tom Stellard
3ca69f5739 Install update_cc_test_checks.py script 2020-08-12 09:40:17 -04:00
Tom Stellard
992907b031 LLVM 11.0.0-rc1 Release
Also make llvm-devel require llvm-static and llvm-test.
2020-08-07 23:50:07 -04:00
Tom Stellard
40207a4ea9 Backport upstream patch to fix build with -flto.
Also disable LTO on s390x to work-around unit test failures.
2020-08-08 03:48:41 +00:00
serge-sans-paille
a58113d73c Fix update-alternative uninstall script 2020-08-08 03:48:13 +00:00
serge-sans-paille
146561a8a6 Fix gpg verification, update ninja macro and use %license 2020-08-06 23:42:59 +00:00
Fedora Release Engineering
210d1cc82b - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 04:17:02 +00:00
Fedora Release Engineering
edf13af9da - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 06:11:32 +00:00
serge-sans-paille
d7400582fd Make llvm-test.tar.gz creation reproducible
Move arch-specific content out of the tarball, and build the tarball in a reproducible way.
2020-06-18 07:49:54 +00:00
serge-sans-paille
96783870dd Instruct cmake not to generate RPATH 2020-06-02 15:55:00 +00:00
Tom Stellard
71b43061fd Install LLVMgold.so symlink in bfd-plugins directory 2020-05-12 15:47:18 +00:00
serge-sans-paille
8e1d8d6581 Update testing to pass gating tests
- Backport bab5908df544680ada0a3cf431f55aeccfbdb321 (test portability)
- Fix indentation in tests/tests.yml
- Remove testing of update utility tools
2020-04-15 19:17:21 +00:00
serge-sans-paille
63f8be8e26 Apply changes needed for the compat build
Based on llvm9 package
2020-04-01 17:17:25 +00:00
serge-sans-paille
78e975e88f 10.0.0 final 2020-03-25 21:45:43 +00:00
serge-sans-paille
901bdb19f1 10.0.0 rc6 2020-03-24 07:20:09 +00:00
serge-sans-paille
b9d5a005d6 10.0.0 rc5 2020-03-19 19:02:46 +00:00
serge-sans-paille
004b709e96 10.0.0 rc4 2020-03-14 08:06:07 +00:00
serge-sans-paille
0cf0e0fcc8 10.0.0 rc3 2020-03-05 11:19:15 +00:00
serge-sans-paille
38c19e024e Remove *_finite support, see rhbz#1803203 2020-02-29 08:28:41 +00:00
serge-sans-paille
d323e42667 10.0.0 rc1 2020-02-14 09:01:38 +00:00
serge-sans-paille
7790ff0825 10.0.0 rc1 2020-02-06 05:45:54 +00:00
Fedora Release Engineering
13fa3366b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 11:09:14 +00:00
Tom Stellard
00a5db5f3a Rebuild after previous build failed to strip binaries 2020-01-21 21:34:25 +00:00
Tom Stellard
96d4e517c5 Add explicit Requires from sub-packages to llvm-libs
RPMDiff complains that these requires are missing.
2020-01-17 20:06:49 +00:00
Tom Stellard
d7b5dc38f6 Fix crash with kernel bpf self-tests 2020-01-11 04:16:47 +00:00
Tom Stellard
d9ea1b48ed 9.0.1 Release 2019-12-20 02:34:08 +00:00
serge-sans-paille
8ddd41e8d9 Activate AVR on all architectures 2019-11-26 06:02:40 +00:00
Tom Stellard
acf22be74c Build libLLVM.so first to avoid OOM errors
Linking libLLVM.so takes a lot of memory and often causes OOM errors
on builders with low memory:cpu ratios..  By building libLLVM.so first,
we can ensure that when libLLVM.so is being linked, there are no other
build threads running which reduces the chances of an OOM error.
2019-10-01 15:12:05 +00:00
Tom Stellard
9d70f3b6d9 Remove unneeded BuildRequires: libstdc++-static 2019-09-27 03:28:51 +00:00
Tom Stellard
6a704c4759 9.0.0 Release 2019-09-20 14:23:01 +00:00
serge-sans-paille
6f02bbba2f Support avr target, see rhbz#1718492 2019-09-19 00:37:59 +00:00
Tom Stellard
bab8b9476f Split out test executables into their own export file 2019-09-11 20:05:31 +00:00
Tom Stellard
f07760fd8f Fix patch for splitting out static library exports 2019-09-06 18:06:28 +00:00
Tom Stellard
d62829b09a 9.0.0-rc3 Release 2019-08-30 19:15:46 +00:00
Tom Stellard
5dee6b644a 9.0.0-rc2 Release 2019-08-22 03:32:45 +00:00
Tom Stellard
77699b4333 Sync with llvm8.0 spec file
Also replace %global compat_build 0 with %bcond_with compat_build.
This will make it easier to test building the compat version of the
package and allow us to add a CI test for it.
2019-08-22 03:32:37 +00:00
Fedora Release Engineering
f5b025e1f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 15:03:54 +00:00
Tom Stellard
15784b25a9 Add provides for the major version of sub-packages 2019-07-18 03:50:40 +00:00
serge-sans-paille
ab84dbf5d4 Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake 2019-05-17 08:59:03 +00:00
Tom Stellard
785b893001 Make sure we aren't passing -g on s390x 2019-04-24 05:05:22 +00:00
Tom Stellard
0a95f79eb7 Enable build rpath while keeping install rpath disabled 2019-04-12 17:08:34 +00:00
Tom Stellard
f3e54d7b77 Backport r351577 from trunk to fix ninja check failures 2019-04-02 15:27:12 +00:00
Tom Stellard
2b03740f59 Fix ninja check 2019-03-27 01:41:05 +00:00
Tom Stellard
dd29ab70a3 llvm-test fixes
Try to simply lit config file generation by adding standalone fedora specific
config file.  In the future, when we need to customize the lit config
for the llvm-test package, we can just update lit.fedora.cfg.py rather
than trying to patch the default config from the spec file.

This patch also makes the run-lit-tests script identical on all arches,
so it will no longer cause multi-lib conflicts.
2019-03-26 13:06:13 +00:00
serge-sans-paille
f059677e37 8.0.0 final 2019-03-20 14:54:29 +00:00
serge-sans-paille
d78f6772be Activate all backend targets
Fix https://bugzilla.redhat.com/show_bug.cgi?id=1689031
2019-03-15 17:37:02 +00:00
serge-sans-paille
49f1cffac0 8.0.0rc4 2019-03-12 14:15:43 +00:00
serge-sans-paille
095898397b Move some binaries to -test package, cleanup specfile 2019-03-06 08:36:59 +00:00
serge-sans-paille
54ff648b33 8.0.0 rc3 2019-03-04 09:27:04 +00:00
serge-sans-paille
06970df22f Integrate compat change from llvm7.0 2019-02-26 16:17:22 +00:00
serge-sans-paille
7d9203efc8 8.0.0rc2 - fix versioning numbers 2019-02-22 08:12:13 +00:00
serge-sans-paille
34be5374da 8.0.0rc2 2019-02-18 18:20:24 +00:00
serge-sans-paille
e917285b3e Decrease debug info level for s390x 2019-02-14 16:18:03 +00:00
serge-sans-paille
317b7917e6 Limit the number of linker jobs to 1 2019-02-14 16:15:24 +00:00
serge-sans-paille
4ca785f8a6 llvm 8.0.0rc1 2019-02-13 15:40:02 +00:00
Fedora Release Engineering
aea8243575 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:52:42 +00:00
Igor Gnatenko
d891d182b1
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:19 +01:00
Josh Stone
cf8888829a Fix discriminators in metadata, rhbz#1668033 2019-01-21 11:37:20 -08:00
serge-sans-paille
8eccc650c2 Bump version to 7.0.1 2018-12-17 09:15:27 +00:00
serge-sans-paille
8fc4f00334 Ensure rpmlint passes on specfile 2018-12-04 15:10:41 +00:00
Tom Stellard
40468b1e90 Install testing libraries for unittests
This is needed in order for clang to be able to run make check-all
during koji builds.
2018-11-19 19:17:37 +00:00
Tom Stellard
d56ae49824 Fix running unittests as not-root user
Also add Requires: findutils
2018-10-27 02:29:18 +00:00