Commit Graph

363 Commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
f6ef7a155e Update to LLVM 16.0.2 2023-04-26 11:23:02 -03:00
Nikita Popov
6afe272e01 Remove cmake source in favor of patch
Remove cmake source in favor of using LLVM_COMMON_CMAKE_UTILS
with the installed cmake files and a patch, same as is done in
some of the other subprojects.
2023-04-18 09:45:42 +02:00
Tulio Magno Quites Machado Filho
99fab00322 Update to LLVM 16.0.1 2023-04-12 22:22:34 -03:00
Jan200101
9a88eef781 Move LLVM_CMAKE_DIR to compat builds
partially reverts 1903e547f9
2023-04-12 17:49:32 +00:00
Timm Bäder
1ed3539a3f Use correct source for macros file 2023-04-12 13:57:07 +02:00
Tulio Magno Quites Machado Filho
26e1e72603 Remove pocl-related tests
pocl has been FTBFS since Fedora 38. There is a plan to orphan it.
2023-04-04 17:13:57 -03:00
Tulio Magno Quites Machado Filho
1903e547f9 Remove unnecessary patch and macro 2023-03-31 09:23:13 -03:00
Tulio Magno Quites Machado Filho
914aca4e35 Update to LLVM 16.0.0 2023-03-21 08:55:44 -03:00
Tulio Magno Quites Machado Filho
daaf0ad7ab Fix ppc64le tests with the right triple 2023-03-17 08:17:08 -03:00
Tulio Magno Quites Machado Filho
f419afebc4 Update to LLVM 16.0.0 RC4 2023-03-15 14:20:42 -03:00
Tulio Magno Quites Machado Filho
4cb2bd60c5 Fix RPM macro clang_resource_dir 2023-03-14 17:10:39 -03:00
Tulio Magno Quites Machado Filho
1bafe64a40 Update to LLVM 16.0.0 RC3 2023-03-03 10:16:01 -03:00
Tulio Magno Quites Machado Filho
af8d183fda Improve .gitignore
Replace many entries with a few entries with globs.
Add new files and directories in order to prevent unintentional changes.
2023-02-16 17:08:11 -03:00
Tulio Magno Quites Machado Filho
0d9e478352 Remove unnecessary file
This file stopped being used in 2020.
2023-02-16 17:05:53 -03:00
Tulio Magno Quites Machado Filho
e9eca7e273 Add more fixes to clang 16.0
1. Remove patches that are not necessary.
2. Re-add a patch that generates DWARF4 by default.
3. Add a patch fixing IEEE 128-bit long double tests on ppc64le.
4. Include cmake code.
5. Other minor issues.

Part of these changes are heavily based on or copied from the work from
Konrad Kleine in branch upstream-snapshot.
2023-02-16 16:24:14 -03:00
Konrad Kleine
9a7b4ac902 Add back 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch 2023-02-16 16:24:14 -03:00
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