Commit graph

668 commits

Author SHA1 Message Date
Konrad Kleine
d8b121f4e0 Remove LLVM_CMAKE_DIR and LLVM_MAIN_SRC_DIR cmake config options 2024-09-02 15:45:30 +02:00
Konrad Kleine
e7577a312e enable lld project 2024-09-02 15:45:30 +02:00
Konrad Kleine
4836e0c649 Adjust download URL for tarballs to new project location 2024-09-02 15:45:30 +02:00
Konrad Kleine
31c6b8a3e2 Fix lld scriptlet naming 2024-09-02 15:45:30 +02:00
Konrad Kleine
a977a8b36b Apply lld patch 2024-09-02 15:45:30 +02:00
Konrad Kleine
316c5488a7 Integrate lld.spec into spec files 2024-09-02 15:45:30 +02:00
Konrad Kleine
627f764c2e Add lld.spec and patch file 2024-09-02 15:45:30 +02:00
Konrad Kleine
2884c8fb40 Remove patch only needed for standalone builds
This patch was only needed for standalone builds which we no longer do:

0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch
2024-09-02 15:45:30 +02:00
Tom Stellard
e35aa06353 Fix missing directory on ppc64le 2024-09-02 15:45:30 +02:00
Tom Stellard
05c4d67421 Fix libomptarget.rtl name after 72b0c11cfd267b754076dfc2908ba921c4f69ee3 2024-09-02 15:45:30 +02:00
Tom Stellard
eecdbeec91 Fix libomptarget.rtl name after 72b0c11cfd267b754076dfc2908ba921c4f69ee3 2024-09-02 15:45:30 +02:00
Tom Stellard
360173b9d6 Revert "Fix file path on all arches"
This reverts commit 0d6602437c40f2a0d2714fbaeebf3d851017c627.
2024-09-02 15:45:30 +02:00
Tom Stellard
39d366a109 Fix offload install dir 2024-09-02 15:45:30 +02:00
Tom Stellard
824de2ec69 Disable openmp tests 2024-09-02 15:45:30 +02:00
Tom Stellard
f447620e04 Run test on aarch64 that passes now 2024-09-02 15:45:30 +02:00
Tom Stellard
7eb753fbfa Add new offload runtime 2024-09-02 15:45:30 +02:00
Tom Stellard
271e096f43 Fix file path on all arches 2024-09-02 15:45:30 +02:00
Tom Stellard
ff4a7f3bed Update libomp xfails on ppc64le 2024-09-02 15:45:30 +02:00
Tom Stellard
0ef81ed402 Fix missing file on i686 2024-09-02 15:45:30 +02:00
Tom Stellard
b35f3edeaf Update libomp xfails on s390x 2024-09-02 15:45:30 +02:00
Tom Stellard
78e75c3e5a Rebase 0001-Restore-fopenmp-implicit-rpath-disabled-by-default.patch
And only apply it on f38, it's not needed on newer Fedoras.
2024-09-02 15:45:30 +02:00
Tom Stellard
3ab7b31fc7 Install clang config file on f38 2024-09-02 15:45:30 +02:00
Tom Stellard
b3de0f3616 Fix OpenMP patch 2024-09-02 15:45:30 +02:00
Tom Stellard
97ee1828d7 Sync with clang upstream-snapshot branch 2024-09-02 15:45:30 +02:00
Tom Stellard
e30affbe86 Sync with openmp upstream-snapshot branch 2024-09-02 15:45:30 +02:00
Tom Stellard
6d22898f33 Sync with llvm upstream-snapshot branch 2024-09-02 15:45:30 +02:00
Tom Stellard
2b0d1d8ae7 Drop myst_parser patches
These were obsoleted by 7d55a3ba92368be55b392c20d623fde6ac82d86d.
2024-09-02 15:45:29 +02:00
Konrad Kleine
50c0f35403 Remove DWARF4 patch 2024-09-02 15:45:17 +02:00
Nikita Popov
d0e5867bd7 Restore DWARF 4 config file for Fedora 38
This is a port of 74b8bb0397
2024-09-02 15:45:17 +02:00
Nikita Popov
32c3bcc36f Only use cet-report=error on x86_64
i386 CET support has been removed from glibc. Only check it for
x86_64.

