Commit Graph

455 Commits

Author SHA1 Message Date
Tom Stellard
992907b031 LLVM 11.0.0-rc1 Release
Also make llvm-devel require llvm-static and llvm-test.
2020-08-07 23:50:07 -04:00
Tom Stellard
40207a4ea9 Backport upstream patch to fix build with -flto.
Also disable LTO on s390x to work-around unit test failures.
2020-08-08 03:48:41 +00:00
serge-sans-paille
a58113d73c Fix update-alternative uninstall script 2020-08-08 03:48:13 +00:00
serge-sans-paille
146561a8a6 Fix gpg verification, update ninja macro and use %license 2020-08-06 23:42:59 +00:00
Fedora Release Engineering
210d1cc82b - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 04:17:02 +00:00
Fedora Release Engineering
edf13af9da - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 06:11:32 +00:00
serge-sans-paille
d7400582fd Make llvm-test.tar.gz creation reproducible
Move arch-specific content out of the tarball, and build the tarball in a reproducible way.
2020-06-18 07:49:54 +00:00
serge-sans-paille
96783870dd Instruct cmake not to generate RPATH 2020-06-02 15:55:00 +00:00
Tom Stellard
71b43061fd Install LLVMgold.so symlink in bfd-plugins directory 2020-05-12 15:47:18 +00:00
serge-sans-paille
8e1d8d6581 Update testing to pass gating tests
- Backport bab5908df544680ada0a3cf431f55aeccfbdb321 (test portability)
- Fix indentation in tests/tests.yml
- Remove testing of update utility tools
2020-04-15 19:17:21 +00:00
serge-sans-paille
63f8be8e26 Apply changes needed for the compat build
Based on llvm9 package
2020-04-01 17:17:25 +00:00
serge-sans-paille
78e975e88f 10.0.0 final 2020-03-25 21:45:43 +00:00
serge-sans-paille
901bdb19f1 10.0.0 rc6 2020-03-24 07:20:09 +00:00
serge-sans-paille
b9d5a005d6 10.0.0 rc5 2020-03-19 19:02:46 +00:00
serge-sans-paille
004b709e96 10.0.0 rc4 2020-03-14 08:06:07 +00:00
serge-sans-paille
0cf0e0fcc8 10.0.0 rc3 2020-03-05 11:19:15 +00:00
serge-sans-paille
38c19e024e Remove *_finite support, see rhbz#1803203 2020-02-29 08:28:41 +00:00
serge-sans-paille
d323e42667 10.0.0 rc1 2020-02-14 09:01:38 +00:00
serge-sans-paille
7790ff0825 10.0.0 rc1 2020-02-06 05:45:54 +00:00
Fedora Release Engineering
13fa3366b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 11:09:14 +00:00
Tom Stellard
00a5db5f3a Rebuild after previous build failed to strip binaries 2020-01-21 21:34:25 +00:00
Tom Stellard
96d4e517c5 Add explicit Requires from sub-packages to llvm-libs
RPMDiff complains that these requires are missing.
2020-01-17 20:06:49 +00:00
Tom Stellard
d7b5dc38f6 Fix crash with kernel bpf self-tests 2020-01-11 04:16:47 +00:00
Tom Stellard
d9ea1b48ed 9.0.1 Release 2019-12-20 02:34:08 +00:00
serge-sans-paille
8ddd41e8d9 Activate AVR on all architectures 2019-11-26 06:02:40 +00:00
Tom Stellard
acf22be74c Build libLLVM.so first to avoid OOM errors
Linking libLLVM.so takes a lot of memory and often causes OOM errors
on builders with low memory:cpu ratios..  By building libLLVM.so first,
we can ensure that when libLLVM.so is being linked, there are no other
build threads running which reduces the chances of an OOM error.
2019-10-01 15:12:05 +00:00
Tom Stellard
9d70f3b6d9 Remove unneeded BuildRequires: libstdc++-static 2019-09-27 03:28:51 +00:00
Tom Stellard
6a704c4759 9.0.0 Release 2019-09-20 14:23:01 +00:00
serge-sans-paille
6f02bbba2f Support avr target, see rhbz#1718492 2019-09-19 00:37:59 +00:00
Tom Stellard
bab8b9476f Split out test executables into their own export file 2019-09-11 20:05:31 +00:00
Tom Stellard
f07760fd8f Fix patch for splitting out static library exports 2019-09-06 18:06:28 +00:00
Tom Stellard
d62829b09a 9.0.0-rc3 Release 2019-08-30 19:15:46 +00:00
Tom Stellard
5dee6b644a 9.0.0-rc2 Release 2019-08-22 03:32:45 +00:00
Tom Stellard
77699b4333 Sync with llvm8.0 spec file
Also replace %global compat_build 0 with %bcond_with compat_build.
This will make it easier to test building the compat version of the
package and allow us to add a CI test for it.
2019-08-22 03:32:37 +00:00
Fedora Release Engineering
f5b025e1f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 15:03:54 +00:00
Tom Stellard
15784b25a9 Add provides for the major version of sub-packages 2019-07-18 03:50:40 +00:00
serge-sans-paille
ab84dbf5d4 Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake 2019-05-17 08:59:03 +00:00
Tom Stellard
785b893001 Make sure we aren't passing -g on s390x 2019-04-24 05:05:22 +00:00
Tom Stellard
0a95f79eb7 Enable build rpath while keeping install rpath disabled 2019-04-12 17:08:34 +00:00
Tom Stellard
f3e54d7b77 Backport r351577 from trunk to fix ninja check failures 2019-04-02 15:27:12 +00:00
Tom Stellard
2b03740f59 Fix ninja check 2019-03-27 01:41:05 +00:00
Tom Stellard
dd29ab70a3 llvm-test fixes
Try to simply lit config file generation by adding standalone fedora specific
config file.  In the future, when we need to customize the lit config
for the llvm-test package, we can just update lit.fedora.cfg.py rather
than trying to patch the default config from the spec file.

