Commit Graph

328 Commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho e99cc9fefa Add package clang-tools-extra-devel
Add package clang-tools-extra-devel in order to distribute clang-tidy headers.
Fix rhbz#2174920.
2023-03-03 13:06:37 -03:00
Nikita Popov 44be8b6afe Update to LLVM 15.0.7 2023-01-12 16:27:40 +01:00
Nikita Popov 0d31707853 Fix resource-filesystem ownership conflict
Fix rbhz#2100122.
2023-01-12 16:26:57 +01:00
Nikita Popov a0770779c5 Add clang-devel dep to python3-clang
python3-clang requires libclang.so, which is part of clang-devel.
2022-12-23 17:02:41 +01:00
Nikita Popov bd4c99155e Backport patches for ucrt64 toolchain detection 2022-12-21 09:51:05 +01:00
Nikita Popov aa3eac8c94 Update to LLVM 15.0.6 2022-12-06 13:03:23 +01:00
Jesus Checa Hidalgo 39fa8f2089 Migrate tests to tests/clang repo 2022-11-10 16:05:40 +01:00
Nikita Popov 2503e68a46 Update to LLVM 15.0.4 2022-11-08 09:18:29 +01:00
Nikita Popov 7714070615 Default to non-pie, fix rhbz#2134146 2022-10-17 11:57:38 +02:00
Nikita Popov 18b4d8f638 Downgrade implicit int and implicit function declaration to warning only
This backports a fix for a major regression that will be part of
the 15.0.1 release.