This is a cherry-pick of fefb87d583
2024-09-02 15:45:17 +02:00
Konrad Kleine
ab194f104b merge llvm, clang, compiler-rt and libomp repos
* %check: export LD_LIBRARY_PATH because runtimes use external cmake projects that wouldn't find libclang++.so
* %check: use LLVM's LIT_XFAIL to mark tests that are expected to fail and don't just delete them
* clang: bring over *.patch files
* clang: remove build requires tags from clang package that are already defined by main llvm package
* clang: remove duplicates found in llvm globals and use %{pkg_datadir} instead of %{install_datadir}
* clang: rename and use pkg_name -> pkg_name_clang
* clang: use %{pkg_name_clang} instead of %{name}
* compiler-rt and libomp: wrap in %if %{without compat_build}
* libomp: also build libomp for s390x (See https://github.com/llvm/llvm-project/pull/66081)
* libomp: exclude libomp-devel on s390x just like libomp itself
* libomp: introduce pkg_name_libomp and cleanup the globals
* libomp: remove gdb-plugin (NEED TO CONFIRM IF THIS IS REALLY TRUE)
* libomp: filter out flaky libomp test: ompt/teams/distribute_dispatch.c
* llvm: add BuildRequires: graphviz to llvm-doc
* llvm: use %{pkg_name_llvm} instead of %{name}
* make: added temporary Makefile so I can more easily run srpm or rpm builds locally
* make: Added local-tmt-vm target (not really useful yet)
* rpm: for non-RHEL add prefix like "Jan 05 16:17:06" to every log line This should help in finding out how long things take to build/install/...
* rpm: fully specify %files for top-level packages
* rpm: make all packages fully qualified
* rpm: obsolete llvm-snapshot-builder
* rpm: remove BuildRequires: python3-lit because we have it in-tree
* rpm: remove BuildRequires: tags for clang and llvm specifics as we're building in-tree
* rpm: rename %llvm_srcdir -> %srcdir_llvm
* rpm: rename %pkg_name -> %pkg_name_llvm
* rpm: use full qualified name in %description
* rpm: use region comments in spec file to group by package. This allows editors to fold text to get a better overview
* rpmlint: update rc file to reflect clang and compiler-rt (libomp has no rpmlint rc file)
* use python-lit from within tree
2024-09-02 15:45:17 +02:00
Tom Stellard
c322494fa6 Sync with rawhide 2024-09-02 15:45:17 +02:00
Tom Stellard
6635237142 Revert "Fix a test failure on s390x"
This reverts commit 9a451905d0.

A fix has been merged upstream.
2024-09-02 15:45:17 +02:00
Tom Stellard
8ad022d253 Fix a test failure on s390x 2024-09-02 15:45:17 +02:00
Tom Stellard
4da55b8bb6 Revert "Add JITLink patch to fix clang failures on aarch64 with libgcc-13"
This reverts commit 34236f71a5.

This patch has been committed upstream.
2024-09-02 15:45:17 +02:00
Tom Stellard
693269178f Add JITLink patch to fix clang failures on aarch64 with libgcc-13 2024-09-02 15:45:17 +02:00
Tom Stellard
de1386c84e Remove another upstreamed patch 2024-09-02 15:45:17 +02:00
Tom Stellard
e41f905818 Remove patch applied upstream 2024-09-02 15:45:17 +02:00
Konrad Kleine
ccb61b8660 Add missing patch files 2024-09-02 15:45:17 +02:00
Konrad Kleine
ab79dddfdb Manually add https://reviews.llvm.org/D137890 2024-09-02 15:45:17 +02:00
Konrad Kleine
f60f1961ea Adapt to standalone third-party dir 2024-09-02 15:45:17 +02:00
Konrad Kleine
630ee401af Compiles and installs again 2024-09-02 15:45:16 +02:00
Konrad Kleine
e9164d278f Test without some patches 2024-09-02 15:44:45 +02:00
Konrad Kleine
132731e88c Move globals down for them to be expanded correctly 2024-09-02 15:44:26 +02:00
Konrad Kleine
3e0095a8cf Rebase onto pagure/main 2024-09-02 15:44:25 +02:00
Konrad Kleine
739ec228d0 Revert "Try to lock llvm* and clang* packages so that we don't install LLVM from a previous copr build"
This reverts commit 072ee8575f.
2024-09-02 15:44:13 +02:00
Konrad Kleine
c66e428a64 Try to lock llvm* and clang* packages so that we don't install LLVM from a previous copr build 2024-09-02 15:44:13 +02:00
Konrad Kleine
2112e4bb81 Patch renewal from rebased llvm-project pagure/streamline branch 2024-09-02 15:44:11 +02:00
Tom Stellard
ac7a6d72a5 Revert "Add a patch from main branch to fix some lit tests"
This reverts commit 3debb1bf64.
2024-09-02 15:43:59 +02:00
Tom Stellard
510fde3cc2 Add a patch from main branch to fix some lit tests 2024-09-02 15:43:59 +02:00