From c70eb1c6cf4af982c4fd6a234f22bcadbd71375b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 1 Nov 2019 09:34:51 +0100 Subject: [PATCH] sys-libs/compiler-rt: Switch live to monorepo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild | 9 +++++++-- sys-libs/compiler-rt/compiler-rt-9.0.1.9999.ebuild | 11 ++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) 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 index 13a5397acde0..fe9fd52093ac 100644 --- a/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild @@ -14,8 +14,8 @@ inherit cmake-utils flag-o-matic git-r3 llvm multiprocessing \ DESCRIPTION="Compiler runtime library for clang (built-in part)" HOMEPAGE="https://llvm.org/" SRC_URI="" -EGIT_REPO_URI="https://git.llvm.org/git/compiler-rt.git - https://github.com/llvm-mirror/compiler-rt.git" +EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" +S=${WORKDIR}/${P}/compiler-rt LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="$(ver_cut 1-3)" @@ -49,6 +49,11 @@ pkg_setup() { python-any-r1_pkg_setup } +src_unpack() { + git-r3_fetch + git-r3_checkout '' '' '' compiler-rt +} + test_compiler() { $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \ <<<'int main() { return 0; }' &>/dev/null 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 index 88bfd8aa0ad2..898c8d917487 100644 --- a/sys-libs/compiler-rt/compiler-rt-9.0.1.9999.ebuild +++ b/sys-libs/compiler-rt/compiler-rt-9.0.1.9999.ebuild @@ -14,9 +14,9 @@ inherit cmake-utils flag-o-matic git-r3 llvm multiprocessing \ DESCRIPTION="Compiler runtime library for clang (built-in part)" HOMEPAGE="https://llvm.org/" SRC_URI="" -EGIT_REPO_URI="https://git.llvm.org/git/compiler-rt.git - https://github.com/llvm-mirror/compiler-rt.git" -EGIT_BRANCH="release_90" +EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" +EGIT_BRANCH="release/9.x" +S=${WORKDIR}/${P}/compiler-rt LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="$(ver_cut 1-3)" @@ -50,6 +50,11 @@ pkg_setup() { python-any-r1_pkg_setup } +src_unpack() { + git-r3_fetch + git-r3_checkout '' '' '' compiler-rt +} + test_compiler() { $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \ <<<'int main() { return 0; }' &>/dev/null -- 2.26.2