Konrad Kleine
d8c157e0e8
Fix paths for compiler-rt files
2024-05-15 13:25:34 +00:00
Konrad Kleine
169d5a1490
Add triple prefix to clang config files
...
See https://src.fedoraproject.org/rpms/clang/pull-request/240
2024-05-15 13:02:24 +00:00
Konrad Kleine
e49125cc6b
Remove OMP SOs
...
The SOs are no longer installed since this commit:
fa9e90f5d2
2024-05-15 11:41:32 +00:00
Konrad Kleine
b6fa18a60e
Use github source code archive
...
Instead of generating our own archive we now use the github generated
source code archive instead [1]. We now only sync on the LLVM version
and git revision via our own github releases [2].
[1]: https://docs.github.com/en/repositories/working-with-files/using-files/downloading-source-code-archives#source-code-archive-urls
[2]: https://github.com/fedora-llvm-team/llvm-snapshots/releases/tag/snapshot-version-sync
2024-05-15 11:41:32 +00:00
Konrad Kleine
7c6032138e
Fix path to files.compiler-rt.spec.inc
2024-05-13 16:35:09 +00:00
Konrad Kleine
12f6088822
Leave note on removal of all binaries when installing clang compat
2024-05-13 13:13:03 +00:00
Konrad Kleine
384964f66e
Remove package libomp-tools
...
We don't want to package it for RHEL, so we remove it here as well.
2024-05-13 13:05:51 +00:00
Konrad Kleine
2cced93770
Leave note for lld compat packaging
2024-05-13 12:51:15 +00:00
Konrad Kleine
867ae19009
Manually associate files with compiler-rt
2024-05-13 12:41:51 +00:00
Konrad Kleine
fcda275cab
Add cmake files explicitly to clang-devel
2024-05-10 12:31:45 +00:00
Konrad Kleine
9b0d37e0c6
Add *.so libraries explicitly for clang-devel
...
We had too many `*.so` libraries added to the `clang-devel` package.
Before we've added these implicitly by accident:
```
/usr/lib64/libLLVM.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/libLTO.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/libRemarks.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/libclang-cpp.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/libclang.so.19.0.0pre20240509.g943617d12ccbd3
/usr/lib64/libclang.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/liblldCOFF.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/liblldCommon.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/liblldELF.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/liblldMachO.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/liblldMinGW.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/liblldWasm.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/libomptarget.rtl.amdgpu.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/libomptarget.rtl.cuda.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/libomptarget.rtl.host.so.19.0pre20240509.g943617d12ccbd3
/usr/lib64/libomptarget.so.19.0pre20240509.g943617d12ccbd3
```
And now we're adding just these because these are the ones that used to
exist within the clang-devel package when it was still being built in
standalone mode:
```
/usr/lib64/libclang-cpp.so
/usr/lib64/libclang.so
```
2024-05-10 10:38:37 +00:00
Konrad Kleine
0997a36a3a
Add /usr/share/man/man1/extraclangtools.1.gz to clang-tools-extra
2024-05-10 06:08:45 +00:00
Konrad Kleine
8eb23462f5
List %license for each sub-package
2024-05-10 06:05:31 +00:00
Konrad Kleine
cc68af0166
Adjust URL: and License: tags
...
The default `License:`-tag on the top-level llvm package is
`Apache-2.0 WITH LLVM-exception OR NCSA` and the default `URL:`-tag is
`http://llvm.org `.
These will be inherited by all sub-packages and so we only need to list
exceptions in the spec file.
2024-05-10 05:57:26 +00:00
Konrad Kleine
3072120e09
Add libomp-tools package
...
This is to host these files which were installed but previously went
unpackaged:
```
/usr/bin/llvm-omp-device-info
/usr/bin/llvm-omp-kernel-replay
```
2024-05-10 05:56:15 +00:00
Konrad Kleine
aa332fd308
Fixup for ead79795eb
2024-05-08 17:50:31 +00:00
Konrad Kleine
53956c69e3
Manually list binaries and manpages files for the llvm package
2024-05-08 13:26:40 +00:00
Konrad Kleine
0f9eec196f
Use LICENSE.TXT file from lld directory
2024-05-08 11:08:59 +00:00
Konrad Kleine
ead79795eb
Inline %post and %postun code for llvm-devel
2024-05-08 11:04:38 +00:00
Konrad Kleine
94e85e9ee1
Explicitly name %ldconfig_scriptlets for llvm-libs package
2024-05-08 11:03:59 +00:00
Konrad Kleine
ca1873ab2a
Always build shared libs for LLD
...
We don't want to enable BUILD_SHARED_LIBS for the whole build,
but we do want to build lld libraries.
2024-05-08 08:34:28 +00:00
Konrad Kleine
abce59b8a2
Use lit from in-source
2024-05-08 08:34:18 +00:00
Konrad Kleine
dab3420c0b
Remove LLD's HTML documentation files
2024-05-08 08:34:18 +00:00
Nikita Popov
e2b1846619
Explicitly disable LLVM_APPEND_VC_REV
...
This already happens implicitly because we don't build from a git
checkout. However, currently this also breaks the build due to
https://github.com/llvm/llvm-project/pull/88164 . Avoid this by
explicitly disabling the option.
2024-05-08 12:45:11 +09:00
Konrad Kleine
e38f6773f7
Fix path
2024-05-06 14:41:14 +00:00
Konrad Kleine
46b9426cde
Remove LLVM_CMAKE_DIR and LLVM_MAIN_SRC_DIR cmake config options
2024-05-06 13:01:05 +00:00
Konrad Kleine
62d32c91f4
enable lld project
2024-05-06 13:00:42 +00:00
Konrad Kleine
86afbcc16c
Adjust download URL for tarballs to new project location
2024-05-06 10:48:11 +00:00
Konrad Kleine
ec20e04c07
Fix lld scriptlet naming
2024-05-06 09:05:40 +00:00
Konrad Kleine
e44d92df5c
More explicit %postun and %post scriptlets
2024-05-06 09:00:19 +00:00
Konrad Kleine
51efd8123c
Apply lld patch
2024-05-06 08:59:45 +00:00
Konrad Kleine
6456b314bc
Integrate lld.spec into spec files
2024-05-06 08:20:29 +00:00
Konrad Kleine
f68a60f27c
Add lld.spec and patch file
2024-05-06 08:20:29 +00:00
Konrad Kleine
a1a419edde
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-05-06 08:20:29 +00:00
Tom Stellard
8ab87a7600
Fix missing directory on ppc64le
2024-05-02 14:55:23 +00:00
Tom Stellard
022f97dd02
Fix libomptarget.rtl name after 72b0c11cfd267b754076dfc2908ba921c4f69ee3
2024-05-02 14:55:23 +00:00
Tom Stellard
423476486c
Fix libomptarget.rtl name after 72b0c11cfd267b754076dfc2908ba921c4f69ee3
2024-05-02 14:55:23 +00:00
Tom Stellard
7291cbf26f
Revert "Fix file path on all arches"
...
This reverts commit 0d6602437c40f2a0d2714fbaeebf3d851017c627.
2024-05-02 14:55:23 +00:00
Tom Stellard
8c35ea0d5d
Fix offload install dir
2024-05-02 14:55:23 +00:00
Tom Stellard
97b3272987
Disable openmp tests
2024-05-02 14:55:23 +00:00
Tom Stellard
f96bd0c7d5
Run test on aarch64 that passes now
2024-05-02 14:55:23 +00:00
Tom Stellard
263f283b7e
Add new offload runtime
2024-05-02 14:55:23 +00:00
Tom Stellard
1ae38f2137
Fix file path on all arches
2024-05-02 14:55:23 +00:00
Tom Stellard
3216eaaecc
Update libomp xfails on ppc64le
2024-05-02 14:55:23 +00:00
Tom Stellard
f8214e726e
Fix missing file on i686
2024-05-02 14:55:23 +00:00
Tom Stellard
4ca30f70c4
Update libomp xfails on s390x
2024-05-02 14:55:23 +00:00
Tom Stellard
ba0c05a726
Rebase 0001-Restore-fopenmp-implicit-rpath-disabled-by-default.patch
...
And only apply it on f38, it's not needed on newer Fedoras.
2024-05-02 14:55:23 +00:00
Tom Stellard
806115c5ca
Install clang config file on f38
2024-05-02 14:55:23 +00:00
Tom Stellard
96bd8631ed
Fix OpenMP patch
2024-05-02 14:55:23 +00:00
Tom Stellard
8fe06109bd
Sync with clang upstream-snapshot branch
2024-05-02 14:55:23 +00:00