summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-01 09:34:56 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-01 14:15:56 +0100
commitf775b78eb6d6963ab9b9c2898525d55615becfa2 (patch)
tree6abc75f792a662398e3eb8f8523d9768b549b4e4 /sys-libs/libomp
parentsys-libs/libcxxabi: Switch live to monorepo (diff)
downloadgentoo-f775b78eb6d6963ab9b9c2898525d55615becfa2.tar.gz
gentoo-f775b78eb6d6963ab9b9c2898525d55615becfa2.tar.bz2
gentoo-f775b78eb6d6963ab9b9c2898525d55615becfa2.zip
sys-libs/libomp: Switch live to monorepo
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/libomp')
-rw-r--r--sys-libs/libomp/libomp-10.0.0.9999.ebuild9
-rw-r--r--sys-libs/libomp/libomp-9.0.1.9999.ebuild11
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 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=(