Commit graph

487 commits

Author SHA1 Message Date
Konrad Kleine
e8dead8794 Patch renewal from rebased llvm-project pagure/streamline branch 2022-09-06 11:55:02 +02:00
Konrad Kleine
3e97332674 Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot 2022-09-06 11:31:35 +02: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
Konrad Kleine
b0495a385a Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
* upstream/rawhide:
  Release bump for new redhat-rpm-config
  14.0.5 release
  14.0.3 Release
  tests: do not use ninja-build for integration testsuite
  tests: disable lld in llvm-integration-testsuite when arch is ppc64
  Remove llvm-cmake-devel package
  Remove some unused variables
  tests: add llvm-toolset-14.0 requirements to tests and plans
  Upload new sources
  Update to 14.0.0
  tests: fix libLLVM size threshold
  tests: ninja is not ninja on RHEL7/ppc64/Epel, but cmake knows
  tests: bump libLLVM size threshold
2022-07-15 08:37:04 +02:00
Tom Stellard
8df0740450 Revert "Add a patch from main branch to fix some lit tests"
This reverts commit 3debb1bf64.
2022-06-29 01:49:44 +00:00
Tom Stellard
3debb1bf64 Add a patch from main branch to fix some lit tests 2022-06-28 19:36:28 +00:00
Tom Stellard
222bfdbbfb Revert "Add patch to fix some lit test failures"
This reverts commit 941133aae9.

This patch is not present in the nightly tarballs we use for snapshot
builds.
2022-06-28 17:17:24 +00:00
Tom Stellard
941133aae9 Add patch to fix some lit test failures 2022-06-27 23:51:05 +00: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
Konrad Kleine
92a868cdda Use %{llvm_snapshot_extra_source_tags} macro 2022-06-13 09:58:17 +02:00
Konrad Kleine
40b835b384 Make llvm use the llvm-snapshot-builder as well 2022-06-13 09:22:45 +02:00
Konrad Kleine
731a65703c Move bcond in cmake down in case we want to override stuff 2022-05-20 13:03:01 +02:00
Konrad Kleine
4da1592fc5 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 2022-05-19 22:33:57 +02:00
Konrad Kleine
bb9889e4e5 Fix if 2022-05-19 21:52:13 +02:00
Tom Stellard
4e05585009 14.0.3 Release 2022-05-19 15:21:52 +00:00
Konrad Kleine
9bb1431347 Added pgo_instrumented_build cmake args 2022-05-19 17:17:03 +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
Timm Bäder
314c08660d Update to 14.0.0 2022-03-29 07:32:31 +00:00
Konrad Kleine
12770b36d5 Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
* upstream/rawhide:
  More verbose test output
2022-03-01 11:16:05 +01:00
Konrad Kleine
407fbaf169 Workaround linker error: memory exhausted
By disabling LTO for `%ix86` architecture.

This is the error:

```
/usr/bin/ld: /tmp/lto-llvm-a7a7f6.o: error adding symbols: memory
exhausted
```
2022-03-01 11:13:53 +01:00
Konrad Kleine
46cd1763db Revert "Added 0004-PATCH-clang-Revert-cmake-Don-t-install-plugins-used-.patch"
This reverts commit d2a9cee421.
2022-02-23 10:16:22 +01:00
sergesanspaille
1b6a55b39a More verbose test output 2022-02-17 08:07:56 +01:00
Konrad Kleine
d2a9cee421 Added 0004-PATCH-clang-Revert-cmake-Don-t-install-plugins-used-.patch
By reverting this we fix these errors:

    CMake Error at /usr/lib64/cmake/llvm/AddLLVM.cmake:1821 (add_dependencies):
      The dependency target "LLVMHello" of target "check-all" does not exist.
    Call Stack (most recent call first):
      CMakeLists.txt:578 (add_lit_target)

    CMake Error at /usr/lib64/cmake/llvm/AddLLVM.cmake:1821 (add_dependencies):
      The dependency target "LLVMHello" of target "check-clang-tools" does not
      exist.
    Call Stack (most recent call first):
      /usr/lib64/cmake/llvm/AddLLVM.cmake:1842 (add_lit_target)
      /builddir/build/BUILD/clang-tools-extra-15.0.0.src/test/CMakeLists.txt:110 (add_lit_testsuite)

    CMake Error at /usr/lib64/cmake/llvm/AddLLVM.cmake:1821 (add_dependencies):
      The dependency target "LLVMHello" of target "check-clang-extra-unit" does
      not exist.
    Call Stack (most recent call first):
      /usr/lib64/cmake/llvm/AddLLVM.cmake:1877 (add_lit_target)
      /builddir/build/BUILD/clang-tools-extra-15.0.0.src/test/CMakeLists.txt:118 (add_lit_testsuites)
2022-02-16 22:08:12 +01:00
Konrad Kleine
840d68fae2 Rebased patched on pagure/streamline 2022-02-14 18:08:51 +01:00
Konrad Kleine
2529f7f335 Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
* upstream/rawhide:
  tests: CRB in CentOS has different name
  Update to LLVM 13.0.1 final
  Switch to an unconditionally applied patch
  Revert "Set _package_note_linker on arm"
  Disable CrashRecoveryTest.DumpStackCleanup test on aarch64
  Fix rpm build warning/error: absolute symlink
  Set _package_note_linker on arm
  Update to LLVM 13.0.1rc3
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
  Remove no longer necessary patch
  Update to LLVM 13.0.1rc2
2022-02-11 16:47:39 +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
859dce41f5 Default to DWARF4 2022-01-29 16:55:20 +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
Konrad Kleine
ba84e45517 Fix rpm build warning/error: absolute symlink 2022-01-28 11:41:01 +01:00
Konrad Kleine
382bccbe41 Fix Macro expanded in comment on line 586: %{_libdir}/libLLVM-%{maj_ver} 2022-01-28 11:31:09 +01:00
Konrad Kleine
c0457cffb0 Fix RPM build
File listed twice:
/usr/lib64/libLLVM-14pre20220126.gba79295c48bb36.so
2022-01-26 17:11:44 +01: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
Konrad Kleine
142d5810cf Fixup 2022-01-13 11:19:26 +01:00
Konrad Kleine
d6bea67717 fix filename 2022-01-13 11:18:11 +01: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
Konrad Kleine
10a4c506e0 Only package cmake-devel when building a snapshot package and when NOT building in compat mode 2022-01-12 13:38:40 +01:00
Konrad Kleine
7e2dca4500 Remove patch for https://reviews.llvm.org/D108332 which is already upstream 2022-01-12 13:29:01 +01:00
Konrad Kleine
c55c21ba5c Use llvm_snapshot_version_suffix 2022-01-12 13:29:01 +01:00
Konrad Kleine
6256376e3f Disable LTO for anything older than Fedora 34 2022-01-12 13:29:01 +01:00
Konrad Kleine
baf25538e5 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 2022-01-12 13:29:01 +01:00
Konrad Kleine
afd08b6916 Rebased with new patches from rawhide that weren't yet in the streamline branch 2022-01-12 13:29:00 +01:00