See https://reviews.llvm.org/D133800 and
https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213.
2022-09-15 09:20:32 +02:00
Nikita Popov 2c7a3e0165 Fix compat build
Backport changes from clang14 package. We need to exclude patches
for clang-format (which we don't build for compat packages).
Additionally, clang14-devel needs a dependency on clang14-libs,
otherwise this only installs dead symlinks without the shared
objects they point to.
2022-09-08 10:09:36 +02:00
Nikita Popov 8bfa8f339d Fix i686 build 2022-09-07 20:10:47 +02:00
Nikita Popov 7932c290b2 Update to LLVM 15.0.0 2022-09-07 14:31:47 +02:00
sergesanspaille a3f820cee2 Add a Recommends on libatomic, see rhbz#2118592 2022-09-07 14:31:37 +02:00
Nikita Popov 2b8dcb4dbf Revert powerpc -mabi=ieeelongdouble default
Revert the abi default again until
https://bugzilla.redhat.com/show_bug.cgi?id=2115752 is fixed.

This reverts commit 2efd3e3d10.
2022-08-10 10:34:59 +02:00
Tom Stellard 2efd3e3d10 Revert "Revert "Use the ieee128 format for long double on ppc64le" until rhbz#2100546 is fixed"
This reverts commit e26357988c.
2022-08-04 16:07:03 +00:00
Amit Shah 4bdb1778ec Switch to using the dist_vendor macro for distribution vendor
The new dist_vendor macro[1] in fedora-release helps simplify spec files
by removing the conditionals for populating the distro.

[1] https://src.fedoraproject.org/rpms/fedora-release/pull-request/223
2022-07-28 12:29:58 +05:30
Jesus Checa Hidalgo 718bd7a127 tests: fedora-flags
* Fixed broken dependency on annobin. Requiring just redhat-rpm-config
should pull the correct annobin rpm
* Added SCL specific requirements for LLVM 13 and 14
2022-07-21 06:48:03 +00:00
Fedora Release Engineering 0ca250eb5b Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 23:00:58 +00:00
Miro Hrončok e26357988c Revert "Use the ieee128 format for long double on ppc64le" until rhbz#2100546 is fixed
This reverts commit 27327ff4a8.

This disables the ppc64le-long-double test.
2022-06-30 16:43:44 +02:00
Timm Bäder a679a440e9 Update to 14.0.5
Increase version and drop ununeeded patches.
2022-06-14 10:48:48 +02:00
Timm Bäder ec23c296ca Drop unused variable 2022-06-14 10:47:55 +02:00
Python Maint 561ebf3c43 Rebuilt for Python 3.11 2022-06-13 20:38:39 +02:00
Jesus Checa Hidalgo 4de77856dd Tests: make openmp-rpm test compatible with RHEL distros and collections 2022-06-01 11:59:02 +02:00
Tom Stellard 475a496cb9 Update openmp-rpm test to pass LDFLAGS
This is needed after -fno-openmp-implicit-rpath was moved from CFLAGS
to LDFLAGS.
2022-05-31 11:36:53 -07:00
Jesus Checa Hidalgo 22c49c99fc tests: ppc64le-long-double
Split the test in two. For Fedora CI we run on x86_64 emulating
ppc64le using qemu+mock. For RHEL/CentOS run natively.
2022-05-27 09:24:34 +02:00
Tom Stellard 27327ff4a8 Use the ieee128 format for long double on ppc64le
gcc switched to ieee128 as the default in Fedora >=36, so clang needs to do
this to maintain ABI compatibility.
2022-05-25 08:48:45 +00:00
Tom Stellard a0406226b5 Add missing dependency to the fedora-flags test
Other packages that use this test won't have clang pre-installed, so we
need to explicitly add the dependency.
2022-05-25 02:01:05 +00:00
Jesus Checa Hidalgo 5f6483f6cd tests: Update extra repos in different distros.
* epel removed from RHEL-7
* CRB split in RHEL 8/9 vs CentOS due to different naming
2022-05-23 21:00:05 +00:00
Jesus Checa Hidalgo 4cce509493 tests: llvm-test-suite: Add missing ninja-build requirement 2022-05-19 15:20:31 +00:00
Tom Stellard 906570b432 Add test for building an rpm with -fopenmp 2022-05-19 03:03:36 +00:00
Jesus Checa Hidalgo 4ae8585417 tests: fix lld unavailability in ppc64 for toolchains tests 2022-05-04 14:16:56 +00:00
Jesus Checa Hidalgo a52939e013 tests: check that clang uses dwarfv4 by default 2022-05-03 14:22:33 +02:00
Mystro256 c00fbc715c Add patch to allow packaging rocm-hip
ROCm's HIP could not be packaged in Fedora due to a bug, which was fixed in
trunk. Instead of waiting for llvm 15, cherry-pick the fix.
2022-05-03 08:58:43 +00:00
Jesus Checa Hidalgo 7e17ee7279 tests: add llvm-toolset-14.0 requirements to tests and plans 2022-04-22 10:59:57 +00:00
Tom Stellard dc76251478 Update DWARF4 patch to fix Driver/clang-g-opts.c 2022-03-29 23:21:25 +00:00
sergesanspaille e61ef837ae Upload new sources 2022-03-29 18:41:27 +02:00
Timm Bäder add0accd52 Update to 14.0.0 2022-03-29 09:37:56 +02:00
Timm Bäder 822eb1d32d Remove some unneeded variables
Just move them to their only place of use.
2022-03-09 15:08:13 +01:00
Jesus Checa Hidalgo 69ffbbfd14 tests: remove llvm-toolchain test as it has been superseeded by tests/toolchains 2022-02-21 13:57:19 +01:00
Jesus Checa Hidalgo 806afe0a28 tests: fix tests/rhbz-1647130 missing clang-analyzer requirement 2022-02-21 11:05:23 +01:00
Tom Stellard eaac7c9b00 Fix some rpmlinter errors 2022-02-17 19:06:56 +00:00
Jesus Checa Hidalgo f5cc68e457 tests: toolchains: skip testing with compiler-rt in s390x 2022-02-15 18:13:09 +01:00
Jesus Checa Hidalgo 75406a880d tests: fix fmf error in tests/fedora-flags 2022-02-15 17:11:34 +00:00
Jesus Checa Hidalgo 442544ac1b tests: disable libomp plan and test in s390x 2022-02-15 17:33:53 +01:00
Jesus Checa Hidalgo 12f649bbd7 tests: Add all missing requirements for tests/toolchains 2022-02-15 17:31:12 +01:00
Jesus Checa Hidalgo 8d94b3d903 tests: test fixes for SCL-ized llvm-toolset-13 in RHEL-7 2022-02-15 17:29:50 +01:00
Serge Guelton 9e607ef75e Merge #139 `compat_build fixes for clang 13` 2022-02-15 16:25:08 +00:00
Miloš Prchlík 208be5f577 tests: on RHEL-7, throw in epel-rpm-macros to get %{build_cflags}
Unfortunately, this disqualifies the test from s390x, because there is no Epel for s390x. The test would just fail.
2022-02-15 16:21:04 +00:00
Jesus Checa Hidalgo 56439f6521 tests: fix llvm-toolchain and toolchains test requirements for centos and rhel 2022-02-15 16:14:02 +00:00