Commit Graph

305 Commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
c4482a5a65 Update to LLVM 17.0.0 RC4 2023-09-10 08:44:05 -03:00
Tom Stellard
4d5309efc8 Drop dwarf4 patch in favor of config files 2023-09-06 23:14:34 +00:00
Tulio Magno Quites Machado Filho
e81bc4ecf9 Update to LLVM 17.0.0 RC3 2023-08-24 09:49:02 -03:00
Tulio Magno Quites Machado Filho
a399e92163 Update to LLVM 17.0.0 RC2 2023-08-23 14:24:17 -03:00
Tulio Magno Quites Machado Filho
b3669793eb Update to LLVM 17.0.0 RC 1
This is also a squashed merge commit from upstream-snapshot (commit ID
13b971d3fcbf82d2) into rawhide whose most important commits from
upstream-snapshot are:

Konrad Kleine (57):
      Prepare for snapshot build
      Fix patches by using them from the streamline branch
      Fixed E: specfile-error error: line 491: Unclosed %if
      Fix error: Bad file: /var/lib/copr-rpmbuild/workspace/workdir-0qjlioil/srcdir/0007-cmake-Allow-shared-li
braries-to-customize-the-soname.patch: No such file or directory
      Must have forgotten this newly added 'clang_version' global
      Disable LTO for anything older than Fedora 34
      Add recommonmark to build deps
      Use new llvm_snashot_changelog_entry macro
      Use llvm_snapshot_version_suffix
      Fix RPM packaging bug:
      Default to DWARFv4
      Revert "Default to DWARFv4"
      Compile with DWARFv4
      Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
      Try to address https://reviews.llvm.org/D119199
      Update patches
      Fixup patches
      Patches rebased
      Separate clang-tools-extra patches
      Try to fix clang build
      Rebased patches to fix issue with patch
      Make %autopatch verbose
      Also rename patch tag
      Avoid ld error
      Rebased patches
      Rebased clang patches
      Rebased clang-tools-extra patches
      First try to default to DWARF4 by default
      Produce DWARF4 by default
      Added pgo_instrumented_build conditional
      Make clang use the llvm-snapshot-builder
      Use %{llvm_snapshot_extra_source_tags} macro
      Fix %changelog not in descending chronological order
      Rebase patches
      Bring back clang
      Rebased patches and added third-party and cmake sources
      Adjust to https://reviews.llvm.org/D130586
      Disable LTO
      Manually apply https://reviews.llvm.org/D141581
      adjust /lib/ to /%{_lib}/
      Remove third party stuff and use gtest patch
      Rebased D138472
      Trace configure output
      Rebase D138472
      Assist find_package(LLVMGTest by setting hint dir to LLVM_CMAKE_DIR
      Merge remote-tracking branch 'origin/rawhide' into upstream-snapshot
      Add back 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch
      Fixup 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch
      Rebased 0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch
      Rebased 0001-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
      Dropping 0001-Take-into-account-Fedora-Specific-install-dir-for-li.patch
      D142506 landed already
      Fix for the IEEE 128-bit fp error
      Fix RPM install of includes
      Merge remote-tracking branch 'origin/rawhide' into upstream-snapshot
      Remove already landed patches D141581 and D143736
      Rebase 0001-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch

Nikita Popov (7):
      Rebase downstream patches
      Rebase clang-tools-extra patches
      Add clang-offload-packager to clang_tools_binaries
      Rebase downstream patches
      Rebase LLVMHello patch
      Remove fno-openmp-implicit-rpath patches
      Restore fno-openmp-implicit-rpath patches

Tom Stellard (25):
      Revert patches that added LLVMHello dependency to clang-tools-extra tests
      Remove accidentally committed changes from previous commit
      Add clang-linker-wrapper and clang-pseudo binaries
      Add test for building an rpm with -fopenmp
      Add a smaller patch for fixing clang-tools-extra standalone build
      Update test name
      Add link to upstream patch for clang-tools-extra
      Update DWARF-4 patch to fix a test failure
      Rebase patch
      Emit DWARF4 by default
      Fix test after switch to DWARF4 default
      Fix dwarf test again
      Add workaround for build failure on i386/f36
      Remove accidentally committed change
      Add back -fno-openmp-implicit-rpath option
      Fix patch
      Remove patch that was committed upstream
      Update  -fno-openmp-implicit-rpath patches
      Drop openmp changes from patch
      Add fix for test failures on AArch64/f38+rawhide
      Revert "Add fix for test failures on AArch64/f38+rawhide"
      Update OpenMP rpath patch
      copr: Install llvm-snapshot-builder from the local COPR project
      Remove %clang_resource_dir_readonly macro
      Move clang-resource-dir to /usr/lib

sergesanspaille (5):
      Rebased clang-tools-extra patches
      Rebased clang-tools-extra patches
      rebase downstream patches
      Rebase downstream patches
      Rebase downstream patch
2023-08-11 10:18:00 -03:00
Tulio Magno Quites Machado Filho
074a2a75fb Remove pkg_bindir and pkg_libdir
1. Remove unused macro pkg_bindir.
2. Replace pkg_libdir with install_libdir.
2023-07-31 21:44:41 -03:00
Tulio Magno Quites Machado Filho
fff5077f10 Fix compat build without tests and deduplicate BuildRequires
1. Set LLVM_INCLUDE_TESTS:BOOL=OFF in order to build clang without
   requiring googletest as we do not run the tests anyway.

2. Backport a patch from upstream that fixes the generation
   of *.exports.

3. Deduplicate a few BuildRequires entries.
2023-07-28 16:21:21 -03:00
Fedora Release Engineering
419d05e65c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 15:44:40 +00:00
Tulio Magno Quites Machado Filho
461ef15b37 Fix rhbz#2221585
Module imp got removed from Python 3.12.

Source: https://docs.python.org/3/library/imp.html
2023-07-13 10:05:11 -03:00
Tulio Magno Quites Machado Filho
30d8eed669 Update to LLVM 16.0.6 2023-06-16 10:14:53 -03:00
Python Maint
ff33483290 Rebuilt for Python 3.12 2023-06-16 11:20:52 +02:00
Nikita Popov
7c3f9440e3 Use llvm-cmake-utils package 2023-06-15 17:05:45 +02:00
Python Maint
ec9fa021a9 Rebuilt for Python 3.12 2023-06-15 14:41:12 +02:00
Tulio Magno Quites Machado Filho
efb4b42e9b Update to LLVM 16.0.5 2023-06-06 03:00:43 -03:00
Yaakov Selkowitz
b534a5d607 Avoid recommonmark dependency in RHEL builds
python-recommonmark and its dependencies are unwanted in RHEL.  This is
based on changes already in c9s.
2023-05-22 15:57:24 +00:00
Tulio Magno Quites Machado Filho
92d3782fb4 Update to LLVM 16.0.4 2023-05-19 13:54:10 -03:00
Tulio Magno Quites Machado Filho
22846ba915 Remove patch for ppc64le triple
Prefer the python-lit patch from https://reviews.llvm.org/D149746
2023-05-15 17:11:48 -03:00
Tulio Magno Quites Machado Filho
90664d8d6a Update to LLVM 16.0.3 2023-05-10 07:13:20 -03:00
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
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
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
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