514a3aad97
Enable tests for riscv64
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-27 09:20:43 +02:00
fc4ef59af1
Rebuild for riscv64
...
We currently don't have upstream NVR for LLVM.
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-27 09:20:13 +02:00
2389ccbcf2
Merge remote-tracking branch 'up/main' into main-riscv64
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-27 09:18:00 +02:00
Yaakov Selkowitz
8bad2506c6
Fix dependency paths
...
Installation path macros cannot be used to reference the location of
dependencies. In the case of flatpak builds, this breaks because
alternatives is part of the runtime and python3-sphinx is from the
buildroot and both therefore remains in /usr, even as llvmNN is built
in /app.
2024-03-25 14:31:26 -04:00
Zhengyu He
8182dd36c6
Add support for riscv64
2024-03-22 17:47:12 -03:00
Tom Stellard
cbbbf750ff
18.1.2 Release
2024-03-21 17:47:06 +00:00
Tom Stellard
987674b0c0
18.1.1 Release
2024-03-11 15:43:18 +00:00
Tulio Magno Quites Machado Filho
1858d41527
Force ldconfig execution in compat packages
...
Fixes rhbz#2001328.
2024-03-04 10:29:16 -03:00
Yaakov Selkowitz
8377393981
Update RHEL docs patch
2024-03-03 20:31:54 -05:00
Tom Stellard
60c239e0f5
18.1.0-rc4 Release
2024-02-28 01:18:27 +00:00
Tom Stellard
02a885b6b8
LLVM 18.1.0-rc3
...
This also includes a squash merge of the upstream-snapshot branch with
HEAD 19db1ff8da3613e93a5ef60da7a397db99bef082.
2024-02-21 22:13:58 +00:00
Tom Stellard
d5ddbea65f
Include the same content in the compat packages as we do in the main package
...
https://fedoraproject.org/wiki/Changes/LLVM-18
2024-02-21 06:20:00 +00:00
Nikita Popov
39a5a55967
Fix crash with -fzero-call-used-regs (rhbz#2262260)
2024-02-01 14:42:14 +01:00
Nikita Popov
2e67d99866
Only use cet-report=error on x86_64
...
i386 CET support has been removed from glibc. Only check it for
x86_64.
2024-01-29 09:41:21 +01:00
Fedora Release Engineering
a68f9de029
Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2024-01-25 04:30:11 +00:00
f5e0a8ada9
Merge commit '43a62dabf0c6be28d0263a895f80ab90895e3dcd' into main-riscv64
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-01-23 13:47:16 +02:00
Fedora Release Engineering
689cb83fb1
Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2024-01-21 06:05:17 +00:00
fe12fbf87f
Remove separate lto_cflags for riscv64
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-04 07:59:42 +02:00
8d0bd1022d
Fix merge
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-04 07:58:35 +02:00
6ada3f3cfd
Merge remote-tracking branch 'up/main' into main-riscv64
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-04 07:57:39 +02:00
Tulio Magno Quites Machado Filho
43a62dabf0
Fix rhbz #2248872
...
Ensure the versioned llvm-config alternative gets removed during major
upgrades of the non-compat package.
Also add code that removes the versioned llvm-config alternatives of
the previous 3 LLVM versions. These versions didn't remove their own
versioned llvm-config alternative, leading to broken output, e.g.
llvm-config-16 points to llvm-config-64 from LLVM 17.
2023-11-30 13:43:29 -03:00
Tulio Magno Quites Machado Filho
dae42895a5
Update to LLVM 17.0.6
2023-11-28 16:01:06 -03:00
Tulio Magno Quites Machado Filho
ceb6b17869
Revert "[packit] 17.0.5 upstream release"
...
This reverts commit fe235bbf25
.
It was pushed by mistake.
2023-11-24 14:14:14 -03:00
Tulio Magno Quites Machado Filho
fe235bbf25
[packit] 17.0.5 upstream release
...
Upstream tag: llvmorg-17.0.5
Upstream commit: 98bfdac5
2023-11-24 14:10:14 -03:00
Nikita Popov
4be4b92cb1
Remove 32-bit arm handling
2023-11-24 09:12:29 +00:00
Nikita Popov
ec966be7c4
Remove redundant _lto_cflags define
...
ThinLTO is the default nowadays.
2023-11-24 09:12:29 +00:00
Tulio Magno Quites Machado Filho
5e17ea6380
Update to LLVM 17.0.5
2023-11-14 15:49:46 -03:00
3867a191df
Rebuild with Clang toolchain
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-05 15:44:27 +02:00
1ca1fba290
Disable LTO and build with GCC
...
Clang 16.0.4 failed twice already thus move back to GCC for now.
Disable LTO to speedup the builds for now.
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-03 10:18:42 +02:00
bbe4d4eaaf
Add support for riscv64
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-02 12:26:24 +02:00
f3c9dc32ea
Merge remote-tracking branch 'up/main' into main-riscv64
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-02 12:20:45 +02:00
Tulio Magno Quites Machado Filho
4689129188
Update to LLVM 17.0.4
2023-10-31 18:00:16 -03:00
Yaakov Selkowitz
1b6d3f3740
Fix ld.so.conf.d path
...
This location is hard-coded by glibc and is not prefix-variable. This
fixes flatpak app RPM builds of clang15 and packages dependent thereon
(e.g. openshadinglanguage). Flatpaks using these packages will still
need to define LD_LIBRARY_PATH.
2023-10-19 09:13:26 -03:00
Tulio Magno Quites Machado Filho
5197c0ae27
Update to LLVM 17.0.3
2023-10-17 14:42:39 -03:00
Tulio Magno Quites Machado Filho
83e53f80ee
Update to LLVM 17.0.2
2023-10-03 18:15:50 -03:00
Tulio Magno Quites Machado Filho
1e5009d192
Update to LLVM 17.0.1
2023-09-22 15:40:38 -03:00
Nikita Popov
d71a6d614a
Unset LLVM_VERSION_SUFFIX for compat builds as well
...
This is needed if the compat build is produced for an rc version,
which I'm currently trying to do to fix snapshot builds.
I don't see a reason why this bit should be omitted for snapshot
builds.
2023-09-14 15:04:17 +02:00
Nikita Popov
2b59cd5563
Re-enable ppc64 gold test
...
https://bugzilla.redhat.com/show_bug.cgi?id=2234396 has been fixed.
2023-09-14 07:50:09 +02:00
Tulio Magno Quites Machado Filho
d007916e9b
Update to LLVM 17.0.0 RC4
2023-09-09 09:08:09 -03:00
Yaakov Selkowitz
4e6a7e3ffb
Update RHEL docs patch
2023-09-01 12:26:36 -04:00
Tulio Magno Quites Machado Filho
de70be4496
Update to LLVM 17.0.0 RC3
2023-08-24 07:26:59 -03:00
Tulio Magno Quites Machado Filho
bf19c70bc0
Temporarily disable a failing test on ppc64le
...
ld.gold is crashing with an internal error.
Disable this test temporarily while the issue is being investigated and
fixed.
2023-08-24 06:42:02 -03:00
Tulio Magno Quites Machado Filho
b7b35dbbdc
Update to LLVM 17.0.0 RC2
2023-08-23 07:30:44 -03:00
Tulio Magno Quites Machado Filho
c7a62f31ea
Disable LTO on i686
...
We're reaching a memory limit while linking libLLVM.so .
2023-08-17 15:18:16 -03:00
Tulio Magno Quites Machado Filho
15eacb3329
Apply rhel-specific patch on snapshot builds
...
Despite not testing on snapshot builds on RHEL, it's a good practice to
have the code ready for that.
2023-08-16 13:55:23 -03:00
Tulio Magno Quites Machado Filho
cb1bdb3739
Re-add patch removed by mistake
...
Fixes: d5b39fd081
("Update to LLVM 17.0.0 RC1")
2023-08-14 18:40:54 -03:00
Tulio Magno Quites Machado Filho
2ec945401e
Enable LLVM_UNREACHABLE_OPTIMIZE temporarily
...
This has been causing issues when building clang. Enable it temporarily
until the root cause is found and fixed.
2023-08-09 11:54:46 -03:00
Tulio Magno Quites Machado Filho
d5b39fd081
Update to LLVM 17.0.0 RC1
...
This is also a squashed merge commit from upstream-snapshot (commit ID
340b9e8ea37dcbca) into rawhide whose most important commits from
upstream-snapshot are:
Konrad Kleine (50):
Prepare for snapshot build
Fix RPM build errors: File not found: /builddir/build/BUILDROOT/llvm-14.0.0~pre20211103.g1febf42f03f664-1.fc34.x86_64/usr/lib64/libLLVM-14.so
Added back patch file
Rebased with new patches from rawhide that weren't yet in the streamline branch
Fix RPM build errors: File not found: /builddir/build/BUILDROOT/llvm-14.0.0~pre20211103.g1febf42f03f664-1.fc34.x86_64/usr/lib64/libLLVM-14.so
Disable LTO for anything older than Fedora 34
Use llvm_snapshot_version_suffix
Remove patch for https://reviews.llvm.org/D108332 which is already upstream
Only package cmake-devel when building a snapshot package and when NOT building in compat mode
Fix RPM build
Fix Macro expanded in comment on line 586: %{_libdir}/libLLVM-%{maj_ver}
Fix rpm build warning/error: absolute symlink
Default to DWARF4
Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
Rebased patched on pagure/streamline
Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
Added 0004-PATCH-clang-Revert-cmake-Don-t-install-plugins-used-.patch
Revert "Added 0004-PATCH-clang-Revert-cmake-Don-t-install-plugins-used-.patch"
Workaround linker error: memory exhausted
Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
Added pgo_instrumented_build cmake args
Fix /usr/bin/ld: cannot find /usr/lib64/clang/13.0.0/lib/linux/libclang_rt.profile-x86_64.a: No such file or directory
Move bcond in cmake down in case we want to override stuff
Make llvm use the llvm-snapshot-builder as well
Use %{llvm_snapshot_extra_source_tags} macro
Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
Patch renewal from rebased llvm-project pagure/streamline branch
Try to lock llvm* and clang* packages so that we don't install LLVM from a previous copr build
Revert "Try to lock llvm* and clang* packages so that we don't install LLVM from a previous copr build"
Rebase onto pagure/main
Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
use llvm+cmake tarballs instead of big llvm-project and close unclosed %if
Fixup: clang->cmake
Move globals down for them to be expanded correctly
Fix merge issue with patch
Test without some patches
Compiles and installs again
Adapt to standalone third-party dir
bring back files to llvm-googletest package
fixing path to unittest
Manually add https://reviews.llvm.org/D137890
Add missing patch files
Apply patchfiles independently for llvm and third-party dir
List third-party gmock/gtest files in install
Merge remote-tracking branch 'origin/rawhide' into upstream-snapshot
Re-enable patches for gtest
Disable LTO to speed up builds
Added libLLVMTestingAnnotations.a to googletest subpackage
Merge remote-tracking branch 'origin/rawhide' into upstream-snapshot
Nikita Popov (1):
Sync with rawhide
Tom Stellard (13):
Add patch to fix some lit test failures
Revert "Add patch to fix some lit test failures"
Add a patch from main branch to fix some lit tests
Revert "Add a patch from main branch to fix some lit tests"
Remove patch applied upstream
Remove another upstreamed patch
Add llvm-googletest dependency to llvm-devel
Add JITLink patch to fix clang failures on aarch64 with libgcc-13
Revert "Add JITLink patch to fix clang failures on aarch64 with libgcc-13"
Fix a test failure on s390x
Revert "Fix a test failure on s390x"
copr: Install llvm-snapshot-builder from the local COPR project
Sync with rawhide
sergesanspaille (1):
Rebase downstream patches
2023-08-09 11:54:07 -03:00
Nikita Popov
5e22fb4ab6
Don't drop LDFLAGS for shared libraries
...
From the corresponding c9s fix:
b758d604f4
2023-08-08 16:51:16 +02:00
Tulio Magno Quites Machado Filho
d180d56a78
Remove pkg_bindir and pkg_libdir
...
Replace them witn install_bindir and install_libdir respectively.
2023-08-03 19:30:40 +00:00
Tulio Magno Quites Machado Filho
b5d6c1ccf0
Simplify a few %files entries
...
This is also deduplicating a small list of %files entries by replacing
the variable used to build their path.
2023-08-03 19:30:40 +00:00
Nikita Popov
2abc096557
Use build_cflags when setting ASMFLAGS
...
While the current implementation works on Fedora, on c9s/rhel
the CFLAGS haven't been set at this point yet, so we are missing
the -fcfprotection flag in ASMFLAGS. Using build_cflags avoids
this ordering problem.
Additionally, add -Wl,-z,cet-report=error to the libLLVM.so linker
flags, so we can detect such issues earlier in the future.
2023-08-03 19:29:38 +00:00
Tulio Magno Quites Machado Filho
dd44fc12ea
Fix rhbz #2224885
2023-07-31 17:19:01 -03:00
Fedora Release Engineering
f9f0fb07de
Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 12:55:16 +00:00
Tulio Magno Quites Machado Filho
f9133b98bb
Bump the release version
2023-07-10 18:38:50 -03:00
Nikita Popov
bdb4929ebd
Use LLVM_UNITTEST_LINK_FLAGS to reduce link times for unit tests
...
We currently spend a lot of time performing LTO on unit tests,
which is largely wasted effort. We can't disable LTO entirely,
because we don't have fat objects, but at least we can disable
post-link optimization.
For my local build, this reduces time in %build by about 30%.
2023-07-07 07:20:18 +00:00
Tulio Magno Quites Machado Filho
cd99de7d35
Improve clang assembler error messages on s390x (rhbz#2216906)
...
Backport a patch from LLVM 17 that improves error messages from the
Clang assembler on s390x.
Also, disable LLVM_UNREACHABLE_OPTIMIZE in order to improve error
messages when llvm_unreachable() is called. There are many cases where
llvm_unreachable() is used as a error reporting function instead of the
recommended replacement for assert().
Fixes rhbz#2216906.
2023-07-03 15:09:05 -03:00
Tulio Magno Quites Machado Filho
61b03e8d59
Update to LLVM 16.0.6
2023-06-15 07:41:00 -03:00
Nikita Popov
236eac9d27
Split off llvm-cmake-utils package
2023-06-15 08:58:02 +02:00
Tulio Magno Quites Machado Filho
ba5f101283
Update to LLVM 16.0.5
2023-06-05 14:26:35 -03:00
Yaakov Selkowitz
bcf7ece4a8
Avoid recommonmark dependency in RHEL builds
...
python-recommonmark and its dependencies are unwanted in RHEL.
2023-05-22 11:57:51 -04:00
Tulio Magno Quites Machado Filho
85d29458f2
Update to LLVM 16.0.4
2023-05-18 21:54:20 -03:00
Tulio Magno Quites Machado Filho
f98e61f997
Update to LLVM 16.0.3
2023-05-09 17:54:23 -03:00
Tulio Magno Quites Machado Filho
193ba1355d
Update to LLVM 16.0.2
2023-04-25 17:19:37 -03:00
Nikita Popov
96037cf8ba
Remove unused sources
2023-04-14 17:22:13 +02:00
Tulio Magno Quites Machado Filho
072d2198fb
Update to LLVM 16.0.1
2023-04-12 17:39:44 +00:00
Jan200101
f51436a734
Stop installing gtest on compat builds
2023-04-12 14:13:53 +02:00
Tulio Magno Quites Machado Filho
a4982d84f3
Stop distributing /usr/share/llvm/src/utils
2023-03-24 09:07:18 -03:00
Tulio Magno Quites Machado Filho
a13a3551eb
Distribute libllvm_gtest.a and libllvm_gtest_main.a with llvm-googletest
2023-03-24 09:04:53 -03:00
Tulio Magno Quites Machado Filho
0cd1abca26
Update to LLVM 16.0.0
2023-03-20 17:04:41 -03:00
Tulio Magno Quites Machado Filho
2f72d026a3
Fix the ppc64le triple
2023-03-16 22:07:43 -03:00
Tulio Magno Quites Machado Filho
59d2543cca
Update the sources file
2023-03-15 09:06:18 -03:00
Tulio Magno Quites Machado Filho
cc36c0869b
Update to LLVM 16.0.0 RC4
2023-03-15 08:41:45 -03:00
Tulio Magno Quites Machado Filho
55d7730bb8
Fix llvm-exegesis failures on s390x
2023-03-15 08:41:45 -03:00
Tulio Magno Quites Machado Filho
3c4fee7794
Update to LLVM 16.0.0 RC3
2023-03-15 08:41:35 -03:00
Tulio Magno Quites Machado Filho
7f47caed9c
Improve .gitignore
...
Replace many lines with a few with globs.
Add more entries in order to avoid adding files by mistake.
2023-02-16 16:43:01 -03:00
Tulio Magno Quites Machado Filho
780d2fc116
Remove unnecessary files
...
These files stopped being used in 2016 and are not necessary anymore.
2023-02-16 16:40:07 -03:00
Tulio Magno Quites Machado Filho
a2100f44b7
Update to LLVM 16.0.0 RC1
2023-02-10 11:58:04 -03:00
Tulio Magno Quites Machado Filho
034719a43e
Add the third-party source code
2023-02-01 18:49:54 -03:00
Konrad Kleine
3aef850832
Added libLLVMTestingAnnotations.a to googletest subpackage
...
See 3432f4bf86
2023-02-01 18:49:54 -03:00
Konrad Kleine
c2901f71cb
List third-party gmock/gtest files in install
2023-02-01 18:48:11 -03:00
Konrad Kleine
87fcbdde75
Manually add https://reviews.llvm.org/D137890
2023-02-01 18:48:11 -03:00
Konrad Kleine
9812a7f1ae
bring back files to llvm-googletest package
2023-02-01 18:48:11 -03:00
Konrad Kleine
c31ffc7ed1
Adapt to standalone third-party dir
2023-02-01 18:48:11 -03:00
Tulio Magno Quites Machado Filho
b173c6109a
Adopt SPDX identifiers in license
...
Also make it clear that Apache 2.0 with LLVM exceptions was adopted in
2019.
2023-01-19 16:45:58 -03:00
Fedora Release Engineering
c92743ab8a
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 18:09:55 +00:00
Nikita Popov
a20957b5eb
Update to LLVM 15.0.7
2023-01-12 10:31:52 +01:00
Tom Stellard
f543860321
Omit frame pointers when building
2023-01-09 20:33:24 +00:00
Nikita Popov
1862c052da
Remove workaround for rbhz#2048440
...
It looks like this test passes now.
2022-12-19 16:35:33 +01:00
Timm Bäder
1d9fedd416
Enable LTO builds on s390x again
...
The PCRE limit problem has been fixed in redhat-rpm-config in
25ea080503
2022-12-05 17:07:40 +01:00
Nikita Popov
2fa672b23f
Update to LLVM 15.0.6
2022-12-05 08:56:31 +01:00
Jan200101
920a8b1b56
Install cmake modules for compat builds
2022-11-15 09:40:45 +00:00
Nikita Popov
8e1f53d786
Copy CFLAGS to ASMFLAGs to enable CET in asm files
2022-11-11 10:23:47 +01:00
Nikita Popov
3c595192e2
Update to LLVM 15.0.4
2022-11-03 12:56:08 +01:00
Nikita Popov
0c4aa4a13c
Remove abi_revision handling
...
We now longer ship rcs outside of copr, so this is no needed anymore.
2022-09-29 10:47:28 +00:00
Nikita Popov
6c4af9abec
Drop GetHostTriple export again
...
This doesn't work by itself due to the config.guess dependency,
and I'm not longer sure this is the right approach. The runtimes
build should really be getting this from the exported
LLVM_HOST_TRIPLE variable.
2022-09-29 10:20:54 +02:00
Nikita Popov
aec99db3ed
Export GetHostTriple.cmake
2022-09-27 12:57:56 +02:00
Jesus Checa Hidalgo
2ce66b7035
Migrate tests to tests/llvm repo
2022-09-19 14:28:26 +00:00
Nikita Popov
5f0a6388b3
Fix compat build symlinks
...
Backport from llvm14 package.
2022-09-13 18:04:18 +02:00
Nikita Popov
81e2995efc
Update to LLVM 15.0.0
2022-09-06 10:01:30 +02:00
bfc65d3159
Disable tests on riscv64
...
[..]
********************
Failed Tests (4):
LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/OrcCAPITestBase.AddObjectBuffer
LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/OrcCAPITestBase.ExecutionTest
LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/OrcCAPITestBase.ResourceTrackerDefinitionLifetime
LLVM-Unit :: ExecutionEngine/Orc/./OrcJITTests/OrcCAPITestBase.ResourceTrackerTransfer
Testing Time: 8049.86s
Unsupported : 1615
Passed : 45207
Expectedly Failed: 150
Failed : 4
[..]
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-08-21 13:54:40 +03:00
2761d5d1b4
Disable LTO on riscv64
...
Thin LTO is not supported by the GCC.
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-08-19 10:59:26 +03:00
86aa8d2f10
Build with GCC toolchain for riscv64
...
This is only needed to boostrap LLVM/Clang 14.
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-08-19 10:14:58 +03:00
aee68104d0
Lower memory consumption on riscv64
...
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-08-19 09:33:14 +03:00
Fedora Release Engineering
07f677a874
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 19:44:43 +00:00
Miro Hrončok
dc7156ce5a
Don't add -P to Python shebangs
...
Opt-out from https://fedoraproject.org/wiki/Changes/PythonSafePath
The executable Python scripts in /usr/share/opt-viewer/ import each other.
2022-07-19 12:49:30 +02:00
Timm Bäder
2e920ed4cb
Release bump for new redhat-rpm-config
2022-06-17 08:38:20 +02:00
Timm Bäder
af1b169c7b
14.0.5 release
2022-06-13 16:13:21 +02:00
Tom Stellard
4e05585009
14.0.3 Release
2022-05-19 15:21:52 +00:00
Jesus Checa Hidalgo
18f0d9a072
tests: do not use ninja-build for integration testsuite
...
ninja-build is distributed from extra repos such as epel.
Unfortunately this is not available in all supported archs
which makes it impossible to test with ninja-build.
2022-05-04 15:50:16 +02:00
Serge Guelton
3cf4c8d386
Merge #142 tests: disable lld in llvm-integration-testsuite when arch is ppc64
2022-05-03 08:56:06 +00:00
Jesus Checa Hidalgo
c07be4ccdf
tests: disable lld in llvm-integration-testsuite when arch is ppc64
2022-04-29 16:55:48 +02:00
Timm Bäder
0600540ab9
Remove llvm-cmake-devel package
2022-04-29 08:09:30 +02:00
Timm Bäder
33f597aab6
Remove some unused variables
2022-04-27 12:04:55 +02:00
Jesus Checa Hidalgo
965c7fbf2c
tests: add llvm-toolset-14.0 requirements to tests and plans
2022-04-22 13:04:50 +02:00
sergesanspaille
a6af40e6f6
Upload new sources
2022-03-29 10:04:53 +02:00
Timm Bäder
314c08660d
Update to 14.0.0
2022-03-29 07:32:31 +00:00
Miloš Prchlík
77fe5f8af7
tests: fix libLLVM size threshold
...
Documentation says the threshold is 150MB, but the actual value was 200MB. Fixing this with a correct value, documentation (and previous commit message) are right here.
Thanks to vkadlcik@redhat.com for spotting the issue.
2022-03-29 07:27:29 +00:00
Miloš Prchlík
c3eaca601e
tests: ninja is not ninja on RHEL7/ppc64/Epel, but cmake knows
...
By using `cmake --build` instead of calling `ninja` directly, test
should run well on ppc64 even when `ninja-build` is all we have.
2022-03-04 10:44:16 +01:00
Miloš Prchlík
b28a786b94
tests: bump libLLVM size threshold
...
The library size can vary a bit, 100MB is sort of correct, but e.g. RHSCL version is 106MB. Bumping the size threshold to 150MB, it should b still safely within the original bug report of 2GB.
2022-03-03 10:27:02 +00:00
sergesanspaille
1b6a55b39a
More verbose test output
2022-02-17 08:07:56 +01:00
Jesus Checa Hidalgo
4c0fee8654
tests: remove unavailable requirements for s390x
...
lld and libomp are not shipped in s390x, hence causing provisioning
prepare step to fail as they are required in llvm-integration-testsuite.
The test should still run fine without those packages.
2022-02-09 18:22:40 +01:00
Miloš Prchlík
e6d1a04f09
tests: CRB in CentOS has different name
2022-02-03 14:33:55 +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
Miloš Prchlík
f97fd4bb29
tests: add extra repositories to allow installation of ninja/libstdc++
2022-01-11 16:01:30 +00: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
Miloš Prchlík
978f4952dd
tests: add support for SCL-ized LLVM 13 (llvm-toolset-13.0)
2021-12-13 12:29:21 +01:00
Milos Prchlik
c3456fa4ca
tests: unquote use of CMAKE_LIBCXX to avoid empty yet existing cmake argument
2021-11-25 14:56:57 +01:00
Milos Prchlik
9e0411bb7b
tests: use adjust
to handle libcxx requirement in Fedora and RHEL
2021-11-24 14:07:30 +01:00
Tom Stellard
1bdf054407
Enable lto on s390x and arm
2021-11-19 11:22:09 +00:00
Milos Prchlik
6564e5278d
tests: rename default plan to build-gating to better eflect its current purpose
...
My expectation is that in the future, more tests will land in this git,
and not all of them would be useful in gating time. AFAIK, CI systems do
run everything they can, therefore adding `when` to control when the
plan is executed - `is not defined` bit should allow anyone to run it
manually, while the rest of the condition should limit its presence to
gating events.
2021-11-16 16:26:59 +01: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
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
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
5ed4f59a12
Revert "Fix gating test to use /var/tmp instead of /tmp"
...
This reverts commit 698638eb9e
.
Doesn't seem to help much.
2021-03-02 11:37:09 +01:00
serge-sans-paille
5476c44af0
12.0.0-rc2 release
2021-02-24 09:16:46 +01:00
serge-sans-paille
698638eb9e
Fix gating test to use /var/tmp instead of /tmp
2021-02-24 08:33:11 +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
86790c25da
Add missing sources
2020-12-01 13:56:07 +00: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
014d0253f8
Increase CI capacity
2020-09-15 08:29:19 +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
764a78bf46
Remove llvm-devel-cmake test
...
This test is no longer relevant since llvm-devel now Requires both
llvm-static and llvm-test.
2020-08-19 00:00:55 +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
Aleksandra Fedorova
e89816ed7a
Update gating test name
...
Messaging scheme has changed and old centos-related test names are now deprecated.
See https://pagure.io/fedora-ci/general/issue/110
2020-07-15 00:04:17 +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