1 |
commit: ce8ff0eac8ac8b86125c420cd157452ca818d2e6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 1 08:34:47 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 1 13:15:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8ff0ea |
7 |
|
8 |
sys-devel/llvm: Switch live to monorepo |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-devel/llvm/llvm-10.0.0.9999.ebuild | 9 +++++++-- |
13 |
sys-devel/llvm/llvm-9.0.1.9999.ebuild | 11 ++++++++--- |
14 |
2 files changed, 15 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/sys-devel/llvm/llvm-10.0.0.9999.ebuild b/sys-devel/llvm/llvm-10.0.0.9999.ebuild |
17 |
index 77a6c842383..c5cd658cd7b 100644 |
18 |
--- a/sys-devel/llvm/llvm-10.0.0.9999.ebuild |
19 |
+++ b/sys-devel/llvm/llvm-10.0.0.9999.ebuild |
20 |
@@ -14,8 +14,8 @@ inherit cmake-utils git-r3 multilib-minimal multiprocessing pax-utils \ |
21 |
DESCRIPTION="Low Level Virtual Machine" |
22 |
HOMEPAGE="https://llvm.org/" |
23 |
SRC_URI="" |
24 |
-EGIT_REPO_URI="https://git.llvm.org/git/llvm.git |
25 |
- https://github.com/llvm-mirror/llvm.git" |
26 |
+EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" |
27 |
+S=${WORKDIR}/${P}/llvm |
28 |
|
29 |
# Those are in lib/Targets, without explicit CMakeLists.txt mention |
30 |
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC AVR ) |
31 |
@@ -91,6 +91,11 @@ python_check_deps() { |
32 |
has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" |
33 |
} |
34 |
|
35 |
+src_unpack() { |
36 |
+ git-r3_fetch |
37 |
+ git-r3_checkout '' '' '' llvm |
38 |
+} |
39 |
+ |
40 |
check_live_ebuild() { |
41 |
local prod_targets=( |
42 |
$(sed -n -e '/set(LLVM_ALL_TARGETS/,/)/p' CMakeLists.txt \ |
43 |
|
44 |
diff --git a/sys-devel/llvm/llvm-9.0.1.9999.ebuild b/sys-devel/llvm/llvm-9.0.1.9999.ebuild |
45 |
index 5ff9e20d7e1..45e29fba1c7 100644 |
46 |
--- a/sys-devel/llvm/llvm-9.0.1.9999.ebuild |
47 |
+++ b/sys-devel/llvm/llvm-9.0.1.9999.ebuild |
48 |
@@ -14,9 +14,9 @@ inherit cmake-utils git-r3 multilib-minimal multiprocessing pax-utils \ |
49 |
DESCRIPTION="Low Level Virtual Machine" |
50 |
HOMEPAGE="https://llvm.org/" |
51 |
SRC_URI="" |
52 |
-EGIT_REPO_URI="https://git.llvm.org/git/llvm.git |
53 |
- https://github.com/llvm-mirror/llvm.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}/llvm |
58 |
|
59 |
# Keep in sync with CMakeLists.txt |
60 |
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 |
61 |
@@ -88,6 +88,11 @@ python_check_deps() { |
62 |
has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" |
63 |
} |
64 |
|
65 |
+src_unpack() { |
66 |
+ git-r3_fetch |
67 |
+ git-r3_checkout '' '' '' llvm |
68 |
+} |
69 |
+ |
70 |
src_prepare() { |
71 |
# Fix llvm-config for shared linking and sane flags |
72 |
# https://bugs.gentoo.org/show_bug.cgi?id=565358 |