mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ml/llvm-ocaml: Switch live to monorepo
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -13,8 +13,8 @@ inherit cmake-utils git-r3 llvm multiprocessing python-any-r1
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
|
||||
https://github.com/llvm-mirror/llvm.git"
|
||||
EGIT_REPO_URI="https://github.com/llvm/llvm-project.git"
|
||||
S=${WORKDIR}/${P}/llvm
|
||||
|
||||
# Keep in sync with sys-devel/llvm
|
||||
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC AVR )
|
||||
@@ -53,6 +53,11 @@ pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-r3_fetch
|
||||
git-r3_checkout '' '' '' llvm
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Python is needed to run tests using lit
|
||||
python_setup
|
||||
|
||||
@@ -13,9 +13,9 @@ inherit cmake-utils git-r3 llvm multiprocessing python-any-r1
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
|
||||
https://github.com/llvm-mirror/llvm.git"
|
||||
EGIT_BRANCH="release_90"
|
||||
EGIT_REPO_URI="https://github.com/llvm/llvm-project.git"
|
||||
EGIT_BRANCH="release/9.x"
|
||||
S=${WORKDIR}/${P}/llvm
|
||||
|
||||
# Keep in sync with sys-devel/llvm
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
|
||||
@@ -52,6 +52,11 @@ pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-r3_fetch
|
||||
git-r3_checkout '' '' '' llvm
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Python is needed to run tests using lit
|
||||
python_setup
|
||||
|
||||
Reference in New Issue
Block a user