commit:     f775b78eb6d6963ab9b9c2898525d55615becfa2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 08:34:56 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 13:15:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f775b78e

sys-libs/libomp: Switch live to monorepo

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-libs/libomp/libomp-10.0.0.9999.ebuild |  9 +++++++--
 sys-libs/libomp/libomp-9.0.1.9999.ebuild  | 11 ++++++++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.0.9999.ebuild 
b/sys-libs/libomp/libomp-10.0.0.9999.ebuild
index 107506fa8c8..905a345680b 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 024defb5b3b..df9c8ea5a36 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=(

Reply via email to