1 |
commit: 306d02dba5fd17bf291bcf83acde372f3fcdd25d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 1 08:34:33 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 1 13:15:41 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306d02db |
7 |
|
8 |
dev-ml/llvm-ocaml: Switch live to monorepo |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild | 9 +++++++-- |
13 |
dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild | 11 ++++++++--- |
14 |
2 files changed, 15 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild |
17 |
index b0d581bd9ff..664c0aa4484 100644 |
18 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild |
19 |
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild |
20 |
@@ -13,8 +13,8 @@ inherit cmake-utils git-r3 llvm multiprocessing python-any-r1 |
21 |
DESCRIPTION="OCaml bindings for LLVM" |
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 |
# Keep in sync with sys-devel/llvm |
30 |
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC AVR ) |
31 |
@@ -53,6 +53,11 @@ pkg_setup() { |
32 |
python-any-r1_pkg_setup |
33 |
} |
34 |
|
35 |
+src_unpack() { |
36 |
+ git-r3_fetch |
37 |
+ git-r3_checkout '' '' '' llvm |
38 |
+} |
39 |
+ |
40 |
src_prepare() { |
41 |
# Python is needed to run tests using lit |
42 |
python_setup |
43 |
|
44 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild |
45 |
index ea47038cb44..d47587faed9 100644 |
46 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild |
47 |
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.1.9999.ebuild |
48 |
@@ -13,9 +13,9 @@ inherit cmake-utils git-r3 llvm multiprocessing python-any-r1 |
49 |
DESCRIPTION="OCaml bindings for LLVM" |
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 sys-devel/llvm |
60 |
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 |
61 |
@@ -52,6 +52,11 @@ pkg_setup() { |
62 |
python-any-r1_pkg_setup |
63 |
} |
64 |
|
65 |
+src_unpack() { |
66 |
+ git-r3_fetch |
67 |
+ git-r3_checkout '' '' '' llvm |
68 |
+} |
69 |
+ |
70 |
src_prepare() { |
71 |
# Python is needed to run tests using lit |
72 |
python_setup |