Commit graph

631 commits

Author SHA1 Message Date
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
Jesus Checa Hidalgo
18f0d9a072 tests: do not use ninja-build for integration testsuite
ninja-build is distributed from extra repos such as epel.
Unfortunately this is not available in all supported archs
which makes it impossible to test with ninja-build.
2022-05-04 15:50:16 +02:00
Serge Guelton
3cf4c8d386 Merge #142 tests: disable lld in llvm-integration-testsuite when arch is ppc64 2022-05-03 08:56:06 +00:00
Jesus Checa Hidalgo
c07be4ccdf tests: disable lld in llvm-integration-testsuite when arch is ppc64 2022-04-29 16:55:48 +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
Jesus Checa Hidalgo
965c7fbf2c tests: add llvm-toolset-14.0 requirements to tests and plans 2022-04-22 13:04:50 +02:00
sergesanspaille
6cb4032c02 Rebase downstream patches 2022-04-11 14:05:29 +02:00
sergesanspaille
a6af40e6f6 Upload new sources 2022-03-29 10:04:53 +02:00
Timm Bäder
314c08660d Update to 14.0.0 2022-03-29 07:32:31 +00:00
Miloš Prchlík
77fe5f8af7 tests: fix libLLVM size threshold
Documentation says the threshold is 150MB, but the actual value was 200MB. Fixing this with a correct value, documentation (and previous commit message) are right here.

Thanks to vkadlcik@redhat.com for spotting the issue.
2022-03-29 07:27:29 +00:00
Miloš Prchlík
c3eaca601e tests: ninja is not ninja on RHEL7/ppc64/Epel, but cmake knows
By using `cmake --build` instead of calling `ninja` directly, test
should run well on ppc64 even when `ninja-build` is all we have.
2022-03-04 10:44:16 +01:00
Miloš Prchlík
b28a786b94 tests: bump libLLVM size threshold
The library size can vary a bit, 100MB is sort of correct, but e.g. RHSCL version is 106MB. Bumping the size threshold to 150MB, it should b still safely within the original bug report of 2GB.
2022-03-03 10:27:02 +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
8169b59f2a Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
* upstream/rawhide:
  tests: remove unavailable requirements for s390x
2022-02-14 18:09:59 +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
Jesus Checa Hidalgo
4c0fee8654 tests: remove unavailable requirements for s390x
lld and libomp are not shipped in s390x, hence causing provisioning
prepare step to fail as they are required in llvm-integration-testsuite.
The test should still run fine without those packages.
2022-02-09 18:22:40 +01:00
Miloš Prchlík
e6d1a04f09 tests: CRB in CentOS has different name 2022-02-03 14:33:55 +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