Commit graph

813 commits

Author SHA1 Message Date
Konrad Kleine
1eb064f9ec Disable snapshots by default
Since https://github.com/fedora-llvm-team/llvm-snapshots/pull/754 all
build chroots on Copr that are used for snapshot building will have
`--with=snapshot_build` set.

This addresses the concern [1] that Copr specific conditionals are
discouraged if not forbidden in spec files.

[1]: https://src.fedoraproject.org/rpms/llvm/pull-request/301#comment-221782
2024-09-27 12:42:58 +02:00
Nikita Popov
e3e2113940 Rebase RHEL myst_parser patch 2024-09-27 09:05:22 +02:00
Nikita Popov
c631134453 Remove clang-pseudo
Removed in https://github.com/llvm/llvm-project/pull/109154.
2024-09-23 07:58:58 +00:00
Nikita Popov
95470d6a23 Remove clang-rename
Removed in https://github.com/llvm/llvm-project/pull/108988.
2024-09-19 08:32:55 +00:00
Nikita Popov
d2c0339301 Remove distribution cmake files
These files are unused, presumably left over from a previous
experiment.
2024-09-06 09:42:09 +02:00
Nikita Popov
baa5cfe849 Rebase RHEL myst_parser patch
After 18cf14efe3.
2024-09-04 13:14:42 +00:00
Nikita Popov
dc5deb3f75 Fix libscanbuild/libear location
https://github.com/llvm/llvm-project/pull/106612 moved these
from lib64 to lib, so look for them there.
2024-09-02 08:01:03 +00:00
Nikita Popov
39b685720e Add llvm-cgdata man page to file list 2024-08-29 10:42:42 +02:00
Nikita Popov
4049627277 Add llvm-cgdata binary
It was introduced in https://github.com/llvm/llvm-project/pull/101461.
2024-08-21 09:39:26 +02:00
Nikita Popov
1fc904f40d Add support for bundle_compat_lib 2024-08-15 09:38:47 +00:00
Nikita Popov
e04bd2a7c5 Add compiler-rt patch for RHEL 8 page sizes
RHEL 8 uses different page sizes, and we need to patch the CFI
implementation to use those.
2024-08-14 10:15:15 +00:00
Nikita Popov
6132ff48d8 Disable LLVM_UNREACHABLE_OPTIMIZE
This was needed at some point to prevent an assertion failure,
but shouldn't be relevant anymore.
2024-08-12 07:23:58 +00:00
Nikita Popov
f07757cb50 Remove unnecessary Requires on python3-six
python3.12-six is not available on RHEL 8, so this breaks installation
of the package.

The dependency is no longer needed since:
5ed6d99a83
2024-08-08 09:15:13 +02:00
Nikita Popov
6bae4bb194 Add python-lit, remove patch, change obsoletes version 2024-08-06 09:00:55 +00:00
Nikita Popov
7528637fbe Build against Python 3.12 on RHEL 8
The minimum Python version has been raised to 3.8 in LLVM 19.
2024-08-06 09:00:55 +00:00
Nikita Popov
1bc26ec22c Fix binary lists for compat builds
Explicitly list the lld binaries instead of packaging everything.

Also add missing versioned binaries for llvm-test.
2024-08-06 07:35:18 +00:00
Nikita Popov
7ea5877109 Move manpage logic to the right place
This was not supposed to be inside a compat build conditional.
2024-08-02 11:39:18 +00:00
Nikita Popov
b1a3301b3d Remove static lldb library removal
It doesn't seem like this is necessary. The static libraries do
not get installed.
2024-08-02 10:32:38 +00:00
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