This patch also makes the run-lit-tests script identical on all arches,
so it will no longer cause multi-lib conflicts.
2019-03-26 13:06:13 +00:00
serge-sans-paille
f059677e37 8.0.0 final 2019-03-20 14:54:29 +00:00
serge-sans-paille
d78f6772be Activate all backend targets
Fix https://bugzilla.redhat.com/show_bug.cgi?id=1689031
2019-03-15 17:37:02 +00:00
serge-sans-paille
49f1cffac0 8.0.0rc4 2019-03-12 14:15:43 +00:00
serge-sans-paille
095898397b Move some binaries to -test package, cleanup specfile 2019-03-06 08:36:59 +00:00
serge-sans-paille
54ff648b33 8.0.0 rc3 2019-03-04 09:27:04 +00:00
serge-sans-paille
06970df22f Integrate compat change from llvm7.0 2019-02-26 16:17:22 +00:00
serge-sans-paille
7d9203efc8 8.0.0rc2 - fix versioning numbers 2019-02-22 08:12:13 +00:00
serge-sans-paille
34be5374da 8.0.0rc2 2019-02-18 18:20:24 +00:00
serge-sans-paille
e917285b3e Decrease debug info level for s390x 2019-02-14 16:18:03 +00:00
serge-sans-paille
317b7917e6 Limit the number of linker jobs to 1 2019-02-14 16:15:24 +00:00
serge-sans-paille
4ca785f8a6 llvm 8.0.0rc1 2019-02-13 15:40:02 +00:00
Fedora Release Engineering
aea8243575 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:52:42 +00:00
Igor Gnatenko
d891d182b1
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:19 +01:00
Josh Stone
cf8888829a Fix discriminators in metadata, rhbz#1668033 2019-01-21 11:37:20 -08:00
serge-sans-paille
8eccc650c2 Bump version to 7.0.1 2018-12-17 09:15:27 +00:00
serge-sans-paille
8fc4f00334 Ensure rpmlint passes on specfile 2018-12-04 15:10:41 +00:00
Tom Stellard
40468b1e90 Install testing libraries for unittests
This is needed in order for clang to be able to run make check-all
during koji builds.
2018-11-19 19:17:37 +00:00
Tom Stellard
d56ae49824 Fix running unittests as not-root user
Also add Requires: findutils
2018-10-27 02:29:18 +00:00
Tom Stellard
4ccbf0466c Fixes for llvm-test package
- Add some missing Requires
- Add --threads option to run-lit-tests script
- Set PATH so lit can find tools like count, not, etc.
- Don't hardcode tools directory to /usr/lib64/llvm
- Fix typo in yaml-bench define
- Only print information about failing tests
- Run tests in CI with only 1 thread
2018-10-01 15:42:48 +00:00
Tom Stellard
b5bb6c52ae 7.0.0 Release 2018-09-22 00:01:54 +00:00
Tom Stellard
f0b94fc76d Disable rpath on install LLVM and related sub-projects
Rather than using chrpath, we can just modify LLVM's cmake code to
not set rpath when installing.  Other llvm sub-projects like
clang, lld, lldb, etc. use this same cmake code so disbaling rpath
here will disable it for all projects.
2018-09-13 17:13:08 +00:00
Tom Stellard
f04627996a Remove rpath from executables and libraries 2018-09-13 01:21:19 +00:00
Tom Stellard
3988cf1bc0 Fix typo from previous commit 2018-09-12 02:52:08 +00:00
Tom Stellard
b4db2c9955 Re-enable arm and aarch64 targets on x86_64
rhbz#1627500
2018-09-11 23:15:28 +00:00
Tom Stellard
4a6462c64c 7.0.0-rc3 Release 2018-09-10 19:27:44 +00:00
Tom Stellard
c8a90e4939 Use python3 shebang for opt-viewewr scripts 2018-09-07 15:57:43 +00:00
Tom Stellard
faa3d2dca7 Drop all uses of python2 from lit tests 2018-08-31 02:36:27 +00:00
Tom Stellard
2167c29b6c Remove commented code 2018-08-30 21:41:15 +00:00
Tom Stellard
165caa696e Build the gold plugin on all supported architectures
rhbz#1623305
2018-08-30 14:04:31 +00:00
Kevin Fenzi
a057ddec79 Re-enable debuginfo to avoid 25x size increase. 2018-08-29 16:03:47 -07:00
Tom Stellard
1bf09a7cfb 7.0.0-rc2 Release 2018-08-28 22:28:25 +00:00
Tom Stellard
c96d6793e9 Guard valgrind usage with valgrind_arches macro 2018-08-28 05:46:20 +00:00
Tom Stellard
a47388f920 Package lit tests and googletest sources 2018-08-27 19:26:59 +00:00
Tom Stellard
1948d64c18 Re-enable AMDGPU target on ARM rhbz#1618922 2018-08-20 17:46:15 +00:00
Tom Stellard
5636e80d6b Drop references to TestPlugin.so from cmake files 2018-08-13 21:00:15 +00:00
Tom Stellard
a894547e62 Fixes for lit tests 2018-08-13 19:35:56 +00:00
Tom Stellard
4824795185 Remove stray comment 2018-08-10 21:55:35 +00:00
Tom Stellard
7a93d34863 7.0.0-rc1 Release
- Reduce the number of enabled targets based on the architecture.
- Drop s390 detection patch, LLVM does not support s390 codegen.
2018-08-10 15:32:39 +00:00
Tom Stellard
93d2074b7b Backport some fixes needed by mesa and rust 2018-08-06 21:53:23 +00:00
Tom Stellard
8c9aac9934 Move libLLVM-6.0.so to llvm6.0-libs. 2018-07-27 06:55:35 +00:00
Tom Stellard
da8f508d62 Sync specfile with llvm6.0 package
Using the same spec file for llvm and future compatibility packages
will make maintenance easier in the future.
2018-07-13 20:04:54 +00:00
Fedora Release Engineering
a9a9a3b7ea - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 09:16:20 +00:00
Igor Gnatenko
f963f98785 add BuildRequires: gcc-c++,gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:48 +02:00
Tom Stellard
629a77b63c 6.0.1 Release 2018-06-26 00:55:38 +00:00
Tom Stellard
ffa0ad7b11 6.0.1-rc2 2018-06-07 22:19:46 +00:00
Tom Stellard
4da44423ea Revert "Reduce the number of enabled targets based on the architecture"
This reverts commit b772b3b219.

