Commit Graph

318 Commits

Author SHA1 Message Date
sergesanspaille
42917e7959 llvm 11.0.1-rc2 2020-12-22 18:55:21 +01:00
Tom Stellard
8c1d8074da Don't build with -flto 2020-12-16 13:59:49 -08:00
sergesanspaille
ad6c72f2fe llvm 11.0.1-rc1 2020-12-01 21:28:10 +00:00
Stephen Kitt
2ecc8463e7
Describe weak dependencies
clang has a couple of indirect weak dependencies; installing clang
without those will cause it to fail in certain use cases, but its
description doesn't mention them which makes resolving this harder
than it could be.

This patch adds a brief description of the weak dependencies to the
main clang package description.

Closes: #1879410
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2020-11-19 09:52:10 +01:00
Tom Stellard
32b8b533d1 Remove -ffat-lto-objects compiler flag 2020-10-29 12:05:31 -07:00
Tom Stellard
5bff53b37b Add clang-resource-filesystem sub-package
Packages that need to read or write files from the clang resource
directory should Require this sub-package.  This will ensure that we
won't have packages continuing to use older versions of the clang
resource directory when clang is updated.
2020-10-28 20:58:54 -07:00
sergesanspaille
1605d80522 Fix NVR 2020-10-15 05:16:42 +00:00
sergesanspaille
59644519b1 llvm 11.0.0 - final release 2020-10-12 11:30:06 +00:00
sergesanspaille
b4a94df45b 11.0.0-rc6 2020-10-08 09:12:09 +00:00
sergesanspaille
2d021a47b3 11.0.0-rc5 Release 2020-10-02 07:14:54 +00:00
sergesanspaille
2ac3ba8deb Fix NVR 2020-09-27 13:13:49 +00:00
sergesanspaille
e371ba7a8f 11.0.0-rc3 Release 2020-09-25 17:01:49 +00:00
sergesanspaille
70febad3d8 Fix toolchain search path
Re-activate a patch by tstellar to prefer gcc toolchains with libgcc_s
2020-09-23 17:46:58 +00:00
sergesanspaille
fd536b6e06 Normalize some doc directory locations
Remove obsolete patch
2020-09-01 14:14:09 +00:00
sergesanspaille
1167eb14a2 11.0.0-rc2 Release
Also use %license macro
2020-09-01 09:49:45 +00:00
Tom Stellard
892c49fa88 Fix test failures 2020-08-13 21:44:36 -04:00
Tom Stellard
46e006a53e 11.0.0-rc1 Release 2020-08-10 18:30:38 -04:00
Tom Stellard
8c8d9c672c Remove Requires: emacs-filesystem
The emacs plugins are shipped with clang-tools-extra, which already
Requires: emacs-filesystem, so the main package does not need to
have a dependency on this.
2020-08-04 05:54:33 +00:00
Fedora Release Engineering
01b6b5c70e - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:22:28 +00:00
Jeff Law
4c025cdf78 Disable LTO on arm and i686 2020-07-28 13:14:21 -06:00
Fedora Release Engineering
8eeb41a108 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:02:33 +00:00
sergesanspaille
82aa4d3bba Update cmake macro usage
Finalize source verification
2020-07-20 14:48:52 +00:00
Tom Stellard
f923b525f1 Add cet.h header 2020-06-26 21:12:10 +00:00
Tom Stellard
e2a664c75a Accept multiple --config options
redhat-rpm-config now adds --config to CFLAGS when the macro
%toolchain is set to clang.  Some packages end up adding CFLAGS
twice to their compiler commands, so we need to patch clang to
allow multiple --config options so that these packages won't
fail to compile.
2020-06-16 23:37:19 +00:00
Dan Čermák
43b5ca7f2b Add symlink to %%{_libdir}/clang/%%{maj_ver}
This is required for packages like ccls that hardcode the link to clang's
resource directory to not require rebuilds on minor version bumps
2020-06-03 13:58:42 +00:00
Miro Hrončok
a62c5d08c0 Rebuilt for Python 3.9 2020-05-25 12:47:19 +02:00
sergesanspaille
d933922e69 Backport ad7211df6f257e39da2e5a11b2456b4488f32a1e, see rhbz#1825593 2020-05-19 13:15:35 +00:00
sergesanspaille
0c8ce6b93d 10.0.0 final 2020-03-30 09:41:15 +00:00
sergesanspaille
80c3a7cb7a 10.0.0 rc6 2020-03-24 20:08:33 +00:00
sergesanspaille
dc3ceec895 Update git-clang-format dependency, see rhbz#1815913 2020-03-22 19:50:16 +00:00
Tom Stellard
7a3aee27c2 Add dependency on libomp-devel
This fixes compiling with -fopenmp, because clang needs libomp-devel
to be installed so it can find omp.h.
2020-03-20 18:43:26 +00:00
sergesanspaille
fd397b2953 10.0.0 rc5 2020-03-20 12:36:28 +00:00
sergesanspaille
dc1e065203 10.0.0 rc4 2020-03-15 07:19:13 +00:00
sergesanspaille
b73627486c Move a few files from clang to clang-tools-extra. 2020-03-12 08:29:38 +00:00
sergesanspaille
8d37c48855 Remove trailing whitespaces 2020-03-12 08:24:26 +00:00
Christophe de Dinechin
5e48b7c9be Move clang-format.el along with tools-extra (bz#1812487)
With the current setup, if you only install clang-tools-extra, the
package clang-format is not found by Emacs.

A similar change was made for the Python scripts, although I did not
run in the same situation myself.

v2: Moved additional files at the suggestion of @sergesanspaille
%{_mandir}/man1/diagtool.1.gz
%{_bindir}/c-index-test
Also restored trailing whitespaces in the .spec file
2020-03-12 08:58:45 +01:00
sergesanspaille
9264afee32 10.0.0 rc3 2020-03-05 11:21:38 +00:00
sergesanspaille
b45d596d2f Apply -fdiscard-value-names patch 2020-02-25 23:30:58 +00:00
sergesanspaille
28cdc9893f Fix NVR 2020-02-17 15:49:10 +00:00
sergesanspaille
139b5a7e66 10.0.0 rc2 2020-02-15 22:52:09 +00:00
sergesanspaille
b6fa739f4c Prevent compiler-rt potential version conflicts 2020-02-11 20:34:14 +00:00
Tom Stellard
03d578532d Stop shipping individual component libraries
https://fedoraproject.org/wiki/Changes/Stop-Shipping-Individual-Component-Libraries-In-clang-lib-Package
2020-02-10 19:51:57 -08:00
sergesanspaille
cf309ffb9a 10.0.0rc1 2020-02-06 10:41:16 +00:00
Fedora Release Engineering
51cb45dd23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:07:59 +00:00
Tom Stellard
5baf5a3c1f Fix crash with kernel bpf self-tests 2020-01-14 01:51:46 +00:00
Tom Stellard
86a049a618 9.0.1 Release 2019-12-20 03:01:31 +00:00
Tom Stellard
4c28031fc0 Add explicit requires for clang-libs to fix rpmdiff errors 2019-12-11 18:09:07 +00:00
sergesanspaille
797f722f5f Activate -funwind-tables on all arches, see rhbz#1655546 2019-12-10 13:33:59 +00:00
Tom Stellard
d04c1c444a 9.0.0 Release 2019-09-20 01:03:04 +00:00
Tom Stellard
69ca58540c Reduce debug info verbosity on ppc64le to avoid OOM errors in koji 2019-09-11 19:58:15 +00:00
Tom Stellard
1ca49851e1 9.0.0 Release candidate 3 2019-09-11 03:52:43 +00:00
Tom Stellard
277bd76c83 Sync with clang8.0 compat 2019-08-22 20:19:43 +00:00
sergesanspaille
7b4d800ffc 8.0.0-4
- Rebuilt for Python 3.8
2019-08-20 20:55:20 +00:00
Miro Hrončok
86a9d03ab1 Rebuilt for Python 3.8 2019-08-19 10:11:35 +02:00
Fedora Release Engineering
b3b8190661 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 20:20:23 +00:00
sergesanspaille
09654593bd Fix for rhbz#1674031 2019-05-28 11:12:08 +00:00
sergesanspaille
fe4c5544fa [PATCH] typo fix
Commited on behalf of Thierry Vignaud <thierry.vignaud@gmail.com>
2019-04-16 13:45:10 +00:00
sergesanspaille
32e777c925 Remove useless patch thanks to gcc upgrade 2019-04-13 05:55:07 +00:00
sergesanspaille
25a719b7c8 8.0.0-final 2019-03-20 19:38:13 +00:00
sergesanspaille
cc03e58772 8.0.0rc4 2019-03-12 14:15:43 +00:00
sergesanspaille
434e91810d Fix installation dir and cleanup specfile 2019-03-06 11:28:07 +00:00
sergesanspaille
b4398f1f4f 8.0.0 rc3 2019-03-06 11:28:07 +00:00
sergesanspaille
d31698ef8e Port clang compat changes back from clang7.0 2019-03-06 11:28:07 +00:00
Tom Stellard
d41e350538 Fix compiling with -stdlib=libc++ 2019-02-25 21:17:07 +00:00
sergesanspaille
81de65ab87 8.0.0 rc2 - fix versioning number 2019-02-22 08:15:29 +00:00
sergesanspaille
0cae14eafb 8.0.0rc2 2019-02-21 21:30:51 +00:00
sergesanspaille
d89c69d309 Silent some test failure for the rc1 2019-02-15 18:51:52 +00:00
sergesanspaille
dc3e88bfa1 Remove duplicate scan-build entry 2019-02-15 13:53:01 +00:00
sergesanspaille
478f0a1e6b Decrease debug info verbosity for some target and prevent parallel linking 2019-02-14 21:12:15 +00:00
sergesanspaille
b53704a451 8.0.0rc1 2019-02-13 15:48:31 +00:00
sergesanspaille
b4f2f9a2ea Scan-view Python3 compat 2019-02-05 20:44:37 +00:00
sergesanspaille
734d45aa8f Fix and reorganize CI tests 2019-02-05 17:35:30 +00:00
sergesanspaille
dc88066dc2 Patch for gcc-9 bug 2019-02-05 06:15:36 +00:00
sergesanspaille
59a913a078 Fix gcc-9 build 2019-02-01 07:51:41 +00:00
Fedora Release Engineering
aa6b8300b9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 15:40:24 +00:00
Tom Stellard
1f58b21528 Fix for rhbz#1657544 2018-12-19 16:58:24 +00:00
sergesanspaille
01e69400f6 Bump version to 7.0.1 2018-12-18 07:03:33 +00:00
sergesanspaille
d870610e6e Improve man support 2018-12-18 06:50:05 +00:00
sergesanspaille
dbc386190b No longer ignore -fstack-clash-protection option incompatibility 2018-12-14 07:32:50 +00:00
sergesanspaille
c67fd455f2 Ensure rpmlint passes on specfile 2018-12-04 13:11:18 +00:00
Tom Stellard
52edfa5810 Drop python2 dependency from clang-tools-extra 2018-11-30 19:38:01 +00:00
Tom Stellard
d49953335b Bump release for previous commit 2018-11-28 18:07:13 +00:00
sergesanspaille
62621b0c0b Prune reference to llvm-test-suite
Fix https://bugzilla.redhat.com/show_bug.cgi?id=1651434
2018-11-28 09:08:31 +00:00
Tom Stellard
a37bcb2943 Run 'make check-all' instead of 'make check-clang'
make check-all will run the clang-tools-extras tests in addition to
all the clang tests.
2018-11-19 23:51:26 +00:00
sergesanspaille
b730992174 Fix duplicate Python2 + Python3 dependency for clang analyzer
This should fix https://bugzilla.redhat.com/show_bug.cgi?id=1634831
2018-11-19 08:51:12 +00:00
Tom Stellard
816ea521a1 User helper macro to fixup config.h for multilib 2018-11-06 00:28:53 +00:00
Tom Stellard
15d2b4b54e Use correct shebang substitution for python scripts
This is a follow up for rhbz#1538238
2018-10-02 00:23:07 +00:00
Tom Stellard
468c6f2a1a 7.0.0 Release 2018-09-25 02:05:06 +00:00
Tom Stellard
00e1fa93d1 Move builtin headers into clang-libs sub-package
rhbz#1582884
2018-09-20 05:18:02 +00:00
Tom Stellard
fe1772d561 Remove ambiguous python shebangs 2018-09-19 16:52:16 +00:00
Tom Stellard
5d6c3ad71b Move unversioned shared objects to devel package 2018-09-14 02:54:50 +00:00
Tom Stellard
3f2f4300ee Rebuild with new llvm-devel that disables rpath on install 2018-09-13 20:37:04 +00:00
Tom Stellard
6955c7a59c Fix clang++-7 symlink 2018-09-13 16:51:14 +00:00
Tom Stellard
3f7338a07c 7.0.0-rc3 Release 2018-09-12 02:51:33 +00:00
Tom Stellard
2fbc3e1b92 Drop siod from llvm-test-suite
This test is buggy.  See llvm.org/PR38648.

Also add which to Requires for llvm-test-suite.
2018-09-10 17:30:10 +00:00
Tom Stellard
17d16059d3 Drop python2 dependency from clang package 2018-09-07 21:01:14 +00:00
Tom Stellard
c823f68df9 Drop all uses of python2 from lit tests 2018-09-06 20:34:50 +00:00
Tom Stellard
5a51a28e57 Add Fedora specific version string 2018-09-04 18:04:42 +00:00
Tom Stellard
462b3d2eb2 7.0.0-rc2 Release 2018-08-30 16:38:13 +00:00
Tom Stellard
f7f57849e2 Enable unit tests 2018-08-28 00:30:34 +00:00
Tom Stellard
ad3b6d908d Fix comment 2018-08-27 23:46:19 +00:00
Tom Stellard
52c2187ff7 Move llvm-test-suite into a sub-package
This will allow it to be run by CI systems instead of during
the %check phase.
2018-08-23 15:07:37 +00:00
Tom Stellard
68eed61006 Recommend the same version of compiler-rt
When clang searches for the compiler-rt libraries, it constructs
the search path using the clang version.  If the clang and compiler-rt
versions don't match, then clang can't find the libraries.
2018-08-17 18:35:07 +00:00
Tom Stellard
599360b865 Rebuild for f30 2018-08-15 02:58:47 +00:00
Tom Stellard
7761cfa923 7.0.0-rc1 Release 2018-08-14 04:40:41 +00:00
Tom Stellard
74e8e2347b Sync spec file with the clang6.0 package 2018-07-23 22:20:29 +00:00
Fedora Release Engineering
2b91340e99 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:50:24 +00:00
Igor Gnatenko
43cdae7656 add BuildRequires: gcc-c++,gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:43 +02:00
Tom Stellard
6f8d08d48c 6.0.1 Release 2018-06-27 06:14:16 +00:00
Tom Stellard
47c2db1e9b 6.0.1-rc2 2018-06-13 18:26:58 +00:00
Tom Stellard
a05a217cc3 Revert "Rebuild after disabling non-native targets in libLLVM.so"
This reverts commit 44bc19d6da.
2018-06-06 22:46:41 +00:00
Tom Stellard
44bc19d6da Rebuild after disabling non-native targets in libLLVM.so 2018-06-06 22:45:31 +00:00
Tom Stellard
8d35cec936 6.0.1-rc1 Release 2018-05-15 04:14:21 +00:00
Tom Stellard
ee5cc3e9a0 Add a clang++-{version} symlink rhbz#1534098 2018-03-23 19:14:53 +00:00
Tom Stellard
79d093b2ef Use correct script for running lit tests 2018-03-23 06:02:11 +00:00
Tom Stellard
63bf60b284 Fix toolchain detection so we don't default to using cross-compilers
rhbz#1482491
2018-03-21 14:23:23 +00:00
Tom Stellard
5e7e9e3879 Add Provides: clang(major) rhbz#1547444 2018-03-12 20:39:40 +00:00
Tom Stellard
b425aeadd6 6.0.0 Release 2018-03-09 01:49:30 +00:00
Tom Stellard
90e9f0bc91 6.0.0-rc2 Release 2018-02-13 14:39:13 +00:00
Fedora Release Engineering
cdab058afb - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 05:02:29 +00:00
Tom Stellard
d0ee648ee5 Package python helper scripts for tools 2018-02-01 20:18:39 +00:00
Tom Stellard
4b5a3e57f2 Ignore -fstack-clash-protection option instead of giving an error
This is required now that Fedora uses -fstack-clash-protection in the
default CFLAGS.
2018-01-26 22:20:16 +00:00
Tom Stellard
d0138c64a0 Package emacs integration files 2018-01-26 18:55:54 +00:00
Tom Stellard
4058470a16 6.0.0-rc1 Release 2018-01-25 06:16:40 +00:00
Tom Stellard
ae7609ae85 Rebuild against llvm5.0 compatibility package
rhbz#1538231
2018-01-24 19:15:56 +00:00
Iryna Shcherbina
0e2c86ca94 Update Python 2 dependency declarations to new packaging standards 2018-01-03 12:46:00 +01:00
Tom Stellard
0b04edabdd 5.0.1 Release 2017-12-21 07:14:14 +00:00
Tom Stellard
af6de8b930 Make compiler-rt a weak dependency and add a weak dependency on libomp
compiler-rt requires clang to build libFuzzer, so making clang Require
compiler-rt leads to a circular dependency.  compiler-rt is not
required for most use cases of clang any way, so I think it makes more
sense as a weak dependency.
2017-12-13 19:20:43 +00:00
Merlin Mathesius
8d741f391b Cleanup spec file conditionals 2017-11-06 16:51:27 -06:00
Tom Stellard
b81322cfd7 5.0.0 Release 2017-10-16 22:15:55 +00:00
Rex Dieter
c9eea4fec4 python2-clang subpkg (#1490997)
tools-extras: tighten (internal) -libs dep
%install: avoid cd
2017-10-04 11:20:22 -05:00
Tom Stellard
d8d5392adc Fix Requires for git-clang-format and split into its own package 2017-08-31 23:15:03 +00:00
Björn Esser
3af19e77cb Rebuilt for AutoReq cmake-filesystem 2017-08-06 11:57:20 +02:00
Fedora Release Engineering
ce9e3afff8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 18:50:39 +00:00
Fedora Release Engineering
5166350706 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 04:54:51 +00:00
Tom Stellard
1b47cc7026 Add comment explaining why llvm-static is a necessary dependency 2017-07-05 12:53:11 +00:00
Tom Stellard
521bee158f 4.0.1 Release. 2017-06-26 12:46:12 +00:00
Tom Stellard
89ced16fac Enable make check-clang 2017-06-16 16:30:18 +00:00
Tom Stellard
497e404f08 Package git-clang-format 2017-06-12 19:10:49 +00:00
Tom Stellard
c473ab989f Generate man pages 2017-06-12 14:08:07 +00:00
Tom Stellard
77fcedd3d8 Ignore test-suite failures until all arches are fixed. 2017-06-08 21:16:27 +00:00
Tom Stellard
ce584ee113 Run llvm test-suite after building 2017-04-28 16:12:39 +00:00
Tom Stellard
f38da92e21 Enable eh/rtti, which are required by lldb. 2017-03-28 01:10:21 +00:00
Tom Stellard
5617ce07d5 Fix clang-tools-extra build
Also fix the %install step.
2017-03-24 00:21:39 +00:00
Tom Stellard
018a18dbcb Fix changelong 2017-03-23 20:31:30 +00:00
Tom Stellard
35b5199dd7 clang 4.0.0 final release 2017-03-23 20:29:48 +00:00
David Goerger
1e780f739c Add clang-tools-extra package rhbz#1328091 2017-03-21 11:50:01 +00:00
Tom Stellard
455a190b00 Enable build-id by default rhbz#1432403 2017-03-16 13:51:38 +00:00
Dave Airlie
7dd65de1f1 clang 3.9.1 final release 2017-03-02 05:13:40 +10:00
Fedora Release Engineering
dda98096c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 07:32:53 +00:00
Nathaniel McCallum
0b2ece30d8 Add Requires: compiler-rt to clang-libs 2016-11-14 14:35:19 -05:00
Peter Robinson
31378497ca Rebuild for new arches 2016-11-01 17:17:55 +00:00
Dave Airlie
ccee982634 clang: fixes for build 2016-10-26 09:48:56 +10:00
Dave Airlie
b93ace5bdb drop unneeded patches 2016-10-15 07:12:16 +10:00
Dave Airlie
7816b615d2 clang 3.9.0 final release 2016-10-14 17:20:11 +10:00
Stephan Bergmann
fd63610295 Resolves: rhbz#1282645 add GCC abi_tag support 2016-07-01 09:37:23 +02:00
Petr Písař
37c94942fd Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:49:21 +02:00
Dave Airlie
0706e2f572 clang 3.8.0 final release 2016-03-10 11:01:31 +10:00
Dave Airlie
679f934ad2 clang 3.8.0rc3 2016-03-03 09:25:38 +10:00
Dave Airlie
086d27098d package all libs into clang-libs. 2016-02-24 17:45:26 -05:00
Dave Airlie
b486bb1794 enable dynamic linking of clang against llvm 2016-02-24 17:40:56 +10:00
Dave Airlie
6a62f09a32 clang 3.8.0rc2 2016-02-18 19:16:41 -05:00
Dennis Gilmore
650e4feacf BuildRequites llvm-static
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-12 20:19:10 -06:00
Dave Airlie
61789e895a rebuild against latest llvm packages 2016-02-12 20:08:25 +10:00
Dennis Gilmore
f61504012d - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:43:19 +00:00
Dave Airlie
0700b77050 Fix previous commit 2016-01-28 18:16:59 +10:00
Dave Airlie
7e4861f5f3 just accept clang includes moving to /usr/lib64, upstream don't let much else happen 2016-01-28 14:02:53 +10:00
Adam Jackson
4a6eb830c0 Initial import 2016-01-27 09:29:14 -05:00