Commit Graph

700 Commits

Author SHA1 Message Date
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 9a451905d0b9bba85a6f737e27a901c01c4528c0.

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 34236f71a58b01dde121dd94d0d8ec7d69e8d158.

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 072ee8575fb1501b906d95d3a3749d22a695ef92.
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 3debb1bf64734b1712c7ce26c0abb7f4bf2141e3.
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
Tom Stellard
782f58c76f Revert "Add patch to fix some lit test failures"
This reverts commit 941133aae9377418760cc1f7e86bc176b79b93dc.

This patch is not present in the nightly tarballs we use for snapshot
builds.
2024-09-02 15:43:59 +02:00
Tom Stellard
155c43c335 Add patch to fix some lit test failures 2024-09-02 15:43:59 +02:00
Konrad Kleine
aa18d7c370 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 2024-09-02 15:43:59 +02:00
sergesanspaille
874643a49b Rebase downstream patches 2024-09-02 15:43:58 +02:00
Konrad Kleine
e6cffe5cf2 Revert "Added 0004-PATCH-clang-Revert-cmake-Don-t-install-plugins-used-.patch"
This reverts commit d2a9cee4212bae47ed66999e608f73dfc0087e92.
2024-09-02 15:43:47 +02:00
Konrad Kleine
b3a8bff369 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)
2024-09-02 15:43:47 +02:00
Konrad Kleine
b8f6841e87 Rebased patched on pagure/streamline 2024-09-02 15:43:46 +02:00
Konrad Kleine
a183e0b7c9 Only package cmake-devel when building a snapshot package and when NOT building in compat mode 2024-09-02 15:43:36 +02:00
Konrad Kleine
40998353e9 Use llvm_snapshot_version_suffix 2024-09-02 15:43:36 +02:00
Konrad Kleine
e03138764b Rebased with new patches from rawhide that weren't yet in the streamline branch 2024-09-02 15:43:34 +02:00
Konrad Kleine
1f02e1af7d Prepare for snapshot build
Increase verbosity for %autosetup
Modified patch so it cleanly applies
Renaming man pages is no longer needed

Fix this error:

 mv /builddir/build/BUILDROOT/llvm-13.0.0~pre20210427.gd122d80b3d1c3f-1.fc35.x86_64/usr/share/man/man1/clang-tblgen.1 /builddir/build/BUILDROOT/llvm-13.0.0~pre20210427.gd122d80b3d1c3f-1.fc35.x86_64/usr/share/man/man1/lldb-tblgen.1 /builddir/build/BUILDROOT/llvm-13.0.0~pre20210427.gd122d80b3d1c3f-1.fc35.x86_64/usr/share/man/man1/llvm-tblgen.1 /builddir/build/BUILDROOT/llvm-13.0.0~pre20210427.gd122d80b3d1c3f-1.fc35.x86_64/usr/share/man/man1/mlir-tblgen.1 /builddir/build/BUILDROOT/llvm-13.0.0~pre20210427.gd122d80b3d1c3f-1.fc35.x86_64/usr/share/man/man1/tblgen.1 /builddir/build/BUILDROOT/llvm-13.0.0~pre20210427.gd122d80b3d1c3f-1.fc35.x86_64/usr/share/man/man1/llvm-tblgen.1
mv: target '/builddir/build/BUILDROOT/llvm-13.0.0~pre20210427.gd122d80b3d1c3f-1.fc35.x86_64/usr/share/man/man1/llvm-tblgen.1' is not a directory

Add entry for changelog when building a snapshot
Reset 0001-PATCH-llvm-Make-source-interleave-prefix-test-case-c.patch because it is not applicable to LLVM 12
Moved BuildRequires: python3-psutil out in PR
See https://src.fedoraproject.org/rpms/llvm/pull-request/91
Make download path for snapshot sources-easily adjustable
Added cmake subpackage with shared cmake files
Install cmake files into /usr/lib64/cmake/llvm with the llvm-devel pkg
2024-09-02 15:41:54 +02:00
Kefu Chai
3a3e3ad673 change the date of a previous changelog entry
to address following error:

```
error: %changelog not in descending chronological order
```
when preparing the rpm, rpm warns at seeing the changelog entry not
in descending chronological order. so "fix" it.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2024-08-31 10:40:02 +08:00
Fedora Release Engineering
986ef8c346 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 15:51:55 +00:00
Jesus Checa Hidalgo
4120a277ba Update to LLVM 18.1.8 2024-07-11 12:57:01 +02:00
Yaakov Selkowitz
ebe30abc30 Add subpackage llvm-toolset
Based on c10s:
7e18b11df1
2024-07-04 16:29:05 -04:00
Tom Stellard
126b0af905 Add missing sources 2024-06-07 23:28:18 +00:00
Tom Stellard
46407036e6 18.1.7 Release 2024-06-07 09:38:06 +00:00
Tom Stellard
596e1d9840 gating: Add more required tests
These two tests both passed in the most recent update:
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a497f02462

The timeouts were also increased recently for the rpmdeplint test, so
it should pass now with bigger updates:
https://github.com/fedora-ci/rpmdeplint-pipeline/issues/43
2024-05-31 20:26:59 +00:00