1 |
commit: c3de9c7c23cc03758d273ef3cb0f022d670e847e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 11 07:25:17 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 11 07:25:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3de9c7c |
7 |
|
8 |
sys-libs/compiler-rt: Remove 13.0.0_rc1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-libs/compiler-rt/Manifest | 1 - |
13 |
sys-libs/compiler-rt/compiler-rt-13.0.0_rc1.ebuild | 125 --------------------- |
14 |
2 files changed, 126 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/compiler-rt/Manifest b/sys-libs/compiler-rt/Manifest |
17 |
index c24e85c1763..39607beb84e 100644 |
18 |
--- a/sys-libs/compiler-rt/Manifest |
19 |
+++ b/sys-libs/compiler-rt/Manifest |
20 |
@@ -6,5 +6,4 @@ DIST llvm-gentoo-patchset-9999-1.tar.xz 4032 BLAKE2B b9413484dafed8ae0c68c2c164b |
21 |
DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151 |
22 |
DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81 |
23 |
DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1 |
24 |
-DIST llvmorg-13.0.0-rc1.tar.gz 147235597 BLAKE2B 089fed119dee8a16f278cebb13808bd5a95629cc87ebee3050225cc041b78fee51acacc5bcc913d4a99e830bfe5774b19a04a845293c5087dd2a8c9d94d2fde9 SHA512 6e307e2c2dcb7ff41d11ee29d69f41c0ef55f200999847a3a924a2e773fc9c2160015746789af8b723c628bd232f97fce63370209bd0065491d80b0cc0017e85 |
25 |
DIST llvmorg-13.0.0-rc2.tar.gz 147267736 BLAKE2B 153bf7320f2aa911112d366ffc79f7110cb04f135c2a8b176c263f0a75eb768206d9bd462893d45504b0e58aa9e127fdcafb02300eab1666e4616aa654d457dd SHA512 a01baf3eaa02f02af42bfcf6dcf24f166351bf1c09601495617c81e41def23210573bad40a344270f40c5deb881d06863536abac2a6481930766a6a56335fb44 |
26 |
|
27 |
diff --git a/sys-libs/compiler-rt/compiler-rt-13.0.0_rc1.ebuild b/sys-libs/compiler-rt/compiler-rt-13.0.0_rc1.ebuild |
28 |
deleted file mode 100644 |
29 |
index f726db78861..00000000000 |
30 |
--- a/sys-libs/compiler-rt/compiler-rt-13.0.0_rc1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,125 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{8..10} ) |
39 |
-inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs |
40 |
- |
41 |
-DESCRIPTION="Compiler runtime library for clang (built-in part)" |
42 |
-HOMEPAGE="https://llvm.org/" |
43 |
- |
44 |
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
45 |
-SLOT="$(ver_cut 1-3)" |
46 |
-KEYWORDS="" |
47 |
-IUSE="+clang test" |
48 |
-RESTRICT="!test? ( test ) !clang? ( test )" |
49 |
- |
50 |
-CLANG_SLOT=${SLOT%%.*} |
51 |
-# llvm-6 for new lit options |
52 |
-DEPEND=" |
53 |
- >=sys-devel/llvm-6" |
54 |
-BDEPEND=" |
55 |
- >=dev-util/cmake-3.16 |
56 |
- clang? ( sys-devel/clang ) |
57 |
- test? ( |
58 |
- $(python_gen_any_dep ">=dev-python/lit-9.0.1[\${PYTHON_USEDEP}]") |
59 |
- =sys-devel/clang-${PV%_*}*:${CLANG_SLOT} |
60 |
- ) |
61 |
- ${PYTHON_DEPS}" |
62 |
- |
63 |
-LLVM_COMPONENTS=( compiler-rt ) |
64 |
-LLVM_PATCHSET=9999-1 |
65 |
-llvm.org_set_globals |
66 |
- |
67 |
-python_check_deps() { |
68 |
- use test || return 0 |
69 |
- has_version "dev-python/lit[${PYTHON_USEDEP}]" |
70 |
-} |
71 |
- |
72 |
-pkg_pretend() { |
73 |
- if ! use clang && ! tc-is-clang; then |
74 |
- ewarn "Building using a compiler other than clang may result in broken atomics" |
75 |
- ewarn "library. Enable USE=clang unless you have a very good reason not to." |
76 |
- fi |
77 |
-} |
78 |
- |
79 |
-pkg_setup() { |
80 |
- # Darwin Prefix builds do not have llvm installed yet, so rely on |
81 |
- # bootstrap-prefix to set the appropriate path vars to LLVM instead |
82 |
- # of using llvm_pkg_setup. |
83 |
- if [[ ${CHOST} != *-darwin* ]] || has_version dev-lang/llvm; then |
84 |
- llvm_pkg_setup |
85 |
- fi |
86 |
- python-any-r1_pkg_setup |
87 |
-} |
88 |
- |
89 |
-test_compiler() { |
90 |
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \ |
91 |
- <<<'int main() { return 0; }' &>/dev/null |
92 |
-} |
93 |
- |
94 |
-src_configure() { |
95 |
- # pre-set since we need to pass it to cmake |
96 |
- BUILD_DIR=${WORKDIR}/${P}_build |
97 |
- |
98 |
- local nolib_flags=( -nodefaultlibs -lc ) |
99 |
- if use clang; then |
100 |
- local -x CC=${CHOST}-clang |
101 |
- local -x CXX=${CHOST}-clang++ |
102 |
- strip-unsupported-flags |
103 |
- # ensure we can use clang before installing compiler-rt |
104 |
- local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}" |
105 |
- elif ! test_compiler; then |
106 |
- if test_compiler "${nolib_flags[@]}"; then |
107 |
- local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}" |
108 |
- ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}" |
109 |
- fi |
110 |
- fi |
111 |
- |
112 |
- local mycmakeargs=( |
113 |
- -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}" |
114 |
- |
115 |
- -DCOMPILER_RT_INCLUDE_TESTS=$(usex test) |
116 |
- -DCOMPILER_RT_BUILD_LIBFUZZER=OFF |
117 |
- -DCOMPILER_RT_BUILD_MEMPROF=OFF |
118 |
- -DCOMPILER_RT_BUILD_ORC=OFF |
119 |
- -DCOMPILER_RT_BUILD_PROFILE=OFF |
120 |
- -DCOMPILER_RT_BUILD_SANITIZERS=OFF |
121 |
- -DCOMPILER_RT_BUILD_XRAY=OFF |
122 |
- |
123 |
- -DPython3_EXECUTABLE="${PYTHON}" |
124 |
- ) |
125 |
- |
126 |
- if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then |
127 |
- mycmakeargs+=( |
128 |
- # setting -isysroot is disabled with compiler-rt-prefix-paths.patch |
129 |
- # this allows adding arm64 support using SDK in EPREFIX |
130 |
- -DDARWIN_macosx_CACHED_SYSROOT="${EPREFIX}/MacOSX.sdk" |
131 |
- # Set version based on the SDK in EPREFIX. |
132 |
- # This disables i386 for SDK >= 10.15 |
133 |
- -DDARWIN_macosx_OVERRIDE_SDK_VERSION="$(realpath ${EPREFIX}/MacOSX.sdk | sed -e 's/.*MacOSX\(.*\)\.sdk/\1/')" |
134 |
- # Use our libtool instead of looking it up with xcrun |
135 |
- -DCMAKE_LIBTOOL="${EPREFIX}/usr/bin/${CHOST}-libtool" |
136 |
- ) |
137 |
- fi |
138 |
- |
139 |
- if use test; then |
140 |
- mycmakeargs+=( |
141 |
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" |
142 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
143 |
- |
144 |
- -DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang" |
145 |
- -DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang++" |
146 |
- ) |
147 |
- fi |
148 |
- |
149 |
- cmake_src_configure |
150 |
-} |
151 |
- |
152 |
-src_test() { |
153 |
- # respect TMPDIR! |
154 |
- local -x LIT_PRESERVES_TMP=1 |
155 |
- |
156 |
- cmake_build check-builtins |
157 |
-} |