Commit graph

449 commits

Author SHA1 Message Date
Konrad Kleine
859dce41f5 Default to DWARF4 2022-01-29 16:55:20 +01:00
Konrad Kleine
ba84e45517 Fix rpm build warning/error: absolute symlink 2022-01-28 11:41:01 +01:00
Konrad Kleine
382bccbe41 Fix Macro expanded in comment on line 586: %{_libdir}/libLLVM-%{maj_ver} 2022-01-28 11:31:09 +01:00
Konrad Kleine
c0457cffb0 Fix RPM build
File listed twice:
/usr/lib64/libLLVM-14pre20220126.gba79295c48bb36.so
2022-01-26 17:11:44 +01:00
Konrad Kleine
142d5810cf Fixup 2022-01-13 11:19:26 +01:00
Konrad Kleine
d6bea67717 fix filename 2022-01-13 11:18:11 +01:00
Konrad Kleine
10a4c506e0 Only package cmake-devel when building a snapshot package and when NOT building in compat mode 2022-01-12 13:38:40 +01:00
Konrad Kleine
7e2dca4500 Remove patch for https://reviews.llvm.org/D108332 which is already upstream 2022-01-12 13:29:01 +01:00
Konrad Kleine
c55c21ba5c Use llvm_snapshot_version_suffix 2022-01-12 13:29:01 +01:00
Konrad Kleine
6256376e3f Disable LTO for anything older than Fedora 34 2022-01-12 13:29:01 +01:00
Konrad Kleine
baf25538e5 Fix RPM build errors: File not found: /builddir/build/BUILDROOT/llvm-14.0.0~pre20211103.g1febf42f03f664-1.fc34.x86_64/usr/lib64/libLLVM-14.so 2022-01-12 13:29:01 +01:00
Konrad Kleine
afd08b6916 Rebased with new patches from rawhide that weren't yet in the streamline branch 2022-01-12 13:29:00 +01:00
Konrad Kleine
a4c32d7d8d Added back patch file 2022-01-12 13:29:00 +01:00
Konrad Kleine
0241c643db Fix RPM build errors: File not found: /builddir/build/BUILDROOT/llvm-14.0.0~pre20211103.g1febf42f03f664-1.fc34.x86_64/usr/lib64/libLLVM-14.so 2022-01-12 13:29:00 +01:00
Konrad Kleine
7471cd75e8 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
2022-01-12 13:24:55 +01:00
Nikita Popov
ab84d46730 Backport 46c947af7 reproducibility fix 2022-01-11 04:07:54 -05:00
Nikita Popov
49fba6acf2 Disable LTO build on s390x
Fails with pcre limit error otherwise
2022-01-10 15:41:41 -05:00
Nikita Popov
236248c006 Upstream 13.0.1 rc1 release 2022-01-10 08:23:04 -05:00
Miro Hrončok
3ba9f5e445 Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 2022-01-08 20:32:26 +01:00
Tom Stellard
1bdf054407 Enable lto on s390x and arm 2021-11-19 11:22:09 +00:00
Konrad Kleine
92512bd38e Added link to docs about 'toolchain' macro 2021-11-09 14:56:37 +01:00
Timm Bäder
3ac3f3b803 Add a few rpmlint exceptions 2021-11-03 14:12:06 +00:00
Tom Stellard
dd5bd14efc Build with Thin LTO
Full LTO is too memory intensive for most architectures, so use Thin LTO
instead.
2021-10-26 03:57:15 +00:00
Tom Stellard
6b3a1ab316 Build with clang 2021-10-21 23:32:02 +00:00
Tom Stellard
e1056b533a Fix default triple on arm
clang and gcc disagree about what gnueabi means, so we need to make
sure to specify gnueabihf as the environment.
2021-10-08 03:25:22 +00:00
Tom Stellard
84398d5b48 Set default triple 2021-10-06 05:54:41 +00:00
Tom Stellard
a26e75dfb6 Drop abi_revision from soname
This way we match the upstream soname for the final release.
2021-10-05 03:10:24 +00:00
Tom Stellard
d7b923e36b 13.0.0 Release 2021-10-01 03:28:44 +00:00
Tom Stellard
f13f5d4d08 Restore config.guess for host triple detection
The new detection method was omitting -gnu from the triples which caused
some behavior changes in clang.
2021-09-30 20:50:48 +00:00
Tom Stellard
2b9d762f80 13.0.0-rc4 Release 2021-09-30 03:52:09 +00:00
Timm Bäder
9e342d2430 Use %py3_shebang_fix instead of calling pathfix.py manually
As documented here:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_shebang_macros
2021-09-23 14:47:00 +02:00
Tom Stellard
efdfe5532f 13.0.0-rc3 Release 2021-09-17 20:06:08 +00:00
Tom Stellard
20aa2e6b37 Pass LLVM_DEFAULT_TARGET_TRIPLE to cmake
This will ensure that clang always defaults the system gcc install.
2021-09-17 13:30:23 +00:00
Timm Bäder
b7b4d3e66b Port tests to tmt 2021-09-15 08:01:11 +02:00
Konrad Kleine
4c4fb40d31 Add --without=check option 2021-09-13 17:03:07 +02:00
Tom Stellard
a11bd8ab2a Fix Source URLs 2021-08-11 02:14:17 +00:00
serge-sans-paille
bbcd893d83 13.0.0-rc1 Release 2021-08-06 06:51:44 +00:00
serge-sans-paille
dbd3134b54 Maintain versionned link to llvm-config 2021-07-22 16:15:34 +02:00
Fedora Release Engineering
87a4234571 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 13:03:04 +00:00
Tom Stellard
1b6487a87e 12.0.1 Release 2021-07-12 21:37:05 +00:00
Tom Stellard
086ce6b60e 12.0.1-rc3 Release 2021-06-30 12:49:06 +00:00
Tom Stellard
57a0e89ab1 Stop installing lit tests
We don't use these for CI tests any more and extracting the debuginfo
from the unittests is slowing down the builds or causing them to fail
in some cases (s390x).

This also removes the circular depednecy between llvm-test and
python-lit.
2021-06-29 21:41:56 +00:00
serge-sans-paille
300a6166b6 Verbose test run for easier debugging
And endless build logs
2021-06-25 14:46:38 +02:00
Tom Stellard
084eb9adc4 12.0.1-rc1 Release 2021-05-27 13:31:14 +00:00
serge-sans-paille
578fb20cb6 Fix handling of llvm-config 2021-05-19 13:38:35 +02:00
serge-sans-paille
04d8b95430 More verbose builds thanks to python3-psutil 2021-05-03 12:44:47 +02:00
Konrad Kleine
97343414c5 Fix missing Python psutil module
In most logs (e.g.
https://kojipkgs.fedoraproject.org//work/tasks/9788/66839788/build.log)
you can find this output:

```
llvm-lit: /builddir/build/BUILD/llvm-12.0.0.src/x86_64-redhat-linux-gnu/utils/lit/tests/lit.cfg:79: warning: Setting a timeout per test not supported. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager. Some tests will be skipped and the --timeout command line argument will not work.
```
2021-05-03 10:17:24 +02:00
serge-sans-paille
12b27392ce Decrease debuginfo weight for s390x too 2021-05-02 19:05:31 +02:00
serge-sans-paille
41e2e79b74 Fix llvm-config install 2021-05-02 07:42:49 +02:00
serge-sans-paille
0aa1942cbc Provide default empty value for exec_suffix when not in compat mode 2021-04-30 13:57:57 +02:00