Nikita Popov
5e22fb4ab6
Don't drop LDFLAGS for shared libraries
...
From the corresponding c9s fix:
b758d604f4
2023-08-08 16:51:16 +02:00
Tulio Magno Quites Machado Filho
d180d56a78
Remove pkg_bindir and pkg_libdir
...
Replace them witn install_bindir and install_libdir respectively.
2023-08-03 19:30:40 +00:00
Tulio Magno Quites Machado Filho
b5d6c1ccf0
Simplify a few %files entries
...
This is also deduplicating a small list of %files entries by replacing
the variable used to build their path.
2023-08-03 19:30:40 +00:00
Nikita Popov
2abc096557
Use build_cflags when setting ASMFLAGS
...
While the current implementation works on Fedora, on c9s/rhel
the CFLAGS haven't been set at this point yet, so we are missing
the -fcfprotection flag in ASMFLAGS. Using build_cflags avoids
this ordering problem.
Additionally, add -Wl,-z,cet-report=error to the libLLVM.so linker
flags, so we can detect such issues earlier in the future.
2023-08-03 19:29:38 +00:00
Tulio Magno Quites Machado Filho
dd44fc12ea
Fix rhbz #2224885
2023-07-31 17:19:01 -03:00
Fedora Release Engineering
f9f0fb07de
Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 12:55:16 +00:00
Tulio Magno Quites Machado Filho
f9133b98bb
Bump the release version
2023-07-10 18:38:50 -03:00
Nikita Popov
bdb4929ebd
Use LLVM_UNITTEST_LINK_FLAGS to reduce link times for unit tests
...
We currently spend a lot of time performing LTO on unit tests,
which is largely wasted effort. We can't disable LTO entirely,
because we don't have fat objects, but at least we can disable
post-link optimization.
For my local build, this reduces time in %build by about 30%.
2023-07-07 07:20:18 +00:00
Tulio Magno Quites Machado Filho
cd99de7d35
Improve clang assembler error messages on s390x (rhbz#2216906)
...
Backport a patch from LLVM 17 that improves error messages from the
Clang assembler on s390x.
Also, disable LLVM_UNREACHABLE_OPTIMIZE in order to improve error
messages when llvm_unreachable() is called. There are many cases where
llvm_unreachable() is used as a error reporting function instead of the
recommended replacement for assert().
Fixes rhbz#2216906.
2023-07-03 15:09:05 -03:00
Tulio Magno Quites Machado Filho
61b03e8d59
Update to LLVM 16.0.6
2023-06-15 07:41:00 -03:00
Nikita Popov
236eac9d27
Split off llvm-cmake-utils package
2023-06-15 08:58:02 +02:00
Tulio Magno Quites Machado Filho
ba5f101283
Update to LLVM 16.0.5
2023-06-05 14:26:35 -03:00
Yaakov Selkowitz
bcf7ece4a8
Avoid recommonmark dependency in RHEL builds
...
python-recommonmark and its dependencies are unwanted in RHEL.
2023-05-22 11:57:51 -04:00
Tulio Magno Quites Machado Filho
85d29458f2
Update to LLVM 16.0.4
2023-05-18 21:54:20 -03:00
Tulio Magno Quites Machado Filho
f98e61f997
Update to LLVM 16.0.3
2023-05-09 17:54:23 -03:00
Tulio Magno Quites Machado Filho
193ba1355d
Update to LLVM 16.0.2
2023-04-25 17:19:37 -03:00
Nikita Popov
96037cf8ba
Remove unused sources
2023-04-14 17:22:13 +02:00
Tulio Magno Quites Machado Filho
072d2198fb
Update to LLVM 16.0.1
2023-04-12 17:39:44 +00:00
Jan200101
f51436a734
Stop installing gtest on compat builds
2023-04-12 14:13:53 +02:00
Tulio Magno Quites Machado Filho
a4982d84f3
Stop distributing /usr/share/llvm/src/utils
2023-03-24 09:07:18 -03:00
Tulio Magno Quites Machado Filho
a13a3551eb
Distribute libllvm_gtest.a and libllvm_gtest_main.a with llvm-googletest
2023-03-24 09:04:53 -03:00
Tulio Magno Quites Machado Filho
0cd1abca26
Update to LLVM 16.0.0
2023-03-20 17:04:41 -03:00
Tulio Magno Quites Machado Filho
2f72d026a3
Fix the ppc64le triple
2023-03-16 22:07:43 -03:00
Tulio Magno Quites Machado Filho
59d2543cca
Update the sources file
2023-03-15 09:06:18 -03:00
Tulio Magno Quites Machado Filho
cc36c0869b
Update to LLVM 16.0.0 RC4
2023-03-15 08:41:45 -03:00
Tulio Magno Quites Machado Filho
55d7730bb8
Fix llvm-exegesis failures on s390x
2023-03-15 08:41:45 -03:00
Tulio Magno Quites Machado Filho
3c4fee7794
Update to LLVM 16.0.0 RC3
2023-03-15 08:41:35 -03:00
Tulio Magno Quites Machado Filho
7f47caed9c
Improve .gitignore
...
Replace many lines with a few with globs.
Add more entries in order to avoid adding files by mistake.
2023-02-16 16:43:01 -03:00
Tulio Magno Quites Machado Filho
780d2fc116
Remove unnecessary files
...
These files stopped being used in 2016 and are not necessary anymore.
2023-02-16 16:40:07 -03:00
Tulio Magno Quites Machado Filho
a2100f44b7
Update to LLVM 16.0.0 RC1
2023-02-10 11:58:04 -03:00
Tulio Magno Quites Machado Filho
034719a43e
Add the third-party source code
2023-02-01 18:49:54 -03:00
Konrad Kleine
3aef850832
Added libLLVMTestingAnnotations.a to googletest subpackage
...
See 3432f4bf86
2023-02-01 18:49:54 -03:00
Konrad Kleine
c2901f71cb
List third-party gmock/gtest files in install
2023-02-01 18:48:11 -03:00
Konrad Kleine
87fcbdde75
Manually add https://reviews.llvm.org/D137890
2023-02-01 18:48:11 -03:00
Konrad Kleine
9812a7f1ae
bring back files to llvm-googletest package
2023-02-01 18:48:11 -03:00
Konrad Kleine
c31ffc7ed1
Adapt to standalone third-party dir
2023-02-01 18:48:11 -03:00
Tulio Magno Quites Machado Filho
b173c6109a
Adopt SPDX identifiers in license
...
Also make it clear that Apache 2.0 with LLVM exceptions was adopted in
2019.
2023-01-19 16:45:58 -03:00
Fedora Release Engineering
c92743ab8a
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 18:09:55 +00:00
Nikita Popov
a20957b5eb
Update to LLVM 15.0.7
2023-01-12 10:31:52 +01:00
Tom Stellard
f543860321
Omit frame pointers when building
2023-01-09 20:33:24 +00:00
Nikita Popov
1862c052da
Remove workaround for rbhz#2048440
...
It looks like this test passes now.
2022-12-19 16:35:33 +01:00
Timm Bäder
1d9fedd416
Enable LTO builds on s390x again
...
The PCRE limit problem has been fixed in redhat-rpm-config in
25ea080503
2022-12-05 17:07:40 +01:00
Nikita Popov
2fa672b23f
Update to LLVM 15.0.6
2022-12-05 08:56:31 +01:00
Jan200101
920a8b1b56
Install cmake modules for compat builds
2022-11-15 09:40:45 +00:00
Nikita Popov
8e1f53d786
Copy CFLAGS to ASMFLAGs to enable CET in asm files
2022-11-11 10:23:47 +01:00
Nikita Popov
3c595192e2
Update to LLVM 15.0.4
2022-11-03 12:56:08 +01:00
Nikita Popov
0c4aa4a13c
Remove abi_revision handling
...
We now longer ship rcs outside of copr, so this is no needed anymore.
2022-09-29 10:47:28 +00:00
Nikita Popov
6c4af9abec
Drop GetHostTriple export again
...
This doesn't work by itself due to the config.guess dependency,
and I'm not longer sure this is the right approach. The runtimes
build should really be getting this from the exported
LLVM_HOST_TRIPLE variable.
2022-09-29 10:20:54 +02:00
Nikita Popov
aec99db3ed
Export GetHostTriple.cmake
2022-09-27 12:57:56 +02:00
Jesus Checa Hidalgo
2ce66b7035
Migrate tests to tests/llvm repo
2022-09-19 14:28:26 +00:00