From: Michał Górny Date: Fri, 1 Nov 2019 08:34:56 +0000 (+0100) Subject: sys-libs/libomp: Switch live to monorepo X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f775b78eb6d6963ab9b9c2898525d55615becfa2;p=gentoo.git sys-libs/libomp: Switch live to monorepo Signed-off-by: Michał Górny --- diff --git a/sys-libs/libomp/libomp-10.0.0.9999.ebuild b/sys-libs/libomp/libomp-10.0.0.9999.ebuild index 107506fa8c8a..905a345680bd 100644 --- a/sys-libs/libomp/libomp-10.0.0.9999.ebuild +++ b/sys-libs/libomp/libomp-10.0.0.9999.ebuild @@ -13,8 +13,8 @@ inherit cmake-multilib git-r3 linux-info multiprocessing python-any-r1 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" HOMEPAGE="https://openmp.llvm.org" SRC_URI="" -EGIT_REPO_URI="https://git.llvm.org/git/openmp.git - https://github.com/llvm-mirror/openmp.git" +EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" +S=${WORKDIR}/${P}/openmp LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" @@ -71,6 +71,11 @@ pkg_setup() { use test && python-any-r1_pkg_setup } +src_unpack() { + git-r3_fetch + git-r3_checkout '' '' '' openmp +} + multilib_src_configure() { local libdir="$(get_libdir)" local mycmakeargs=( diff --git a/sys-libs/libomp/libomp-9.0.1.9999.ebuild b/sys-libs/libomp/libomp-9.0.1.9999.ebuild index 024defb5b3be..df9c8ea5a367 100644 --- a/sys-libs/libomp/libomp-9.0.1.9999.ebuild +++ b/sys-libs/libomp/libomp-9.0.1.9999.ebuild @@ -13,9 +13,9 @@ inherit cmake-multilib git-r3 linux-info multiprocessing python-any-r1 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" HOMEPAGE="https://openmp.llvm.org" SRC_URI="" -EGIT_REPO_URI="https://git.llvm.org/git/openmp.git - https://github.com/llvm-mirror/openmp.git" -EGIT_BRANCH="release_90" +EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" +EGIT_BRANCH="release/9.x" +S=${WORKDIR}/${P}/openmp LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" @@ -72,6 +72,11 @@ pkg_setup() { use test && python-any-r1_pkg_setup } +src_unpack() { + git-r3_fetch + git-r3_checkout '' '' '' openmp +} + multilib_src_configure() { local libdir="$(get_libdir)" local mycmakeargs=(