summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-20 18:31:01 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-20 18:32:58 +0200
commit791afb608f257e359805191085f6310e3195b65b (patch)
tree8c8ec27bf86f90e1537c27456f1e4041f3f7838c /sys-libs
parentsys-libs/libcxx: Port to py3.9 (diff)
downloadgentoo-791afb608f257e359805191085f6310e3195b65b.tar.gz
gentoo-791afb608f257e359805191085f6310e3195b65b.tar.bz2
gentoo-791afb608f257e359805191085f6310e3195b65b.zip
sys-libs/libomp: Apply patches in WORKDIR in 10.0.1+
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libomp/libomp-10.0.1.9999.ebuild7
-rw-r--r--sys-libs/libomp/libomp-10.0.1_rc1.ebuild7
-rw-r--r--sys-libs/libomp/libomp-11.0.0.9999.ebuild7
3 files changed, 21 insertions, 0 deletions
diff --git a/sys-libs/libomp/libomp-10.0.1.9999.ebuild b/sys-libs/libomp/libomp-10.0.1.9999.ebuild
index 7277ff84d5c8..b2d599eb53d0 100644
--- a/sys-libs/libomp/libomp-10.0.1.9999.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1.9999.ebuild
@@ -66,6 +66,13 @@ pkg_setup() {
use test && python-any-r1_pkg_setup
}
+src_prepare() {
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
+ cmake-utils_src_prepare
+}
+
multilib_src_configure() {
local libdir="$(get_libdir)"
local mycmakeargs=(
diff --git a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
index 7277ff84d5c8..b2d599eb53d0 100644
--- a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
@@ -66,6 +66,13 @@ pkg_setup() {
use test && python-any-r1_pkg_setup
}
+src_prepare() {
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
+ cmake-utils_src_prepare
+}
+
multilib_src_configure() {
local libdir="$(get_libdir)"
local mycmakeargs=(
diff --git a/sys-libs/libomp/libomp-11.0.0.9999.ebuild b/sys-libs/libomp/libomp-11.0.0.9999.ebuild
index 7277ff84d5c8..b2d599eb53d0 100644
--- a/sys-libs/libomp/libomp-11.0.0.9999.ebuild
+++ b/sys-libs/libomp/libomp-11.0.0.9999.ebuild
@@ -66,6 +66,13 @@ pkg_setup() {
use test && python-any-r1_pkg_setup
}
+src_prepare() {
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
+ cmake-utils_src_prepare
+}
+
multilib_src_configure() {
local libdir="$(get_libdir)"
local mycmakeargs=(