Compare commits

...

320 Commits

Author SHA1 Message Date
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 4d5a2ef48a Update soures 2020-02-06 05:59:23 +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 f61fd6e557 tests.yml: Add a test to check size of libLLVM.so
There is a bug in the build system that can cause binary stripping
to fail without failing the build, so add a check to ensure that
libLLVM.so is stripped.

https://bugzilla.redhat.com/show_bug.cgi?id=1793250
2020-01-21 16:16:53 +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 a49a481229 Pull llvm-devel-cmake tests from tests/llvm 2019-09-25 02:29:57 +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 547b9347c2 Add missing sources 2019-08-31 01:18:31 +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 a0a7bdc94a Add rust-sanity test 2019-07-19 22:57:37 +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 503ebd4079 Enable gating tests 2019-04-26 17:10:59 +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 432475d32b Add missing sources 2018-08-10 19:36:14 +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 84b2f6d2df Update sources file 2018-06-26 22:08:34 +00: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 29d4881c79 Add 6.0.1-rc1 sources 2018-01-20 01:19:44 +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 ac4d305132 Add missing patch. 2017-10-03 23:13:41 +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 19288f2436 Update .gitignore 2017-03-23 16:14:37 +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
Dan Horák 8b72be44dd - recognize s390 as SystemZ when configuring build 2016-02-16 13:22:44 +01:00
Dave Airlie 1c8a6cde28 limit number of targets, hexagon seems broken on i686 with C++ ABI 2016-02-14 06:52:05 +10:00
Dave Airlie 10a19754ce export C++ API for mesa. 2016-02-13 22:00:29 +10:00
Dave Airlie 7a851779bb reintroduce llvm-static, clang needs it currently. 2016-02-13 06:37:19 +10:00
Dave Airlie 933aa4780e jump back to single llvm library, the split libs aren't working very well. 2016-02-12 16:04:42 +10:00
Dave Airlie d0a77df607 add missing obsoletes (#1303497) 2016-02-05 15:55:15 +10:00
Dennis Gilmore 4fb79db876 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 04:21:26 +00:00
Adam Jackson a95cfcf5aa Fix vaguely ridiculous buildSRPMFromSCM error
error: /builddir/build/SPECS/llvm.spec:70: bad %if condition

Seriously you don't define %{__isa_bits} at srpm time, wtf.
2016-01-27 10:31:18 -05:00
Adam Jackson ca904f135a Switch to 3.7.1 and cmake build 2016-01-27 10:23:13 -05:00
Adam Jackson 384bda605f Enable bpf target 2016-01-22 12:33:45 -05:00
Adam Jackson 64695d69a2 Resolves: rhbz#1282645 add GCC abi_tag support 2015-12-04 10:44:12 -05:00
Adam Jackson 478ee5f860 Drop -fno-devirtualize
- Link with -static-libstdc++ to work around bundled libstdc++ in Steam
2015-11-02 10:42:36 -05:00
Dave Airlie cb91f5f879 llvm 3.7.0
upstream moved clang man pages so deal with generating them
upstream bug somewhere with HAVE_PROCESS_VM_READV, just hard define it
upstream bug with i386/i686 - sed it
upstream bug with // in an include - patch it, fix sent upstream

builds must be out of tree now.
2015-09-16 13:12:52 +10:00
Adam Jackson 82f10bfda6 llvm 3.6.2 2015-07-22 16:35:38 -04:00
Dave Airlie 52028d7261 llvm 3.6.1 2015-06-17 13:46:02 +10:00
Zbigniew Jędrzejewski-Szmek a6aab7633e Add links to bugzilla 2015-05-30 23:34:42 -04:00
Zbigniew Jędrzejewski-Szmek 14f5e03f1b Also require gcc-c++ at runtime 2015-05-29 15:24:33 -04:00
Jens Petersen 19b984da60 BR gcc-c++ explicitly
per revised https://fedoraproject.org/wiki/Packaging:Guidelines#BuildRequires_2
2015-05-22 15:10:13 +09:00
Adam Jackson 2ee1a75aac llvm 3.6.0 2015-04-09 13:10:49 -04:00
Jakub Jelinek 96649fa424 3.5.0-11 2015-02-18 20:19:26 +01:00
Jakub Jelinek ca2a27c7f8 3.5.0-11 2015-02-18 20:10:28 +01:00
Richard W.M. Jones 1f56909754 Bump release and rebuild. 2015-02-18 11:40:01 +00:00
Peter Robinson 5aea06bdf0 Run ldconfig on clang-libs not clang, Update ARMv7 config options 2015-02-18 09:37:45 +00:00
Richard W.M. Jones 394cb582d3 ocaml-4.02.1 rebuild. 2015-02-17 13:55:53 +00:00
Orion Poplawski 173294e694 Add upstream patch for c++11 2015-02-16 10:20:52 -07:00
Orion Poplawski abd386cc33 Rebuild for gcc 5 C++11 2015-02-16 10:11:33 -07:00
Jan Vcelak 0b3c1fca1c lldb, python module: fix symlink to lldb.so
Resolves: #1177143
2014-12-25 22:07:11 +01:00
Jan Vcelak 6a92d8567c lldb: fix broken expression parser 2014-12-25 21:58:20 +01:00
Dan Horák a510ba6576 fix typo 2014-12-18 11:57:35 +01:00
Dan Horák 3ac171699a - use the common workaround for OOM during linking on s390 2014-12-18 11:56:23 +01:00
Jens Petersen a8e5b07ec1 move license file to llvm-libs, and minor spec file cleanup
- remove tabs (rpmlint)
- use %name to keep llvm34.spec closer
- remove %defattr's (does recent llvm even build on RHEL5?)
2014-11-19 16:33:30 +09:00
Adam Jackson cb08fc50fa Split out clang-libs 2014-11-05 14:49:09 -05:00
Kalev Lember 67af680f81 Obsolete python-llvmpy
https://lists.fedoraproject.org/pipermail/devel/2014-October/203599.html
2014-10-28 12:08:39 +01:00
Adam Jackson 5b7309a0cb llvm 3.5.0 2014-10-27 11:51:26 -04:00
Richard W.M. Jones cf5904acdb Bump release and rebuild. 2014-08-31 22:40:23 +01:00
Richard W.M. Jones 8fceae7d42 ocaml-4.02.0 final rebuild. 2014-08-31 11:55:14 +01:00
Richard W.M. Jones ee5f0d1c78 Bump release and rebuild. 2014-08-24 14:42:51 +01:00
Richard W.M. Jones c1688f029b ocaml-4.02.0+rc1 rebuild. 2014-08-23 22:13:11 +01:00
Peter Robinson 41799531c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 07:27:41 +00:00
Dan Horák fa2d0d0bb1 add the ppc64le patch back 2014-08-14 18:02:13 +02:00
Adam Jackson 826a3b9bbe Restore ppc64le fix 2014-08-14 10:42:15 -04:00
Richard W.M. Jones b7fc1c0f82 ocaml-4.02.0-0.8.git10e45753.fc22 rebuild. 2014-08-02 13:26:08 +01:00
Adam Jackson f4bd583c14 llvm and clang 3.4.2 2014-07-24 11:23:21 -04:00
Richard W.M. Jones 71e12c6c83 OCaml 4.02.0 beta rebuild. 2014-07-22 10:57:12 +01:00
Adam Jackson 440caf8ff8 Different attempt to default to hard-float on arm (#803433) 2014-06-11 14:58:20 -04:00
Dennis Gilmore 0a9388755b - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 01:37:22 -05:00
Adam Jackson 34d599e903 Backport a ppc64le fix to get things started bootstrapping 2014-06-04 11:53:55 -04:00
Adam Jackson 4484a39549 Attempt to default to hard-float on arm (#803433) 2014-06-02 11:27:54 -04:00
Adam Jackson 8150742540 llvm 3.4.1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-05-29 11:45:39 -04:00
Adam Jackson 1d31e993db Don't conditionalize lldb source, it doesn't work like you expect 2014-04-11 14:51:13 -04:00
Rex Dieter 668585c6ab libs: Obsoletes: OpenGTL libQtGTL 2014-03-27 15:16:28 -05:00
Dave Airlie 3f23b322d6 backport patches from 3.5 to enable GL3.3 on radeonsi 2014-03-19 06:10:53 +00:00
Kyle McMartin 78ab5197f2 disable lldb on everything but x86_64, and i686. It hasn't been ported beyond those platforms so far 2014-01-31 19:33:38 -05:00
Dave Airlie eaac0fa3d3 bump nvr for lldb on ppc disable 2014-01-17 09:51:03 +10:00
Dave Airlie 53ecfe1814 llvm: don't build lldb on powerpc
this fails to build upstream due to a collision between

https://bugzilla.redhat.com/show_bug.cgi?id=1049976
2014-01-16 14:03:28 +10:00
Dave Airlie b04ba796eb add ncurses-devel BR and Requires 2014-01-14 17:58:29 +10:00
Dave Airlie 283a960f2b add ncurses-devel buildreq 2014-01-14 17:57:10 +10:00
Dave Airlie eb791e93dd update to llvm 3.4 release (part 2)
add lldb-devel subpackage
2014-01-14 11:06:54 +10:00
Dave Airlie bf2cfe23d5 update to llvm 3.4 release 2014-01-14 10:15:26 +10:00
Jan Vcelak 230d47c2ff fix macro expansion when checking Fedora release 2014-01-05 10:35:22 +01:00
Jan Vcelak 0242d4d552 include LLVM cmake modules into devel package
Resolves: #914713
2013-12-20 09:07:42 +01:00
Jan Vcelak 4ac733a9d6 fix: requirements for llvm-ocaml-devel packages
Resolves: #975914
2013-12-20 09:07:42 +01:00
Jan Vcelak 9dd4cd3a17 fix: scan-build manual page is installed into wrong location
Resolves: #1038829
2013-12-20 09:07:41 +01:00
Jan Vcelak f6033f2696 run ldconfig when installing lldb
Resolves: #1044431
2013-12-20 09:07:41 +01:00
Jan Vcelak ab1203ad2d remove RPATHs from binaries 2013-12-20 09:07:25 +01:00
Jan Vcelak 713098981a clang-analyzer: fix scan-build search for compiler
Resolves: #982645
2013-11-30 00:41:41 +01:00
Jan Vcelak ccf33f4a84 properly obsolete clang-doc subpackage
Resolves: #1035268
2013-11-30 00:35:14 +01:00
Jan Vcelak 8d395c3670 fix build, missing __clear_cache() declaration 2013-11-21 14:29:47 +01:00
Jan Vcelak be655c46e5 update to 3.3, add compiler-rt and lldb
- update to 3.3
- enable compiler-rt compilation, enables ASAN
- add lldb sources (LLVM debugger)
- clean up documentation
- remove patches applied upstream
- remove unused patches and snapshot scripts
- place all documentation files in %install (%files seems to have some
  limit on number of files matched by * wildcard)
2013-11-13 23:39:42 +01:00
Jakub Jelinek fe12f5f743 3.3-0.10.rc3 2013-10-17 20:19:34 +02:00
Richard W.M. Jones e9eba4e0cd Rebuild for OCaml 4.01.0. 2013-09-14 14:14:25 +01:00
Dennis Gilmore 33d1985d4b - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 02:56:15 -05:00
Petr Písař 3337b53c75 Perl 5.18 rebuild 2013-07-17 10:34:07 +02:00
Adam Jackson c6971175f4 llvm 3.3-rc3 2013-06-10 12:47:39 -04:00
Adam Jackson a418044a54 Rebuild for gcc 4.8.1 2013-06-04 14:14:24 -04:00
Adam Jackson dd9e07d29f llvm 3.3-rc2 2013-05-28 11:33:43 -04:00
Peter Robinson 069eca6dd2 Enable aarch64 target 2013-05-18 14:02:58 +01:00
Adam Jackson 9b3371e368 add snapshot scripts 2013-05-08 13:05:11 -04:00
Adam Jackson 94fba1fe65 Bump to LLVM 3.3svn
- Enable s390 backend
2013-05-08 13:00:08 -04:00
Adam Jackson 6531bd75df Only build codegen backends for arches that actually exist in Fedora 2013-05-06 12:00:54 -04:00
Adam Jackson bb18301e2a Tweak ld flags for memory usage and performance 2013-05-01 17:33:11 -04:00
Jens Petersen 4a3f4354c7 fix old bogus date and drop llvm-3.2-clang-driver-secondary-arch-triplets.patch
since it didn't actually help - insufficient

The triplets issue (#803433) really needs badly to be reported upstream.
2013-04-04 12:39:32 +09:00
Dennis Gilmore c9608480ef add a hack to clang defaulting arm to hardfloat 2013-03-31 21:13:02 -05:00
Adam Jackson bd03f325e1 a pre-push hook to check if you +PatchN'd and didn't git-add might be cool 2013-03-08 06:04:03 -05:00
Adam Jackson 97e156aa42 Update R600 patches
- Move static libs to -static subpackage
- Prep for F18 backport
2013-03-08 05:41:56 -05:00
Jens Petersen 4e85cfa1b5 ok hardcode gcc_version again for koji building 2013-02-19 16:29:30 +09:00
Jens Petersen e00c2256e8 do not version the gcc BRs to keep koji srpm creation happy
koji does not have gcc in the srpm buildroot
2013-02-19 16:19:03 +09:00
Jens Petersen 2f5517cd53 update to 3.2 with R600 patchset from tstellar's git repo
- llvm-fix-ghc.patch is upstream
- llvm-3.1-docs-pod-markup-fixes.patch no longer needed
- add llvm-3.2-clang-driver-secondary-arch-triplets.patch (#803433)
- build with gcc/g++ even if clang is installed
- use gcc -dumpversion again to set gcc_version
- llvm-config.1 manpage is no longer
2013-02-13 20:52:19 +09:00
Jens Petersen b8204c16e0 acknowledge Yury Zaytsev for his help with #893817 2013-02-08 18:41:26 +09:00
Jens Petersen a185901e95 configure gcc arch include dir again with --with-c-include-dirs (#893817)
(was in F16 but dropped during F17 development in 3.0-0.1.rc3)

    - BR gcc and gcc-c++ with gcc_version
2013-02-08 18:24:32 +09:00
Jens Petersen 30312b5797 pod2man moved to perl-podlators in F19 2013-01-31 18:02:29 +09:00
Jens Petersen 74f5b79ee7 move lvm-config manpage to devel subpackage (#855882) 2013-01-31 16:56:20 +09:00
Kalev Lember 4040d82d1b Rebuilt for GCC 4.8.0 2013-01-25 18:30:43 +01:00
Jens Petersen cbfd76e5c0 fix another pod2man markup error in llvm-cov.pod
- make the patch file more general name

llvm-cov.pod around line 21: Unterminated B<...> sequence
llvm-cov.pod around line 26: Unterminated B<...> sequence

should be no further errors hopefully
2013-01-23 13:59:28 +09:00
Jens Petersen b27d0335ad fix pod parsing error in lit.pod
"lit.pod around line 389: =back without =over"
2013-01-23 13:00:54 +09:00
Jens Petersen 4bbca008d9 rebuild for F19 ARM ldconfig issue (#893294) 2013-01-23 11:01:49 +09:00
Richard W.M. Jones 39fcb67ae0 Rebuild for OCaml 4.00.1. 2012-10-29 14:25:55 +00:00
Michel Alexandre Salim 9d73f9bb7a Actually build against GCC 4.7.2 2012-09-24 15:49:03 +07:00
Michel Alexandre Salim 5e1a5c2175 Rebuild for GCC 4.7.2 2012-09-24 14:16:58 +07:00
Dan Horák 3ce0b9ccd8 Apply clang patches only when clang is being built 2012-08-14 09:50:03 +02:00
Dennis Gilmore 3a31d79945 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 17:02:02 -05:00
Peter Robinson e4d99d1bd8 Rename patch as it actually fixes Haskell 2012-07-13 10:28:31 +01:00
Peter Robinson 23fedafb32 Add patch to fix building OCAML on ARM 2012-07-13 08:33:20 +01:00
Michel Alexandre Salim a8758deeb8 Actually set runtime dependency on libstdc++ 4.7.1 2012-07-04 21:21:24 +07:00
Peter Robinson 1fd52d5145 Rebuild for new libstdc++ bump 2012-07-03 09:36:16 +01:00
Richard W.M. Jones 588e7c5ccd Rebuild for OCaml 4.00.0. 2012-06-10 21:43:17 +01:00
Michel Alexandre Salim 8dfeb9f925 Rebuild for ocaml 4.00.0 beta 2012-06-08 23:48:35 +07:00
Dave Airlie 9e49469714 llvm-config: fix to report correct libdir
I noticed that llvm-config is now a c++ app, and it does the wrong
thing completely on Fedora, so hard code the Fedora packaging libdir
in it.
2012-06-03 15:44:12 +01:00
Dave Airlie dcd073e711 rebase to 3.1 + add r600 patches from Tom Stellar 2012-06-03 14:39:04 +01:00
Peter Robinson 98be43ec03 Add compiler build options for ARM hardfp 2012-05-25 14:47:38 +01:00
Peter Robinson 5362a9b552 bump build 2012-05-06 10:04:00 +01:00
Michel Alexandre Salim 460419b933 Hardcode GCC version to avoid macro expansion problems 2012-03-30 18:24:20 +07:00
Michel Alexandre Salim de5c3ae498 Replace overly-broad dependency on gcc-c++ with gcc and libstdc++-devel
- Pin clang's dependency on libstdc++-devel to the version used for building
- Standardize on bcond for conditional build options
- Remove /lib from search path, everything is now in /usr/lib*
- Remove obsoleted patches
2012-03-30 17:57:30 +07:00
Kalev Lember 9dca0ca4bc Build without -ftree-pre as a workaround for clang segfaulting on x86_64
https://bugzilla.redhat.com/show_bug.cgi?id=791365
2012-03-26 20:00:45 +03:00
Karsten Hopp 8fe0322526 undefine PPC on ppc as a temporary workaround for RHBZ#769803
and http://llvm.org/bugs/show_bug.cgi?id=10969
2012-03-17 22:36:00 +01:00
Michel Alexandre Salim db8da8feee Apply upstream patch to properly link LLVMgold against LTO 2012-02-25 09:41:59 +01:00
Michel Alexandre Salim 0e3ec48b46 actually enable by default, not disable, Gold linker support on supported arch 2012-02-24 12:37:47 +01:00
Michel Alexandre Salim 0b697ba2ef Build LLVMgold plugin on supported architectures 2012-02-24 11:00:34 +01:00
Michel Alexandre Salim 5f9e49a546 Restore Ocaml workaround; fix was not actually in 3.0 (must have gone
in to trunk instead of the 3.0 branch)
2012-02-07 09:40:34 +01:00
Michel Alexandre Salim 420ce4302c Make subpackage dependencies arch-specific
- Make LLVM test failures non-fatal on ARM architectures as well (# 770208)
- Save LLVM test log on platforms where it fails
2012-02-07 03:00:49 +01:00
Michel Alexandre Salim fc6bd59279 Remove Ocaml workaround; fixed before 3.0 final 2012-02-05 20:21:07 +01:00
Michel Alexandre Salim cfc53b6ee2 Clang test suite yields unexpected failures with GCC 4.7.0. Make
this non-fatal and save the results
- Multilib fix for harcoded ld search path in ./configure script
2012-02-05 18:30:43 +01:00
Richard W.M. Jones 1c3272606c Rebuild for OCaml 3.12.1. 2012-01-07 18:05:03 +00:00
Adam Jackson 3bc0872412 Also ExcludeArch: ppc* in RHEL 2011-12-14 12:52:23 -05:00
Adam Jackson 2fb04f7706 ExcludeArch: s390* in RHEL since the native backend has disappeared in 3.0 2011-12-13 14:34:14 -05:00
Michel Alexandre Salim e69facf843 Update to final 3.0 release 2011-12-11 11:44:19 +01:00
Adam Jackson 194b08ba83 RHEL customization: disable clang, --enable-targets=host 2011-12-05 17:44:54 -05:00
Michel Alexandre Salim 9ff19058fe Update to 3.0rc3 2011-11-11 18:59:32 +01:00
Dan Horák 18499e0ccf don't fail the build on failing tests on ppc(64) and s390(x) 2011-10-11 13:35:38 +02:00
Michel Alexandre Salim 82f66d2993 fix typo in patch level 2011-09-30 16:42:01 +02:00
Michel Alexandre Salim 3946039b09 Apply upstream patch for Operator.h C++0x incompatibility (# 737365) 2011-09-30 16:33:35 +02:00
Michel Alexandre Salim 03709243e8 Disable LLVM test suite on ppc64 architecture (# 728604)
Disable clang test suite on ppc* architectures (-)
2011-08-06 17:06:07 +02:00
Michel Alexandre Salim 30d75c98d6 Further restrict the amount of resources used by test suites;
hopefully this leads to builds stalling less often
2011-08-03 15:41:51 +02:00
Michel Alexandre Salim d9bb825c22 Add runtime dependency of -devel on libffi-devel 2011-08-03 11:34:38 +02:00
Michel Alexandre Salim b3232c7028 Fix incorrect platform-specific include path on i686 2011-08-02 00:03:34 +02:00
Michel Alexandre Salim a5a420ce6d Update to 2.9
Depend on libffi to allow the LLVM interpreter to call external functions
Build with RTTI enabled, needed by e.g. Rubinius (# 722714)
Fix multilib installation
2011-08-01 18:50:42 +02:00
Karsten Hopp 8b95ec6e4c enable ppc64 build 2011-05-31 01:30:56 +02:00
Michel Alexandre Salim a09d313c9e Make sure N-V-R is increasing 2011-04-05 01:30:57 +02:00
Michel Alexandre Salim 9bdfe6c66a Update to 2.9rc2 2011-03-25 15:47:42 +01:00
Michel Alexandre Salim 999f90581f Move ldconfig triggers to the subpackages containing .so files
(cherry picked from commit 2fc8420d0f)
2011-03-18 18:15:05 +01:00
Michel Alexandre Salim a8c599f15f Don't include test logs; breaks multilib (# 666195)
Split shared libraries into separate subpackage
2011-03-18 18:14:50 +01:00
Michel Alexandre Salim 8686d9a488 Don't include test logs; breaks multilib (# 666195) 2011-03-18 18:13:01 +01:00
Michel Alexandre Salim 0b4dbd52ce Don't include 'bits' in the include path override
(cherry picked from commit 88425e38fa)
2011-03-18 18:07:48 +01:00
Michel Alexandre Salim b1c21fa55e Fix 32bit-dir and 64-dir parameters: should be relative, not absolute
(cherry picked from commit b32ca652bd)
2011-03-18 18:07:48 +01:00
Michel Alexandre Salim 68d1c11c89 clang++: also search for platform-specific include files (# 680644) 2011-03-18 18:07:34 +01:00
Michel Alexandre Salim a914126716 also package macho-dump 2011-03-10 22:40:20 +01:00
Michel Alexandre Salim 383ea0fe0b Update to 2.9rc1 2011-03-10 22:25:04 +01:00
Dennis Gilmore 75d0f4e42d - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 07:26:30 -06:00
Richard W.M. Jones 4bd5997c88 Bump and rebuild. 2011-01-10 17:16:53 +00:00
Michel Alexandre Salim e60dbac558 handle cases where gcc/c++ use symlink for header directories (e.g. F-13's
update from 4.4.4->4.4.5 keeps headers in 4.4.4 but has a 4.4.5 symlink)
(cherry picked from commit f73b06ba5c)
2010-11-27 17:38:36 +01:00
Michel Alexandre Salim 05504a3c90 - clang now requires gcc-c++ for linking and headers (bug #654560) 2010-11-27 15:30:51 +01:00
Michel Alexandre Salim 3fc5264af2 - Backport support for C++0x (# 648990) 2010-11-12 16:12:10 +01:00
Michel Alexandre Salim 3107968a59 - Re-add omitted %{_includedir} 2010-10-15 01:02:11 +02:00
Michel Alexandre Salim 7ea8ecf20f - Add correct C include directory at compile time (# 641500) 2010-10-14 22:24:08 +02:00
Michel Alexandre Salim 09e7c11d3e - Update to 2.8 release 2010-10-12 17:38:42 +02:00
Jesse Keating ff6b65b9e1 - Rebuilt for gcc bug 634757 2010-09-29 14:45:01 -07:00
Michel Alexandre Salim b302e35e85 clog 2010-09-20 14:50:09 +02:00
Dennis Gilmore 6668812d9f disable ocaml on sparc64 since ocaml doesnt build there 2010-09-15 09:30:46 -05:00
David Malcolm d3b17da7f8 recompiling .py files against Python 2.7 (rhbz#623332) 2010-08-11 17:46:55 -04:00
Fedora Release Engineering 60da43cf2b dist-git conversion 2010-07-29 02:29:26 +00:00
Dan Horák 434321d311 - conditionalize ocaml support 2010-07-17 13:43:22 +00:00
Michel Alexandre Salim bda980e972 - Make the new noarch -doc obsoletes older (arched) subpackages 2010-06-09 18:51:39 +00:00
Michel Alexandre Salim c0c6405943 - Add F-12/x86_64 and F-13 C++ header paths 2010-06-05 11:49:56 +00:00
Michel Alexandre Salim b8f7dc403d - Revert to disabling apidoc by default 2010-05-26 18:57:22 +00:00
Michel Alexandre Salim 27c0ebc1cd Make all doc subpackages noarch 2010-05-24 09:38:59 +00:00
Michel Alexandre Salim c7b1517ba9 Fix clang-apidoc's missing -n in %%files section 2010-05-24 09:26:17 +00:00
Michel Alexandre Salim c73f9c2579 - Exclude llm-gcc manpages
- Turn on apidoc generation
- Build with srcdir=objdir, otherwise clang doxygen build fails
2010-05-24 09:24:22 +00:00
Michel Alexandre Salim 64041e30b5 - Update to final 2.7 release 2010-05-02 21:33:16 +00:00
Michel Alexandre Salim a1caa14611 Fix typo: %%config not %%conf 2010-03-28 12:44:53 +00:00
Michel Alexandre Salim 216ddcf1e4 - Update to first 2.7 pre-release 2010-03-28 11:54:59 +00:00
22 changed files with 1270 additions and 819 deletions

View File

@ -1,2 +0,0 @@
llvm-2.6.tar.gz
clang-2.6.tar.gz

70
.gitignore vendored Normal file
View File

@ -0,0 +1,70 @@
/cfe-*.src.tar.gz
/compiler-rt-*.src.tar.gz
/lldb-*.src.tar.gz
/llvm-*.src.tar.gz
/clang-3.4.src.tar.gz
/cfe-3.5.0.src.tar.xz
/compiler-rt-3.5.0.src.tar.xz
/lldb-3.5.0.src.tar.xz
/llvm-3.5.0.src.tar.xz
/cfe-3.6.0.src.tar.xz
/compiler-rt-3.6.0.src.tar.xz
/lldb-3.6.0.src.tar.xz
/llvm-3.6.0.src.tar.xz
/llvm-3.6.1.src.tar.xz
/compiler-rt-3.6.1.src.tar.xz
/cfe-3.6.1.src.tar.xz
/lldb-3.6.1.src.tar.xz
/cfe-3.6.2.src.tar.xz
/compiler-rt-3.6.2.src.tar.xz
/lldb-3.6.2.src.tar.xz
/llvm-3.6.2.src.tar.xz
/llvm-3.7.0.src.tar.xz
/cfe-3.7.0.src.tar.xz
/compiler-rt-3.7.0.src.tar.xz
/lldb-3.7.0.src.tar.xz
/llvm-3.7.1.src.tar.xz
/llvm-3.8.0rc2.src.tar.xz
/llvm-3.8.0rc3.src.tar.xz
/llvm-3.8.0.src.tar.xz
/llvm-3.8.1.src.tar.xz
/llvm-3.9.0.src.tar.xz
/llvm-3.9.1.src.tar.xz
/llvm-4.0.0.src.tar.xz
/llvm-4.0.1.src.tar.xz
/llvm-5.0.0.src.tar.xz
/llvm-5.0.1.src.tar.xz
/llvm-6.0.0rc1.src.tar.xz
/llvm-6.0.0rc2.src.tar.xz
/llvm-6.0.0.src.tar.xz
/llvm-6.0.1rc1.src.tar.xz
/llvm-6.0.1rc2.src.tar.xz
/llvm-6.0.1.src.tar.xz
/llvm-7.0.0rc1.src.tar.xz
/llvm-7.0.0rc2.src.tar.xz
/llvm-7.0.0rc3.src.tar.xz
/llvm-7.0.0.src.tar.xz
/llvm-7.0.1.src.tar.xz
/llvm-8.0.0rc1.src.tar.xz
/llvm-8.0.0rc2.src.tar.xz
/llvm-8.0.0rc3.src.tar.xz
/llvm-8.0.0rc4.src.tar.xz
/llvm-8.0.0.src.tar.xz
/llvm-9.0.0rc2.src.tar.xz
/llvm-9.0.0rc3.src.tar.xz
/llvm-9.0.0.src.tar.xz
/llvm-9.0.1.src.tar.xz
/llvm-10.0.0rc1.src.tar.xz
/llvm-10.0.0rc1.src.tar.xz.sig
/llvm-10.0.0rc2.src.tar.xz
/llvm-10.0.0rc2.src.tar.xz.sig
/llvm-10.0.0rc3.src.tar.xz
/llvm-10.0.0rc3.src.tar.xz.sig
/llvm-10.0.0rc4.src.tar.xz
/llvm-10.0.0rc4.src.tar.xz.sig
/llvm-10.0.0rc5.src.tar.xz
/llvm-10.0.0rc5.src.tar.xz.sig
/llvm-10.0.0rc6.src.tar.xz
/llvm-10.0.0rc6.src.tar.xz.sig
/llvm-10.0.0.src.tar.xz
/llvm-10.0.0.src.tar.xz.sig

View File

@ -0,0 +1,66 @@
From 8f6917ea11bd1bfbfe07f3577756d1c4abfdb916 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Fri, 6 Sep 2019 11:03:18 -0700
Subject: [PATCH] CMake: Split static library exports into their own export
file
---
llvm/cmake/modules/AddLLVM.cmake | 6 +++++-
llvm/cmake/modules/CMakeLists.txt | 3 +++
llvm/cmake/modules/LLVMConfig.cmake.in | 2 ++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 619e986..200fc45 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -691,7 +691,11 @@ macro(add_llvm_library name)
if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
(in_llvm_libs AND "llvm-libraries" IN_LIST LLVM_DISTRIBUTION_COMPONENTS) OR
NOT LLVM_DISTRIBUTION_COMPONENTS)
- set(export_to_llvmexports EXPORT LLVMExports)
+ if (ARG_SHARED)
+ set(export_to_llvmexports EXPORT LLVMExports)
+ else()
+ set(export_to_llvmexports EXPORT LLVMStaticExports)
+ endif()
set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True)
endif()
diff --git a/llvm/cmake/modules/CMakeLists.txt b/llvm/cmake/modules/CMakeLists.txt
index 9cf22b4..dc982d2 100644
--- a/llvm/cmake/modules/CMakeLists.txt
+++ b/llvm/cmake/modules/CMakeLists.txt
@@ -105,6 +105,7 @@ set(LLVM_CONFIG_BINARY_DIR "\${LLVM_INSTALL_PREFIX}")
set(LLVM_CONFIG_TOOLS_BINARY_DIR "\${LLVM_INSTALL_PREFIX}/bin")
set(LLVM_CONFIG_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMExports.cmake")
set(LLVM_CONFIG_EXPORTS "${LLVM_EXPORTS}")
+set(LLVM_CONFIG_STATIC_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMStaticExports.cmake")
configure_file(
LLVMConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/LLVMConfig.cmake
@@ -121,6 +122,8 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
if(llvm_has_exports)
install(EXPORT LLVMExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR}
COMPONENT cmake-exports)
+ install(EXPORT LLVMStaticExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR}
+ COMPONENT cmake-exports)
endif()
install(FILES
diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
index 536031f..6ef54a0 100644
--- a/llvm/cmake/modules/LLVMConfig.cmake.in
+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
@@ -89,6 +89,8 @@ if(NOT TARGET LLVMSupport)
set(LLVM_EXPORTED_TARGETS "@LLVM_CONFIG_EXPORTS@")
include("@LLVM_CONFIG_EXPORTS_FILE@")
@llvm_config_include_buildtree_only_exports@
+
+ include("@LLVM_CONFIG_STATIC_EXPORTS_FILE@" OPTIONAL)
endif()
# By creating intrinsics_gen here, subprojects that depend on LLVM's
--
1.8.3.1

View File

@ -0,0 +1,65 @@
From 9d496e978f59e153bb76e92229d5a524d92dee04 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Tue, 10 Sep 2019 13:33:48 -0700
Subject: [PATCH] CMake: Split test binary exports into their own export file
---
llvm/cmake/modules/AddLLVM.cmake | 7 ++++++-
llvm/cmake/modules/CMakeLists.txt | 3 +++
llvm/cmake/modules/LLVMConfig.cmake.in | 1 +
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 200fc45..9eec7a7 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -953,7 +953,12 @@ macro(add_llvm_utility name)
set(export_to_llvmexports)
if (${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
NOT LLVM_DISTRIBUTION_COMPONENTS)
- set(export_to_llvmexports EXPORT LLVMExports)
+ if (${name} STREQUAL "not" OR ${name} STREQUAL "count" OR
+ ${name} STREQUAL "yaml-bench" OR ${name} STREQUAL "lli-child-target")
+ set(export_to_llvmexports EXPORT LLVMTestExports)
+ else()
+ set(export_to_llvmexports EXPORT LLVMExports)
+ endif()
set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True)
endif()
diff --git a/llvm/cmake/modules/CMakeLists.txt b/llvm/cmake/modules/CMakeLists.txt
index dc982d2..c861f45 100644
--- a/llvm/cmake/modules/CMakeLists.txt
+++ b/llvm/cmake/modules/CMakeLists.txt
@@ -106,6 +106,7 @@ set(LLVM_CONFIG_TOOLS_BINARY_DIR "\${LLVM_INSTALL_PREFIX}/bin")
set(LLVM_CONFIG_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMExports.cmake")
set(LLVM_CONFIG_EXPORTS "${LLVM_EXPORTS}")
set(LLVM_CONFIG_STATIC_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMStaticExports.cmake")
+set(LLVM_CONFIG_TEST_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMTestExports.cmake")
configure_file(
LLVMConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/LLVMConfig.cmake
@@ -124,6 +125,8 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
COMPONENT cmake-exports)
install(EXPORT LLVMStaticExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR}
COMPONENT cmake-exports)
+ install(EXPORT LLVMTestExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR}
+ COMPONENT cmake-exports)
endif()
install(FILES
diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
index 6ef54a0..d81b09a 100644
--- a/llvm/cmake/modules/LLVMConfig.cmake.in
+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
@@ -91,6 +91,7 @@ if(NOT TARGET LLVMSupport)
@llvm_config_include_buildtree_only_exports@
include("@LLVM_CONFIG_STATIC_EXPORTS_FILE@" OPTIONAL)
+ include("@LLVM_CONFIG_TEST_EXPORTS_FILE@" OPTIONAL)
endif()
# By creating intrinsics_gen here, subprojects that depend on LLVM's
--
1.8.3.1

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: llvm
# $Id: Makefile,v 1.1 2008/01/21 17:30:08 kevin Exp $
NAME := llvm
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

12
gating.yaml Normal file
View File

@ -0,0 +1,12 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_testing
rules:
- !PassingTestCaseRule {test_case_name: org.centos.prod.ci.pipeline.allpackages-build.package.test.functional.complete}
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
rules:
- !PassingTestCaseRule {test_case_name: org.centos.prod.ci.pipeline.allpackages-build.package.test.functional.complete}

52
hans-gpg-key.asc Normal file
View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
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
67H2IH//2sf8dw==
=ADVe
-----END PGP PUBLIC KEY BLOCK-----

17
lit.fedora.cfg.py Normal file
View File

@ -0,0 +1,17 @@
config.llvm_tools_dir = '/usr/bin'
config.llvm_shlib_dir = '%(llvm_shlib_dir)s' % lit_config.params
if hasattr(config, 'host_triple'):
# This means we are running lit regression tests
# Regression tests write output to this directory, so we need to be able to specify
# a temp directory when invoking lit. e.g. lit -Dllvm_obj_root=/tmp/lit
config.llvm_obj_root = "%(llvm_obj_root)s" % lit_config.params
lit_config.load_config(config, '%(llvm_test_root)s/lit.cfg.py' % lit_config.params)
else:
# This means we are running lit unit tests
# For unit tests, llvm_obj_root is used to find the unit test binaries.
config.llvm_obj_root = '%(llvm_unittest_bindir)s' % lit_config.params
lit_config.load_config(config, '%(llvm_test_root)s/Unit/lit.cfg.py' % lit_config.params)

View File

@ -1,11 +0,0 @@
--- llvm-2.5/configure.tclsh_check 2009-02-03 00:29:49.000000000 -0500
+++ llvm-2.5/configure 2009-09-05 12:25:54.761389908 -0400
@@ -8032,7 +8032,7 @@
else
if test x"${with_tclinclude}" != x ; then
- if test -f ${with_tclinclude}/tclsh ; then
+ if test -f ${with_tclinclude}/tcl.h ; then
ac_cv_path_tclsh=`(cd ${with_tclinclude}; pwd)`
elif test -f ${with_tclinclude}/src/tclsh ; then
ac_cv_path_tclsh=`(cd ${with_tclinclude}/src; pwd)`

View File

@ -1,99 +0,0 @@
From 01c48a60e0a3bcd2e4d6829f2f0186d4ee6ef504 Mon Sep 17 00:00:00 2001
From: Erick Tryzelaar <erickt@pixar.com>
Date: Fri, 21 Aug 2009 12:37:18 -0700
Subject: [PATCH] Use LLVM's new DESTDIR-less PROJ_* variables.
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.6.4"
This is a multi-part message in MIME format.
--------------1.6.4
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
---
docs/Makefile | 18 +++++++++---------
docs/tools/Makefile | 6 +++---
tools/clang-cc/Makefile | 2 +-
3 files changed, 13 insertions(+), 13 deletions(-)
--------------1.6.4
Content-Type: text/x-patch; name="0001-Use-LLVM-s-new-DESTDIR-less-PROJ_-variables.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="0001-Use-LLVM-s-new-DESTDIR-less-PROJ_-variables.patch"
diff --git docs/Makefile docs/Makefile
index 9b706c7..e9bbb28 100644
--- docs/Makefile
+++ docs/Makefile
@@ -48,11 +48,11 @@ generated:: doxygen
install-html: $(PROJ_OBJ_DIR)/html.tar.gz
$(Echo) Installing HTML documentation
- $(Verb) $(MKDIR) $(PROJ_docsdir)/html
- $(Verb) $(MKDIR) $(PROJ_docsdir)/html/img
- $(Verb) $(DataInstall) $(HTML) $(PROJ_docsdir)/html
-# $(Verb) $(DataInstall) $(IMAGES) $(PROJ_docsdir)/html/img
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(PROJ_docsdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/img
+ $(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html
+# $(Verb) $(DataInstall) $(IMAGES) $(DESTDIR)$(PROJ_docsdir)/html/img
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir)
$(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
$(Echo) Packaging HTML documentation
@@ -63,11 +63,11 @@ $(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
install-doxygen: doxygen
$(Echo) Installing doxygen documentation
- $(Verb) $(MKDIR) $(PROJ_docsdir)/html/doxygen
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(PROJ_docsdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir)
$(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \
$(FIND) . -type f -exec \
- $(DataInstall) {} $(PROJ_docsdir)/html/doxygen \;
+ $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/html/doxygen \;
doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz
@@ -94,4 +94,4 @@ $(LLVM_SRC_ROOT)/docs/userloc.html:
uninstall-local::
$(Echo) Uninstalling Documentation
- $(Verb) $(RM) -rf $(PROJ_docsdir)
+ $(Verb) $(RM) -rf $(DESTDIR)$(PROJ_docsdir)
diff --git docs/tools/Makefile docs/tools/Makefile
index 90eb776..8107754 100644
--- docs/tools/Makefile
+++ docs/tools/Makefile
@@ -81,9 +81,9 @@ EXTRA_DIST := $(POD)
clean-local::
$(Verb) $(RM) -f pod2htm*.*~~ $(HTML) $(MAN) $(PS)
-HTML_DIR := $(PROJ_docsdir)/html/clang
-MAN_DIR := $(PROJ_mandir)/man1
-PS_DIR := $(PROJ_docsdir)/ps
+HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/clang
+MAN_DIR := $(DESTDIR)$(PROJ_mandir)/man1
+PS_DIR := $(DESTDIR)$(PROJ_docsdir)/ps
install-html:: $(HTML)
$(Echo) Installing HTML Clang Tools Documentation
diff --git tools/clang-cc/Makefile tools/clang-cc/Makefile
index 874a42f..7c31f37 100644
--- tools/clang-cc/Makefile
+++ tools/clang-cc/Makefile
@@ -27,6 +27,6 @@ USEDLIBS = clangFrontend.a clangCodeGen.a clangAnalysis.a \
# clang-cc lives in a special location; we can get away with this
# because nothing else gets installed from here.
-PROJ_bindir := $(DESTDIR)$(PROJ_prefix)/libexec
+PROJ_bindir := $(PROJ_prefix)/libexec
include $(LLVM_SRC_ROOT)/Makefile.rules
--------------1.6.4--

View File

@ -1,317 +0,0 @@
diff -ru llvm-2.6.orig/docs/CommandGuide/Makefile llvm-2.6/docs/CommandGuide/Makefile
--- llvm-2.6.orig/docs/CommandGuide/Makefile 2009-08-31 02:25:32.000000000 -0400
+++ llvm-2.6/docs/CommandGuide/Makefile 2009-09-30 02:28:03.107649582 -0400
@@ -77,9 +77,9 @@
clean-local::
$(Verb) $(RM) -f pod2htm*.*~~ $(HTML) $(MAN) $(PS)
-HTML_DIR := $(PROJ_docsdir)/html/CommandGuide
-MAN_DIR := $(PROJ_mandir)/man1
-PS_DIR := $(PROJ_docsdir)/ps
+HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/CommandGuide
+MAN_DIR := $(DESTDIR)$(PROJ_mandir)/man1
+PS_DIR := $(DESTDIR)$(PROJ_docsdir)/ps
install-local:: $(HTML) $(INSTALL_MANS) $(PS)
$(Echo) Installing HTML CommandGuide Documentation
diff -ru llvm-2.6.orig/docs/Makefile llvm-2.6/docs/Makefile
--- llvm-2.6.orig/docs/Makefile 2008-03-31 13:27:57.000000000 -0400
+++ llvm-2.6/docs/Makefile 2009-09-30 02:28:03.110650445 -0400
@@ -48,11 +48,11 @@
install-html: $(PROJ_OBJ_DIR)/html.tar.gz
$(Echo) Installing HTML documentation
- $(Verb) $(MKDIR) $(PROJ_docsdir)/html
- $(Verb) $(MKDIR) $(PROJ_docsdir)/html/img
- $(Verb) $(DataInstall) $(HTML) $(PROJ_docsdir)/html
- $(Verb) $(DataInstall) $(IMAGES) $(PROJ_docsdir)/html/img
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(PROJ_docsdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/img
+ $(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html
+ $(Verb) $(DataInstall) $(IMAGES) $(DESTDIR)$(PROJ_docsdir)/html/img
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir)
$(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
$(Echo) Packaging HTML documentation
@@ -63,11 +63,11 @@
install-doxygen: doxygen
$(Echo) Installing doxygen documentation
- $(Verb) $(MKDIR) $(PROJ_docsdir)/html/doxygen
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(PROJ_docsdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir)
$(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \
$(FIND) . -type f -exec \
- $(DataInstall) {} $(PROJ_docsdir)/html/doxygen \;
+ $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/html/doxygen \;
doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz
@@ -94,11 +94,11 @@
install-ocamldoc: ocamldoc
$(Echo) Installing ocamldoc documentation
- $(Verb) $(MKDIR) $(PROJ_docsdir)/ocamldoc/html
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(PROJ_docsdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(DESTDIR)$(PROJ_docsdir)
$(Verb) cd $(PROJ_OBJ_DIR)/ocamldoc && \
$(FIND) . -type f -exec \
- $(DataInstall) {} $(PROJ_docsdir)/ocamldoc/html \;
+ $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html \;
ocamldoc: regen-ocamldoc $(PROJ_OBJ_DIR)/ocamldoc.tar.gz
@@ -122,4 +122,4 @@
uninstall-local::
$(Echo) Uninstalling Documentation
- $(Verb) $(RM) -rf $(PROJ_docsdir)
+ $(Verb) $(RM) -rf $(DESTDIR)$(PROJ_docsdir)
diff -ru llvm-2.6.orig/docs/tutorial/Makefile llvm-2.6/docs/tutorial/Makefile
--- llvm-2.6.orig/docs/tutorial/Makefile 2008-03-30 16:32:18.000000000 -0400
+++ llvm-2.6/docs/tutorial/Makefile 2009-09-30 02:28:03.112652092 -0400
@@ -12,7 +12,7 @@
HTML := $(wildcard $(PROJ_SRC_DIR)/*.html)
EXTRA_DIST := $(HTML) index.html
-HTML_DIR := $(PROJ_docsdir)/html/tutorial
+HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/tutorial
install-local:: $(HTML)
$(Echo) Installing HTML Tutorial Documentation
diff -ru llvm-2.6.orig/lib/VMCore/Makefile llvm-2.6/lib/VMCore/Makefile
--- llvm-2.6.orig/lib/VMCore/Makefile 2009-01-09 11:44:42.000000000 -0500
+++ llvm-2.6/lib/VMCore/Makefile 2009-09-30 02:28:03.114651503 -0400
@@ -29,5 +29,5 @@
changed significantly. )
install-local:: $(GENFILE)
- $(Echo) Installing $(PROJ_includedir)/llvm/Intrinsics.gen
- $(Verb) $(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen
+ $(Echo) Installing $(DESTDIR)$(PROJ_includedir)/llvm/Intrinsics.gen
+ $(Verb) $(DataInstall) $(GENFILE) $(DESTDIR)$(PROJ_includedir)/llvm/Intrinsics.gen
diff -ru llvm-2.6.orig/Makefile.config.in llvm-2.6/Makefile.config.in
--- llvm-2.6.orig/Makefile.config.in 2009-08-17 20:40:33.000000000 -0400
+++ llvm-2.6/Makefile.config.in 2009-09-30 02:28:03.099649281 -0400
@@ -76,14 +76,14 @@
LLVMMAKE := $(LLVM_SRC_ROOT)/make
-PROJ_bindir := $(DESTDIR)$(PROJ_prefix)/bin
-PROJ_libdir := $(DESTDIR)$(PROJ_prefix)/lib
-PROJ_datadir := $(DESTDIR)$(PROJ_prefix)/share
-PROJ_docsdir := $(DESTDIR)$(PROJ_prefix)/docs/llvm
-PROJ_etcdir := $(DESTDIR)$(PROJ_prefix)/etc/llvm
-PROJ_includedir := $(DESTDIR)$(PROJ_prefix)/include
-PROJ_infodir := $(DESTDIR)$(PROJ_prefix)/info
-PROJ_mandir := $(DESTDIR)$(PROJ_prefix)/share/man
+PROJ_bindir := $(PROJ_prefix)/bin
+PROJ_libdir := $(PROJ_prefix)/lib
+PROJ_datadir := $(PROJ_prefix)/share
+PROJ_docsdir := $(PROJ_prefix)/docs/llvm
+PROJ_etcdir := $(PROJ_prefix)/etc/llvm
+PROJ_includedir := $(PROJ_prefix)/include
+PROJ_infodir := $(PROJ_prefix)/info
+PROJ_mandir := $(PROJ_prefix)/share/man
# Determine if we're on a unix type operating system
LLVM_ON_UNIX:=@LLVM_ON_UNIX@
diff -ru llvm-2.6.orig/Makefile.rules llvm-2.6/Makefile.rules
--- llvm-2.6.orig/Makefile.rules 2009-09-12 18:25:41.000000000 -0400
+++ llvm-2.6/Makefile.rules 2009-09-30 02:28:03.104648788 -0400
@@ -725,7 +725,7 @@
# in the file so they get built before dependencies
#---------------------------------------------------------
-$(PROJ_bindir) $(PROJ_libdir) $(PROJ_includedir) $(PROJ_etcdir)::
+$(DESTDIR)$(PROJ_bindir) $(DESTDIR)$(PROJ_libdir) $(DESTDIR)$(PROJ_includedir) $(DESTDIR)$(PROJ_etcdir)::
$(Verb) $(MKDIR) $@
# To create other directories, as needed, and timestamp their creation
@@ -847,22 +847,22 @@
uninstall-local::
$(Echo) UnInstall circumvented with NO_INSTALL
else
-install-local:: $(PROJ_etcdir) $(CONFIG_FILES)
- $(Echo) Installing Configuration Files To $(PROJ_etcdir)
+install-local:: $(DESTDIR)$(PROJ_etcdir) $(CONFIG_FILES)
+ $(Echo) Installing Configuration Files To $(DESTDIR)$(PROJ_etcdir)
$(Verb)for file in $(CONFIG_FILES); do \
if test -f $(PROJ_OBJ_DIR)/$${file} ; then \
- $(DataInstall) $(PROJ_OBJ_DIR)/$${file} $(PROJ_etcdir) ; \
+ $(DataInstall) $(PROJ_OBJ_DIR)/$${file} $(DESTDIR)$(PROJ_etcdir) ; \
elif test -f $(PROJ_SRC_DIR)/$${file} ; then \
- $(DataInstall) $(PROJ_SRC_DIR)/$${file} $(PROJ_etcdir) ; \
+ $(DataInstall) $(PROJ_SRC_DIR)/$${file} $(DESTDIR)$(PROJ_etcdir) ; \
else \
$(ECHO) Error: cannot find config file $${file}. ; \
fi \
done
uninstall-local::
- $(Echo) Uninstalling Configuration Files From $(PROJ_etcdir)
+ $(Echo) Uninstalling Configuration Files From $(DESTDIR)$(PROJ_etcdir)
$(Verb)for file in $(CONFIG_FILES); do \
- $(RM) -f $(PROJ_etcdir)/$${file} ; \
+ $(RM) -f $(DESTDIR)$(PROJ_etcdir)/$${file} ; \
done
endif
@@ -949,7 +949,7 @@
ifdef BYTECODE_DESTINATION
ModuleDestDir := $(BYTECODE_DESTINATION)
else
-ModuleDestDir := $(PROJ_libdir)
+ModuleDestDir := $(DESTDIR)$(PROJ_libdir)
endif
ifdef NO_INSTALL
@@ -1028,17 +1028,17 @@
uninstall-local::
$(Echo) Uninstall circumvented with NO_INSTALL
else
-DestSharedLib = $(PROJ_libdir)/lib$(LIBRARYNAME)$(SHLIBEXT)
+DestSharedLib = $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME)$(SHLIBEXT)
install-local:: $(DestSharedLib)
-$(DestSharedLib): $(LibName.SO) $(PROJ_libdir)
+$(DestSharedLib): $(LibName.SO) $(DESTDIR)$(PROJ_libdir)
$(Echo) Installing $(BuildMode) Shared Library $(DestSharedLib)
$(Verb) $(INSTALL) $(LibName.SO) $(DestSharedLib)
uninstall-local::
$(Echo) Uninstalling $(BuildMode) Shared Library $(DestSharedLib)
- -$(Verb) $(RM) -f $(PROJ_libdir)/lib$(LIBRARYNAME).*
+ -$(Verb) $(RM) -f $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME).*
endif
endif
@@ -1083,7 +1083,7 @@
ifdef BYTECODE_DESTINATION
BytecodeDestDir := $(BYTECODE_DESTINATION)
else
-BytecodeDestDir := $(PROJ_libdir)
+BytecodeDestDir := $(DESTDIR)$(PROJ_libdir)
endif
DestBytecodeLib = $(BytecodeDestDir)/lib$(LIBRARYNAME).bca
@@ -1146,13 +1146,13 @@
uninstall-local::
$(Echo) Uninstall circumvented with NO_INSTALL
else
-DestArchiveLib := $(PROJ_libdir)/lib$(LIBRARYNAME).a
+DestArchiveLib := $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME).a
install-local:: $(DestArchiveLib)
-$(DestArchiveLib): $(LibName.A) $(PROJ_libdir)
+$(DestArchiveLib): $(LibName.A) $(DESTDIR)$(PROJ_libdir)
$(Echo) Installing $(BuildMode) Archive Library $(DestArchiveLib)
- $(Verb) $(MKDIR) $(PROJ_libdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_libdir)
$(Verb) $(INSTALL) $(LibName.A) $(DestArchiveLib)
uninstall-local::
@@ -1230,11 +1230,11 @@
uninstall-local::
$(Echo) Uninstall circumvented with NO_INSTALL
else
-DestTool = $(PROJ_bindir)/$(TOOLNAME)$(EXEEXT)
+DestTool = $(DESTDIR)$(PROJ_bindir)/$(TOOLNAME)$(EXEEXT)
install-local:: $(DestTool)
-$(DestTool): $(ToolBuildPath) $(PROJ_bindir)
+$(DestTool): $(ToolBuildPath) $(DESTDIR)$(PROJ_bindir)
$(Echo) Installing $(BuildMode) $(DestTool)
$(Verb) $(ProgInstall) $(ToolBuildPath) $(DestTool)
@@ -1829,25 +1829,25 @@
else
install-local::
$(Echo) Installing include files
- $(Verb) $(MKDIR) $(PROJ_includedir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
$(Verb) if test -d "$(PROJ_SRC_ROOT)/include" ; then \
cd $(PROJ_SRC_ROOT)/include && \
for hdr in `find . -type f '!' '(' -name '*~' \
-o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS | \
grep -v .svn` ; do \
- instdir=`dirname "$(PROJ_includedir)/$$hdr"` ; \
+ instdir=`dirname "$(DESTDIR)$(PROJ_includedir)/$$hdr"` ; \
if test \! -d "$$instdir" ; then \
$(EchoCmd) Making install directory $$instdir ; \
$(MKDIR) $$instdir ;\
fi ; \
- $(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \
+ $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
done ; \
fi
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/include" ; then \
cd $(PROJ_OBJ_ROOT)/include && \
for hdr in `find . -type f -print | grep -v CVS` ; do \
- $(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \
+ $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
done ; \
fi
endif
@@ -1859,10 +1859,10 @@
$(RM) -f `find . -path '*/Internal' -prune -o '(' -type f \
'!' '(' -name '*~' -o -name '.#*' \
-o -name '*.in' ')' -print ')' | \
- grep -v CVS | sed 's#^#$(PROJ_includedir)/#'` ; \
+ grep -v CVS | sed 's#^#$(DESTDIR)$(PROJ_includedir)/#'` ; \
cd $(PROJ_SRC_ROOT)/include && \
$(RM) -f `find . -path '*/Internal' -prune -o '(' -type f -name '*.in' \
- -print ')' | sed 's#\.in$$##;s#^#$(PROJ_includedir)/#'` ; \
+ -print ')' | sed 's#\.in$$##;s#^#$(DESTDIR)$(PROJ_includedir)/#'` ; \
fi
endif
endif
diff -ru llvm-2.6.orig/tools/gccas/Makefile llvm-2.6/tools/gccas/Makefile
--- llvm-2.6.orig/tools/gccas/Makefile 2007-12-29 15:07:17.000000000 -0500
+++ llvm-2.6/tools/gccas/Makefile 2009-09-30 02:28:03.116650426 -0400
@@ -10,9 +10,9 @@
include $(LEVEL)/Makefile.common
-install-local:: $(PROJ_bindir)/gccas
+install-local:: $(DESTDIR)$(PROJ_bindir)/gccas
-$(PROJ_bindir)/gccas : gccas.sh Makefile
+$(DESTDIR)$(PROJ_bindir)/gccas : gccas.sh Makefile
$(Echo) Installing gccas shell script.
$(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
$(Verb) chmod 0755 $@
diff -ru llvm-2.6.orig/tools/gccld/Makefile llvm-2.6/tools/gccld/Makefile
--- llvm-2.6.orig/tools/gccld/Makefile 2007-12-29 15:07:17.000000000 -0500
+++ llvm-2.6/tools/gccld/Makefile 2009-09-30 02:28:03.117649993 -0400
@@ -11,9 +11,9 @@
include $(LEVEL)/Makefile.common
-install-local:: $(PROJ_bindir)/gccld
+install-local:: $(DESTDIR)$(PROJ_bindir)/gccld
-$(PROJ_bindir)/gccld : gccld.sh Makefile
+$(DESTDIR)$(PROJ_bindir)/gccld : gccld.sh Makefile
$(Echo) Installing gccld shell script.
$(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
$(Verb) chmod 0755 $@
diff -ru llvm-2.6.orig/tools/llvm-config/Makefile llvm-2.6/tools/llvm-config/Makefile
--- llvm-2.6.orig/tools/llvm-config/Makefile 2009-03-10 15:01:23.000000000 -0400
+++ llvm-2.6/tools/llvm-config/Makefile 2009-09-30 02:28:03.119650243 -0400
@@ -87,6 +87,6 @@
$(LibDeps) GenLibDeps.out
install-local:: all-local
$(Echo) Installing llvm-config
- $(Verb) $(MKDIR) $(PROJ_bindir)
- $(Verb) $(ScriptInstall) $(ToolDir)/llvm-config $(PROJ_bindir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_bindir)
+ $(Verb) $(ScriptInstall) $(ToolDir)/llvm-config $(DESTDIR)$(PROJ_bindir)

View File

@ -1,11 +0,0 @@
--- llvm-2.6/Makefile.rules.timestamp 2009-08-19 18:04:44.000000000 -0400
+++ llvm-2.6/Makefile.rules 2009-09-09 02:10:38.287389725 -0400
@@ -672,7 +672,7 @@
ProgInstall = $(INSTALL) $(Install.StripFlag) -m 0755
ScriptInstall = $(INSTALL) -m 0755
-DataInstall = $(INSTALL) -m 0644
+DataInstall = $(INSTALL) -p -m 0644
# When compiling under Mingw/Cygwin, the tblgen tool expects Windows
# paths. In this case, the SYSPATH function (defined in

9
llvm-Config-config.h Normal file
View File

@ -0,0 +1,9 @@
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include "config-32.h"
#elif __WORDSIZE == 64
#include "config-64.h"
#else
#error "Unknown word size"
#endif

View File

@ -0,0 +1,9 @@
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include "llvm-config-32.h"
#elif __WORDSIZE == 64
#include "llvm-config-64.h"
#else
#error "Unknown word size"
#endif

1183
llvm.spec

File diff suppressed because it is too large Load Diff

58
run-lit-tests Executable file
View File

@ -0,0 +1,58 @@
#!/bin/bash
usage() {
echo "usage: `basename $0` [OPTIONS]"
echo " --threads NUM The number of threads to use for running tests."
echo " --multilib-arch ARCH Use this option to test 32-bit libs/binaries on"
echo " 64-bit hosts."
}
threads_arg=''
while [ $# -gt 0 ]; do
case $1 in
--threads)
shift
threads_arg="--threads $1"
;;
--multilib-arch)
shift
ARCH=$1
;;
* )
echo "unknown option: $1"
echo ""
usage
exit 1
;;
esac
shift
done
set -xe
if [ -z "$ARCH" ]; then
ARCH=`rpm --eval '%_arch'`
fi
case $ARCH in
arm)
;&
i686)
LIB_DIR="/usr/lib/"
;;
*)
LIB_DIR="/usr/lib64/"
;;
esac
cd $(mktemp -d)
ln -s /usr/include include
tar -xzf /usr/share/llvm/src/test.tar.gz
ln -s $ARCH.site.cfg.py test/lit.site.cfg.py
ln -s $ARCH.site.cfg.py test/Unit/lit.site.cfg.py
lit -v -s $threads_arg test \
-Dllvm_obj_root=`pwd` \
-Dllvm_test_root=`pwd`/test \
-Dllvm_unittest_bindir=$LIB_DIR/llvm \
-Dllvm_shlib_dir=$LIB_DIR

View File

@ -1,2 +1,2 @@
1333eb8765e581fa572eca644791e5f8 llvm-2.6.tar.gz
ef76d07c035f311c1362c56eb25df3bd clang-2.6.tar.gz
SHA512 (llvm-10.0.0.src.tar.xz) = 7dc961aacee3a01ecc002ff2b688a2ef50661856d2abd5ecc90566ffcad7566e4976736cd339ea96592e452cd5a17aaceba9712b2effec805661cca8ff020ee7
SHA512 (llvm-10.0.0.src.tar.xz.sig) = 2e4c61af5d84db4bc7a8ab51367210c529ae02e401b7a73a449f79bf9d92654ccf36fdef0f552c8850df0e94bcafce2359180ad0cdf720be7c874a782a936878

1
tests/.fmf/version Normal file
View File

@ -0,0 +1 @@
1

16
tests/build-compat/runtest.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
set -ex
dnf download --disablerepo=* --enablerepo=test-llvm --source llvm
# The src.rpm is available in the directory the test run from.
set +e
mock --resultdir=. --old-chroot --with compat_build --rebuild *.src.rpm
if [ $? -ne 0 ]; then
cat root.log
cat build.log
exit 1
fi
exit 0

5
tests/provision.fmf Normal file
View File

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
m: 2G

30
tests/tests.yml Normal file
View File

@ -0,0 +1,30 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- llvm-test
- rust
- cargo
tests:
- regression-tests:
dir: ./
run: /usr/libexec/tests/llvm/run-lit-tests --threads 1
- rust-sanity:
dir: ./
run: cargo new hello && cd hello && cargo run
# There is a bug in the build process when it runs out of disk space
# while stripping binaries, which causes the strip to fail, but does
# not fail the build. This results in a libLLVM.so that is over 2GB
# which breaks the nightly compose. So this test checks that libLLVM.so
# is less than 100MB to ensure it was successfully stripped.
# https://bugzilla.redhat.com/show_bug.cgi?id=1793250
- libllvm-size:
dir: ./
run: test `stat -L -c %s /usr/lib64/libLLVM.so` -lt 100000000
# This test ensures that the spec file still builds correctly with
# %global compat_build 1
# FIXME: This fails, because the CI system has a hard-coded timeout of 4
# hours.
#- build-compat

31
tests/testsllvm-devel.yml Normal file
View File

@ -0,0 +1,31 @@
- hosts: localhost
pre_tasks:
# Make sure we uninstall all sub-packages, so we can test that the cmake files
# in llvm-devel are useable when only llvm-devel is installed.
- name: Uninstall llvm sub-packages
package:
name: "{{ item }}"
state: absent
tags: classic
with_items:
- llvm
- llvm-devel
- llvm-doc
- llvm-googletest
- llvm-libs
- llvm-static
- llvm-test
roles:
- role: standard-test-basic
tags: classic
required_packages:
- llvm-devel
- cmake
- ninja-build
- gcc
- gcc-c++
repositories:
- repo: "https://src.fedoraproject.org/tests/llvm.git"
dest: "llvm"
tests:
- llvm/llvm-devel-cmake