Commit graph

555 commits

Author SHA1 Message Date
Konrad Kleine
cce72a0142 Move globals down for them to be expanded correctly 2022-10-06 09:25:44 +02:00
Konrad Kleine
6a804f55b6 Fixup: clang->cmake 2022-10-05 23:28:16 +02:00
Konrad Kleine
a49b6d061b use llvm+cmake tarballs instead of big llvm-project and close unclosed %if 2022-10-05 23:21:27 +02:00
Konrad Kleine
758ea3674d Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
* upstream/rawhide:
  Remove abi_revision handling
  Drop GetHostTriple export again
  Export GetHostTriple.cmake
  Migrate tests to tests/llvm repo
  Fix compat build symlinks
  Update to LLVM 15.0.0
2022-10-05 22:16:53 +02:00
Konrad Kleine
2bb38a92b7 Rebase onto pagure/main 2022-10-05 22:07:21 +02:00
Nikita Popov
0c4aa4a13c Remove abi_revision handling
We now longer ship rcs outside of copr, so this is no needed anymore.
2022-09-29 10:47:28 +00:00
Nikita Popov
6c4af9abec Drop GetHostTriple export again
This doesn't work by itself due to the config.guess dependency,
and I'm not longer sure this is the right approach. The runtimes
build should really be getting this from the exported
LLVM_HOST_TRIPLE variable.
2022-09-29 10:20:54 +02:00
Nikita Popov
aec99db3ed Export GetHostTriple.cmake 2022-09-27 12:57:56 +02:00
Jesus Checa Hidalgo
2ce66b7035 Migrate tests to tests/llvm repo 2022-09-19 14:28:26 +00:00
Nikita Popov
5f0a6388b3 Fix compat build symlinks
Backport from llvm14 package.
2022-09-13 18:04:18 +02:00
Konrad Kleine
f1c4e870ad Revert "Try to lock llvm* and clang* packages so that we don't install LLVM from a previous copr build"
This reverts commit 072ee8575f.
2022-09-06 14:53:04 +02:00
Konrad Kleine
072ee8575f Try to lock llvm* and clang* packages so that we don't install LLVM from a previous copr build 2022-09-06 14:24:31 +02:00
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
Nikita Popov
81e2995efc Update to LLVM 15.0.0 2022-09-06 10:01:30 +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
Konrad Kleine
71e6437042 Fixup 2022-06-13 17:46:11 +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
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