Commit Graph

397 Commits

Author SHA1 Message Date
Konrad Kleine
0f9040cc95 Assist find_package(LLVMGTest by setting hint dir to LLVM_CMAKE_DIR 2023-02-16 16:24:14 -03:00
Konrad Kleine
7ac8248795 Remove third party stuff and use gtest patch 2023-02-16 16:24:14 -03:00
Konrad Kleine
0d77a0c30a adjust /lib/ to /%{_lib}/
fixes this error:

```
mv: cannot stat '/builddir/build/BUILDROOT/clang-16.0.0~pre20230122.g6aaac4c144572d-1.fc36.x86_64/usr/lib/libear': No such file or directory
mv: cannot stat '/builddir/build/BUILDROOT/clang-16.0.0~pre20230122.g6aaac4c144572d-1.fc36.x86_64/usr/lib/libscanbuild': No such file or directory
```
2023-02-16 16:24:14 -03:00
Konrad Kleine
1919c1aecc Manually apply https://reviews.llvm.org/D141581 2023-02-16 16:24:14 -03:00
Tulio Magno Quites Machado Filho
e1ea575c35 Update to LLVM 16.0.0 RC1 2023-02-16 16:24:14 -03:00
Tulio Magno Quites Machado Filho
809237e79b Adopt SPDX identifiers in license
Also make it clear that Apache 2.0 with LLVM exceptions was adopted in
2019.
2023-01-19 15:48:40 -03:00
Fedora Release Engineering
4d3ffb7f8b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 23:56:02 +00:00
Nikita Popov
26eb3b048d Update to LLVM 15.0.7 2023-01-12 16:25:10 +01:00
Nikita Popov
d59ff31f26 Fix resource-filesystem ownership conflict
Fix rbhz#2100122.
2023-01-12 16:20:03 +01:00
Tom Stellard
c54c083a33 Omit frame pointers when building 2023-01-12 15:17:53 +00:00
Timm Bäder
3fcf35e97c Pass -vv to lit
So it prints all the executed test cases.
2023-01-11 16:05:58 +01:00
Nikita Popov
573860f707 Remove abi_revision handling
We no longer ship RCs in Fedora, so this is no longer necessary.
This was already done for the llvm package, do it for clang as well.
2023-01-04 15:30:20 +01:00
Nikita Popov
be819276e8 Add clang-devel dep to python3-clang
python3-clang requires libclang.so, which is part of clang-devel.
2022-12-21 16:37:30 +01:00
Yaakov Selkowitz
a969e612e9 Use -mabi=ieeelongdouble in ELN 2022-12-21 05:36:08 +00:00
Nikita Popov
daa332df14 Backport patches for ucrt64 toolchain detection 2022-12-19 16:46:42 +01:00
Jan200101
64ea1d4d0f
explicitly define directories for compat builds 2022-12-06 10:16:23 +01:00
Nikita Popov
e132ea80d7 Update to LLVM 15.0.6 2022-12-05 13:05:14 +01:00
Jesus Checa Hidalgo
5af8b98903 build-gating.fmf: add brp-llvm-compile-lto-elf test from redhat-rpm-config to gating test plan 2022-11-28 11:25:35 +00:00
Nikita Popov
71aa74debd Build test deps separately to avoid LD_LIBRARY_PATH interference
Otherwise invocations of host clang will use the newly built
libraries, which will use a non-existent resource directory, and
thus cause headers like stddef.h not to be found.
2022-11-04 16:04:45 +01:00
Nikita Popov
abec3da8de Update to LLVM 15.0.4 2022-11-03 17:13:33 +01:00
Nikita Popov
54612cbb68 Enable ieeelongdouble for ppc64le, fix rhbz#2136099 2022-10-24 11:18:12 +02:00
Nikita Popov
4e04207871 Default to non-pie, fix rhbz#2134146 2022-10-13 09:59:39 +02:00
sergesanspaille
3169a3253a Package clang-tidy headers in clang-tools-extra-devel, fix rhbz#2123479 2022-10-05 22:20:09 +02:00
Nikita Popov
14e25ec29a Add patch for inline builtins with asm label 2022-09-22 10:12:07 +02:00
sergesanspaille
df64681647 Improve integration of llvm's libunwind 2022-09-21 11:15:09 +02:00
Jesus Checa Hidalgo
f15eec4d81 Migrate tests to tests/clang repo 2022-09-19 08:11:18 +00:00
Nikita Popov
431a66ade2 Add more test updates
Some more changes missed in the previous commit.
2022-09-14 12:35:23 +02:00
Nikita Popov
0b6571588e Add more test updates to patch 2022-09-14 11:54:16 +02:00
Nikita Popov
668f77d207 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-14 09:43:24 +02:00
Nikita Popov
3389ce3d4f 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:11:57 +02:00
Nikita Popov
c55124d032 Fix i686 build 2022-09-07 17:12:29 +02:00
Nikita Popov
71bc065af9 Update to LLVM 15.0.0 2022-09-07 09:28:12 +02:00
sergesanspaille
7808ecbcca Add a Recommends on libatomic, see rhbz#2118592 2022-08-29 11:19:34 +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