Nikita Popov
1d1565d4bd
Remove six removal
...
This is already gone upstream since:
5ed6d99a83
2024-08-02 10:30:58 +00:00
Nikita Popov
12e29a89d4
Move post/postun out of install.spec
...
These start new sections and the following code is no longer
executed as part of %install.
2024-08-02 10:26:55 +00:00
Nikita Popov
494fc9050d
There is also an unprefixed llvm-config in the prefixed dir
2024-08-01 15:17:00 +00:00
Nikita Popov
18a2915295
More manpage fixes
2024-08-01 15:17:00 +00:00
Nikita Popov
cb2a64838a
Fix some removals
2024-08-01 15:17:00 +00:00
Nikita Popov
d8d29f05f2
Remove incorrect compiler-rt conditional
2024-08-01 15:17:00 +00:00
Nikita Popov
30cfa100b5
Fix libomp libdir
2024-08-01 15:17:00 +00:00
Nikita Popov
653d3f17d2
Move llvm-config handling
2024-08-01 15:17:00 +00:00
Nikita Popov
d4a2346d82
Fix binary symlinks
2024-08-01 15:17:00 +00:00
Nikita Popov
323c072a4c
Fix name of macros file
2024-08-01 15:17:00 +00:00
Nikita Popov
18c2b72a76
Fix inverted resource dir condition
2024-08-01 15:17:00 +00:00
Nikita Popov
6bbd0d3904
Avoid duplicate llvm-config files
2024-08-01 15:17:00 +00:00
Nikita Popov
da4426fa79
Fix manpages
2024-08-01 15:17:00 +00:00
Nikita Popov
1f1d53ccfe
Fix prep
2024-08-01 15:17:00 +00:00
Nikita Popov
ad4939ffd0
Fix some paths
2024-08-01 15:17:00 +00:00
Nikita Popov
b9b6a9b62c
Don't try to create versioned symlinks multiple times
2024-08-01 15:17:00 +00:00
Nikita Popov
38a1e8a0dd
Fix build_libddir
2024-08-01 15:17:00 +00:00
Nikita Popov
06529b4e5c
Misc fixes and cleanup
2024-08-01 15:17:00 +00:00
Nikita Popov
4b52059c16
Add libomp compat package support
...
This is not part of current rawhide sources, but based on libomp17
instead.
2024-08-01 15:17:00 +00:00
Nikita Popov
12705645df
Port compiler-rt changes
...
From: f0ee285ff1
2024-08-01 15:17:00 +00:00
Nikita Popov
2d1a77d42a
Add versioned macros
...
From: 1382930328
2024-08-01 15:17:00 +00:00
Nikita Popov
56b99b7123
Port clang changes
...
From: bec3936967
2024-08-01 15:17:00 +00:00
Nikita Popov
c0169e2abf
Port llvm changes
...
From: d5ddbea65f
2024-08-01 15:17:00 +00:00
Nikita Popov
60f6647ec6
Remove _smp_mflags override on ppc64le
...
Using a fixed -j argument is pretty dubious and may have the
opposite of the desired effect. E.g. on a recent copr build I
see ppc64le having 5 cpus, so this actually increases the level
of parallelism (and oversubscribes...) rather than decreasing.
I don't think we have evidence that this particular workaround is
still needed, so drop it.
2024-07-31 16:51:22 +02:00
Nikita Popov
72591dcbcb
Disable python-lit and lldb for compat builds
2024-07-30 16:14:11 +00:00
Nikita Popov
26a4e937ba
Add llvm-ctxprof-util to file list
...
Added in https://github.com/llvm/llvm-project/pull/100379 .
2024-07-29 09:30:27 +02:00
Nikita Popov
1959463294
Don't explicitly set LIBOMP_HAVE_VERSION_SCRIPT_FLAG
...
From: ee22a23839
2024-07-25 12:17:13 +00:00
Nikita Popov
72d4074b9f
Remove FEDORA_LLVM_LIB_SUFFIX handling
...
From: 6f21bc0e93
2024-07-25 12:15:35 +00:00
Nikita Popov
0dc012d3b6
Also fix lld-devel(major) provide
...
This is incorrect in rawhide compat rpms, fix it for the future.
2024-07-25 12:15:35 +00:00
Nikita Popov
4755acc088
Fix clang(major) provides
...
From: 46db6738a3
From: ffe2656114
2024-07-25 12:15:21 +00:00
Nikita Popov
17f99832d1
Ship hwasan_symbolize on riscv64
...
From: 19722bfcff
2024-07-25 10:52:55 +00:00
Nikita Popov
dcde15c8c6
Add compiler-rt(major) provide
...
From: 7d3d8b8866
2024-07-25 10:50:12 +00:00
Nikita Popov
62d7c09c1c
llvm-omp-device-info -> llvm-offload-device-info
...
Was renamed in https://github.com/llvm/llvm-project/pull/100309 .
2024-07-25 07:56:15 +00:00
Nikita Popov
f330f929b6
Add clang-nvlink-wrapper to file list
...
Introduced in https://github.com/llvm/llvm-project/pull/96561 .
I've added the file to clang-tools-extra, as we also put many
similar binaries like clang-linker-wrapper in there.
2024-07-24 09:26:56 +02:00
Nikita Popov
494a04c902
Move patches and sources into main spec file
...
This way all the dependencies are listed in the main spec file.
Given how small these are, I don't think there's benefit to
having them split out.
2024-07-24 07:20:03 +00:00
Nikita Popov
22b081016d
Add python3-lit to big-merge
2024-07-24 07:17:50 +00:00
Nikita Popov
90a16211f1
Update Python 3.6 patch
...
Port the changes from https://github.com/llvm/llvm-project/pull/89490
to Python 3.6.
2024-07-23 10:11:01 +02:00
Timm Bäder
b36739d243
Require llvm-libs from clang-libs
2024-07-22 18:12:00 +02:00
Nikita Popov
5b566692a4
Restore reduced debuginfo on i686
...
At least on f40 this resulted in a segfault during gdb-add-index.
2024-07-21 15:03:26 +02:00
Nikita Popov
2660590e85
Decrease debuginfo verbosity on RHEL 8
...
To see whether this fixes the OOMs. This also drops the change on
i686 for other OSs, to see whether that works or not.
On s390x this was already not effective due to a mismatch with
the condition in the cmake invocation.
2024-07-20 15:42:02 +02:00
Nikita Popov
ad51683670
Explicitly list lld libraries
...
Otherwise we end up shipping liblldb.so and liblldbIntelFeatures.so
as part of lld-libs/lld-devel.
2024-07-19 16:35:15 +00:00
Nikita Popov
110c51ea41
Patch back in Python 3.6 support on RHEL 8
2024-07-19 13:18:14 +00:00
Nikita Popov
a0cb14e0da
Fix py_byte_compile invocation
2024-07-18 13:32:25 +00:00
Nikita Popov
a3e4502e5e
Set LLVM_RAM_PER_COMPILE_JOB on RHEL 8
...
RHEL 8 uses gcc instead of clang as the host compiler, which
uses more memory.
2024-07-18 13:32:25 +00:00
Nikita Popov
fc1c88bf3d
Use Python3_EXECUTABLE instead of PYTHON_EXECUTABLE
...
Also drop the unnecessary python version variables.
If there are multiple python versions installed, the wrong one may be
picked. PYTHON_EXECUTABLE tries to avoid that problem, but the correct
way to spell this nowadays is Python3_EXECUTABLE.
2024-07-18 13:32:25 +00:00
Nikita Popov
c956fce064
Undefine __cmake_in_source_build on RHEL 8
...
So we get the same behavior as in newer versions.
2024-07-18 13:32:25 +00:00
Nikita Popov
1dd985a086
Disable marshalparser on RHEL 8
2024-07-18 13:32:25 +00:00
Nikita Popov
e4775c8385
Run check-clang-tools
...
These were lost during the big-merge migration, because they
have their own check target.
I locally confirmed that the XFAIL for i686 is still needed.
2024-07-18 10:48:26 +00:00
Nikita Popov
7b4c34d259
Filter out omp_collapse tests on ppc64le, s390x and i686
...
These tests also fail on i686: https://download.copr.fedorainfracloud.org/results/@fedora-llvm-team/llvm-snapshots-big-merge-20240717/fedora-39-i386/07740274-llvm/builder-live.log.gz
And yesterday they failed on ppc64le: https://download.copr.fedorainfracloud.org/results/@fedora-llvm-team/llvm-snapshots-big-merge-20240717/fedora-39-ppc64le/07740275-llvm/builder-live.log.gz
While the day before they succeeded on ppc64le.
As such, ignore them instead of marking them as xfail.
2024-07-18 08:55:42 +00:00
Konrad Kleine
d2c0d36f9e
Remove conditions that tried to support LLVM 18 in big-merge
2024-07-18 08:53:43 +00:00