1 |
commit: c70eb1c6cf4af982c4fd6a234f22bcadbd71375b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 1 08:34:51 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 1 13:15:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70eb1c6 |
7 |
|
8 |
sys-libs/compiler-rt: Switch live to monorepo |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild | 9 +++++++-- |
13 |
sys-libs/compiler-rt/compiler-rt-9.0.1.9999.ebuild | 11 ++++++++--- |
14 |
2 files changed, 15 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild b/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild |
17 |
index 13a5397acde..fe9fd52093a 100644 |
18 |
--- a/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild |
19 |
+++ b/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild |
20 |
@@ -14,8 +14,8 @@ inherit cmake-utils flag-o-matic git-r3 llvm multiprocessing \ |
21 |
DESCRIPTION="Compiler runtime library for clang (built-in part)" |
22 |
HOMEPAGE="https://llvm.org/" |
23 |
SRC_URI="" |
24 |
-EGIT_REPO_URI="https://git.llvm.org/git/compiler-rt.git |
25 |
- https://github.com/llvm-mirror/compiler-rt.git" |
26 |
+EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" |
27 |
+S=${WORKDIR}/${P}/compiler-rt |
28 |
|
29 |
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
30 |
SLOT="$(ver_cut 1-3)" |
31 |
@@ -49,6 +49,11 @@ pkg_setup() { |
32 |
python-any-r1_pkg_setup |
33 |
} |
34 |
|
35 |
+src_unpack() { |
36 |
+ git-r3_fetch |
37 |
+ git-r3_checkout '' '' '' compiler-rt |
38 |
+} |
39 |
+ |
40 |
test_compiler() { |
41 |
$(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \ |
42 |
<<<'int main() { return 0; }' &>/dev/null |
43 |
|
44 |
diff --git a/sys-libs/compiler-rt/compiler-rt-9.0.1.9999.ebuild b/sys-libs/compiler-rt/compiler-rt-9.0.1.9999.ebuild |
45 |
index 88bfd8aa0ad..898c8d91748 100644 |
46 |
--- a/sys-libs/compiler-rt/compiler-rt-9.0.1.9999.ebuild |
47 |
+++ b/sys-libs/compiler-rt/compiler-rt-9.0.1.9999.ebuild |
48 |
@@ -14,9 +14,9 @@ inherit cmake-utils flag-o-matic git-r3 llvm multiprocessing \ |
49 |
DESCRIPTION="Compiler runtime library for clang (built-in part)" |
50 |
HOMEPAGE="https://llvm.org/" |
51 |
SRC_URI="" |
52 |
-EGIT_REPO_URI="https://git.llvm.org/git/compiler-rt.git |
53 |
- https://github.com/llvm-mirror/compiler-rt.git" |
54 |
-EGIT_BRANCH="release_90" |
55 |
+EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" |
56 |
+EGIT_BRANCH="release/9.x" |
57 |
+S=${WORKDIR}/${P}/compiler-rt |
58 |
|
59 |
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
60 |
SLOT="$(ver_cut 1-3)" |
61 |
@@ -50,6 +50,11 @@ pkg_setup() { |
62 |
python-any-r1_pkg_setup |
63 |
} |
64 |
|
65 |
+src_unpack() { |
66 |
+ git-r3_fetch |
67 |
+ git-r3_checkout '' '' '' compiler-rt |
68 |
+} |
69 |
+ |
70 |
test_compiler() { |
71 |
$(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \ |
72 |
<<<'int main() { return 0; }' &>/dev/null |