This breaks the ABI, so backing this out until the 7.0.0 release.
2018-06-06 22:48:21 +00:00
Tom Stellard
b772b3b219 Reduce the number of enabled targets based on the architecture 2018-06-05 04:13:34 +00:00
Tom Stellard
e594b058f1 6.0.1 rc1 2018-05-11 17:08:45 +00:00
Tom Stellard
ff279e4625 Re-enable arm tests that used to hang 2018-03-27 23:07:43 +00:00
Tom Stellard
2218119f3a Fix testcase in backported patch 2018-03-22 13:15:27 +00:00
Tom Stellard
3d213b0da3 Prevent external projects from linking against both static and shared libraries
rhbz#1558657
2018-03-20 23:30:25 +00:00
Tom Stellard
699e7bbabc Backport r327651 from trunk rhbz#1554349 2018-03-19 22:51:24 +00:00
Tom Stellard
1afade5cd8 Filter out cxxflags and cflags from llvm-config that aren't supported by clang
rhbz#1556980
2018-03-16 18:00:27 +00:00
Tom Stellard
3ff2527fa4 Enable symbol versioning in libLLVM.so 2018-03-15 16:55:40 +00:00
Tom Stellard
025cf6ec25 Stop statically linking libstdc++
This is no longer required by Steam client, but the steam installer
still needs a work-around which should be handled in the steam package.
2018-03-15 13:54:42 +00:00
Tom Stellard
440eb0e896 s/make check/ninja check/ 2018-03-14 22:18:27 +00:00
Tom Stellard
e0bd4cf7a2 Backport fix for compile time regression on rust rhbz#1552915 2018-03-09 17:36:24 +00:00
Tom Stellard
acd922f57d Build with Ninja
This reduces RPM build time on a 6-core x86_64 builder from 82 min
to 52 min.
2018-03-08 23:40:36 +00:00
Tom Stellard
539d4ba445 6.0.0 Release 2018-03-08 19:47:18 +00:00
Tom Stellard
c0f49ce65f Reduce debuginfo size on i686 to avoid OOM errors during linking 2018-03-08 19:45:51 +00:00
Tom Stellard
3df6c8a9d4 6.0.1 rc2 2018-02-09 20:53:03 +00:00
Igor Gnatenko
f4cd5f6cb8
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:03 +01:00
Fedora Release Engineering
e5951f48a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 00:02:01 +00:00
Tom Stellard
a264db526f 6.0.1 rc1 2018-01-19 23:07:17 +00:00
Tom Stellard
70bb4c2830 5.0.1 Release 2017-12-19 22:20:21 +00:00
Tom Stellard
f3d30bd5c7 Backport debuginfo fix for rust 2017-11-20 19:54:18 +00:00
Tom Stellard
ca4631e1f8 Reduce debuginfo size for ARM
This fixes the previous attempt to disable debuginfo, which left
debuginfo enabled and disabled stripping it from the libraries.
libLLVM.so was almost 1GB in the ARM builds, but now is about
47 MB.
2017-11-04 01:38:51 +00:00
Tom Stellard
8f4eab1072 Reduce memory usage on ARM
Disable debuginfo and some non-ARM targets.
2017-10-12 21:28:59 +00:00
Tom Stellard
3d29fda1ea 5.0.0 Release 2017-10-03 23:06:57 +00:00
Tom Stellard
c5c125e0d4 Add Requires: libedit-devel for llvm-devel 2017-09-18 22:50:46 +00:00
Tom Stellard
dd255866c2 Enable libedit backend for LineEditor API 2017-09-08 23:45:30 +00:00
Tom Stellard
cca2af2d07 Enable extra functionality when run the LLVM JIT under valgrind. 2017-08-25 13:40:02 +00:00
Fedora Release Engineering
c263265fc3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 02:41:38 +00:00
Fedora Release Engineering
c28afb57b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 20:13:46 +00:00
Tom Stellard
d95c34e467 4.0.1 Release 2017-06-22 20:49:09 +00:00
Tom Stellard
383dd27625 Install llvm utils
clang needs these to run the tests.
2017-06-16 02:18:16 +00:00
Tom Stellard
7a52d8c344 Fix docs-llvm-man target 2017-06-10 05:20:59 +00:00
Tom Stellard
4b6a509a38 Make cmake files no longer depend on static libs (rhbz 1388200) 2017-05-26 14:02:17 +00:00
Josh Stone
4d11f51b66 Fix computeKnownBits for ARMISD::CMOV (rust-lang/llvm#67) 2017-04-18 14:52:16 -07:00
Tom Stellard
e6b944d9d2 Simplify spec with rpm macros. 2017-04-03 19:25:19 +00:00
Tom Stellard
1bbe5adca1 LLVM 4.0.0 Final Release 2017-03-23 15:27:34 +00:00
Tom Stellard
05920e6f29 Fix %postun step for -devel package (rhbz 1403539) 2017-03-23 10:39:20 +00:00
Tom Stellard
53af609b63 Disable failing make check tests on ARM (rhbz 1431566) 2017-03-13 19:42:21 +00:00
Peter Robinson
146ec0c4aa Fix missing mask on relocation for aarch64 (rhbz 1429050) 2017-03-12 19:22:26 +00:00
Dave Airlie
97474644bf revert upstream radeonsi breaking change. 2017-03-01 13:07:26 +10:00
Josh Stone
a5fe5a1bb7 disable sphinx warnings-as-errors
Tom Stellard:
  - This flag has the same problem as -Werror does for compilers.
    Different versions of sphinx emit different warnings.  So, even
    though upstream has a documentation buildbot and a policy to fix
    all warnings, if they aren't using the same version of sphinx as
    Fedora, we can hit warnings that they don't see.
2017-02-23 16:05:51 +00:00
Orion Poplawski
6448f2fb83 llvm 3.9.1 2017-02-10 13:59:29 -07:00
Fedora Release Engineering
ce8c38530f - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 19:54:34 +00:00
Josh Stone
0c3be08960 Apply backports from rust-lang/llvm#55, #57 2016-11-29 23:40:15 -08:00
Dave Airlie
ba4dd40fc4 rebuild for new arches 2016-11-01 14:22:05 +10:00
Dave Airlie
88bc7e0447 apply the patch from -4 2016-10-26 14:25:30 +10:00
Dave Airlie
f943e7f14b add fix for lldb out-of-tree build 2016-10-26 10:47:35 +10:00
Josh Stone
44886631c9 Apply backports from rust-lang/llvm#47, #48, #53, #54 2016-10-17 21:19:09 -07:00
Josh Stone
307be8a531 Apply an InstCombine backport via rust-lang/llvm#51 2016-10-15 10:14:40 -07:00
Dave Airlie
262978a62c Revert "llvm-3.9: disable thread pool on 32-bit arches"
This reverts commit af4a723176.

This was a bug in the tags setup
2016-10-14 04:40:52 +10:00
Dave Airlie
af4a723176 llvm-3.9: disable thread pool on 32-bit arches
looks like the threadpool code needs C++11 threads
that not all arches handle.
2016-09-19 10:17:15 +10:00
Dave Airlie
da62168279 llvm 3.9: fix more docs issues 2016-09-19 09:43:53 +10:00
Dave Airlie
1805a94f1f llvm: fix docs even more 2016-09-19 09:34:43 +10:00
Dave Airlie
47b8fae685 llvm-3.9: fix docs build more 2016-09-19 08:47:12 +10:00
Dave Airlie
fba8c442af llvm 3.9: add patch to fix docs build 2016-09-19 08:34:10 +10:00
Dave Airlie
894065ede8 llvm 3.9.0
- upstream moved where cmake files are packaged.
- upstream dropped CppBackend
2016-09-07 16:29:28 +10:00
Adam Jackson
3c6edb0d6b lurn 2 spel 2016-07-13 16:24:19 -04:00
Adam Jackson
2a3c79157c llvm 3.8.1
- Add mips target
- Fix some shared library mispackaging
2016-07-13 16:13:39 -04:00
Jan Vcelak
3019f5f50a fix color support detection on terminal
ncurses-devel is required for terminfo, resolves clang -fdiagnostics-color=auto
2016-06-07 11:36:38 +02:00
Dave Airlie
8e75711dec llvm 3.8.0 release 2016-03-10 10:57:29 +10:00
Dan Horák
c244b9b7d1 - install back memory consumption workaround for s390 2016-03-09 15:33:10 -05:00
Dave Airlie
861af016a7 llvm 3.8.0 rc3 release 2016-03-03 09:24:11 +10:00
Dave Airlie
f8d53342c2 llvm 3.8.0 rc2 release 2016-02-19 10:14:47 +10:00