[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2021-01-06 Thread Michał Górny
commit: 9e2ddeeb6734fcbcaa6072e575550ce512850009
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan  6 17:18:56 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan  6 21:23:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2ddeeb

sys-libs/libomp: Remove 11.0.1 RCs and live

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

 sys-libs/libomp/Manifest  |   2 -
 sys-libs/libomp/libomp-11.0.1..ebuild | 105 --
 sys-libs/libomp/libomp-11.0.1_rc1.ebuild  | 105 --
 sys-libs/libomp/libomp-11.0.1_rc2.ebuild  | 105 --
 4 files changed, 317 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 29b0efe3c21..47a7ff9f78f 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,6 +1,4 @@
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 
3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984
 SHA512 
b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
-DIST llvmorg-11.0.1-rc1.tar.gz 122777435 BLAKE2B 
23b520d33cf4b641027ee52bb10c6171d60356c9167d5b94012929e6e547c526cda1a6177c295ed19592dfb83b020f63b2cef4cabc70ce9a2a8e098fe654a3cd
 SHA512 
605c7bbff1610f335be8ea4f1204df797fed21185a54c77565f6ff2d00794d1967e9c5fab7c87633e242f2f999bdffb76da83f756d261c1ca476114599409ae1
-DIST llvmorg-11.0.1-rc2.tar.gz 122793330 BLAKE2B 
5d42f7bd7ba253ac3ca08cf9901c79db5b51b86f0f66c8e63f4f9808ca5fb72cacccfad098b4f6701a34b0d77bdd66fe3839a3962a251eae53776240a2e13b06
 SHA512 
acda5a5be38cc8aae730c34cd1bb8f29a82e2ed3dd9734ca293ff092d5b30c8c255ab3054245b8f6ed541d5dbf8bc674b744bb2f81788db8826f69a204dda0c3
 DIST llvmorg-11.0.1.tar.gz 122790338 BLAKE2B 
0130996b4a8c4d9f757136fd7fb318068c9bfdc565060dec0d4336480c4ab66c4ae3185a7fdb05f13cf9ee8fd4123b09df938881b75d6e5d3689595114b7e32a
 SHA512 
f5e6ef0b3111aae08a89cd01adb2ff4abfa9ef779c68b9190421d0447efd25c2cc00e5aae9f4764805f5fa31434866043d1510ae7389817e28ae53a5442e2fdf
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.1..ebuild 
b/sys-libs/libomp/libomp-11.0.1..ebuild
deleted file mode 100644
index f715bdea535..000
--- a/sys-libs/libomp/libomp-11.0.1..ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-PYTHON_COMPAT=( python3_{6..9} )
-inherit cmake-multilib linux-info llvm.org python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS=""
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   dev-libs/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl
-   offload? ( virtual/pkgconfig )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2021-01-06 Thread Michał Górny
commit: d06da16d62d0701294ee4fa46291467734de82b2
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan  6 17:12:04 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan  6 21:23:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d06da16d

sys-libs/libomp: Bump to 11.0.1 (final)

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-11.0.1.ebuild | 105 +++
 2 files changed, 106 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 49b4c28bfca..29b0efe3c21 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -2,4 +2,5 @@ DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3
 DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 
3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984
 SHA512 
b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
 DIST llvmorg-11.0.1-rc1.tar.gz 122777435 BLAKE2B 
23b520d33cf4b641027ee52bb10c6171d60356c9167d5b94012929e6e547c526cda1a6177c295ed19592dfb83b020f63b2cef4cabc70ce9a2a8e098fe654a3cd
 SHA512 
605c7bbff1610f335be8ea4f1204df797fed21185a54c77565f6ff2d00794d1967e9c5fab7c87633e242f2f999bdffb76da83f756d261c1ca476114599409ae1
 DIST llvmorg-11.0.1-rc2.tar.gz 122793330 BLAKE2B 
5d42f7bd7ba253ac3ca08cf9901c79db5b51b86f0f66c8e63f4f9808ca5fb72cacccfad098b4f6701a34b0d77bdd66fe3839a3962a251eae53776240a2e13b06
 SHA512 
acda5a5be38cc8aae730c34cd1bb8f29a82e2ed3dd9734ca293ff092d5b30c8c255ab3054245b8f6ed541d5dbf8bc674b744bb2f81788db8826f69a204dda0c3
+DIST llvmorg-11.0.1.tar.gz 122790338 BLAKE2B 
0130996b4a8c4d9f757136fd7fb318068c9bfdc565060dec0d4336480c4ab66c4ae3185a7fdb05f13cf9ee8fd4123b09df938881b75d6e5d3689595114b7e32a
 SHA512 
f5e6ef0b3111aae08a89cd01adb2ff4abfa9ef779c68b9190421d0447efd25c2cc00e5aae9f4764805f5fa31434866043d1510ae7389817e28ae53a5442e2fdf
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.1.ebuild 
b/sys-libs/libomp/libomp-11.0.1.ebuild
new file mode 100644
index 000..e5b32230d3b
--- /dev/null
+++ b/sys-libs/libomp/libomp-11.0.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+  

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-12-19 Thread Michał Górny
commit: 9ef398faf6e2a978a14b0e4f049a1a447c1df61b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 19 09:11:51 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 19 09:11:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ef398fa

sys-libs/libomp: Bump to 11.0.1-rc2

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-11.0.1_rc2.ebuild | 105 +++
 2 files changed, 106 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index d36c99982c3..49b4c28bfca 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,5 @@
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 
3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984
 SHA512 
b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
 DIST llvmorg-11.0.1-rc1.tar.gz 122777435 BLAKE2B 
23b520d33cf4b641027ee52bb10c6171d60356c9167d5b94012929e6e547c526cda1a6177c295ed19592dfb83b020f63b2cef4cabc70ce9a2a8e098fe654a3cd
 SHA512 
605c7bbff1610f335be8ea4f1204df797fed21185a54c77565f6ff2d00794d1967e9c5fab7c87633e242f2f999bdffb76da83f756d261c1ca476114599409ae1
+DIST llvmorg-11.0.1-rc2.tar.gz 122793330 BLAKE2B 
5d42f7bd7ba253ac3ca08cf9901c79db5b51b86f0f66c8e63f4f9808ca5fb72cacccfad098b4f6701a34b0d77bdd66fe3839a3962a251eae53776240a2e13b06
 SHA512 
acda5a5be38cc8aae730c34cd1bb8f29a82e2ed3dd9734ca293ff092d5b30c8c255ab3054245b8f6ed541d5dbf8bc674b744bb2f81788db8826f69a204dda0c3
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.1_rc2.ebuild 
b/sys-libs/libomp/libomp-11.0.1_rc2.ebuild
new file mode 100644
index 000..f715bdea535
--- /dev/null
+++ b/sys-libs/libomp/libomp-11.0.1_rc2.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-12-04 Thread Mikle Kolyada
commit: ac183be39ac28c37fce0b5616b033ede83a740a0
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Dec  4 13:25:22 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Dec  4 14:24:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac183be3

sys-libs/libomp: Keyword 11.0.0 riscv, #756115

Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-11.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-11.0.0.ebuild 
b/sys-libs/libomp/libomp-11.0.0.ebuild
index 9908059ef41..e00e4423178 100644
--- a/sys-libs/libomp/libomp-11.0.0.ebuild
+++ b/sys-libs/libomp/libomp-11.0.0.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-29 Thread Michał Górny
commit: 4edbcfd1e77984355dc9e211591ab0d24e4e5c2a
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 29 10:55:33 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 29 10:56:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4edbcfd1

sys-libs/libomp: Bump to 11.0.1-rc1

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-11.0.1_rc1.ebuild | 105 +++
 2 files changed, 106 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 11ed9f91a47..d36c99982c3 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,3 +1,4 @@
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 
3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984
 SHA512 
b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
+DIST llvmorg-11.0.1-rc1.tar.gz 122777435 BLAKE2B 
23b520d33cf4b641027ee52bb10c6171d60356c9167d5b94012929e6e547c526cda1a6177c295ed19592dfb83b020f63b2cef4cabc70ce9a2a8e098fe654a3cd
 SHA512 
605c7bbff1610f335be8ea4f1204df797fed21185a54c77565f6ff2d00794d1967e9c5fab7c87633e242f2f999bdffb76da83f756d261c1ca476114599409ae1
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.1_rc1.ebuild 
b/sys-libs/libomp/libomp-11.0.1_rc1.ebuild
new file mode 100644
index 000..f715bdea535
--- /dev/null
+++ b/sys-libs/libomp/libomp-11.0.1_rc1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable unnecessary hack copying stuff back to srcdir
+   -DLIBOMP_COPY_EXPORTS=OFF
+   )
+   use offload && mycmakeargs+=(
+   # this is non-fatal and libomp checks for CUDA conditionally
+   # to ABI, so we can just ignore passing the wrong value
+   # on non-amd64 ABIs
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-29 Thread Michał Górny
commit: b96e38f30b42d0df8e298cdcf8c84aa2c4bc7625
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 29 10:40:06 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 29 10:40:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b96e38f3

sys-libs/libomp: 11.0.0. → 11.0.1.

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

 sys-libs/libomp/{libomp-11.0.0..ebuild => libomp-11.0.1..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libomp/libomp-11.0.0..ebuild 
b/sys-libs/libomp/libomp-11.0.1..ebuild
similarity index 100%
rename from sys-libs/libomp/libomp-11.0.0..ebuild
rename to sys-libs/libomp/libomp-11.0.1..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-29 Thread Michał Górny
commit: b698bd73d424438f1b68535acef590f553e4892e
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 29 08:57:32 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 29 08:58:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b698bd73

sys-libs/libomp: Delay llvm.org_set_globals after vars

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

 sys-libs/libomp/libomp-11.0.0..ebuild | 5 +++--
 sys-libs/libomp/libomp-12.0.0..ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/sys-libs/libomp/libomp-11.0.0..ebuild 
b/sys-libs/libomp/libomp-11.0.0..ebuild
index 5bffd6685f6..f715bdea535 100644
--- a/sys-libs/libomp/libomp-11.0.0..ebuild
+++ b/sys-libs/libomp/libomp-11.0.0..ebuild
@@ -9,8 +9,6 @@ inherit cmake-multilib linux-info llvm.org python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
@@ -39,6 +37,9 @@ BDEPEND="dev-lang/perl
>=sys-devel/clang-6
)"
 
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
 python_check_deps() {
has_version "dev-python/lit[${PYTHON_USEDEP}]"
 }

diff --git a/sys-libs/libomp/libomp-12.0.0..ebuild 
b/sys-libs/libomp/libomp-12.0.0..ebuild
index eefd40f7c1f..2164682a260 100644
--- a/sys-libs/libomp/libomp-12.0.0..ebuild
+++ b/sys-libs/libomp/libomp-12.0.0..ebuild
@@ -9,8 +9,6 @@ inherit cmake-multilib linux-info llvm.org python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp llvm/include )
-llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
@@ -39,6 +37,9 @@ BDEPEND="dev-lang/perl
>=sys-devel/clang-6
)"
 
+LLVM_COMPONENTS=( openmp llvm/include )
+llvm.org_set_globals
+
 python_check_deps() {
has_version "dev-python/lit[${PYTHON_USEDEP}]"
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-29 Thread Michał Górny
commit: 490f03433583e1d08910b6cd3a81f28a947cbe76
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 29 08:23:19 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 29 08:25:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490f0343

sys-libs/libomp: Remove 10.0.0

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

 sys-libs/libomp/Manifest |   1 -
 sys-libs/libomp/libomp-10.0.0.ebuild | 106 ---
 2 files changed, 107 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 52eb105e0cf..11ed9f91a47 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,3 @@
-DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 
3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984
 SHA512 
b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-10.0.0.ebuild 
b/sys-libs/libomp/libomp-10.0.0.ebuild
deleted file mode 100644
index 3e9988c75e6..000
--- a/sys-libs/libomp/libomp-10.0.0.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos"
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   dev-libs/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl
-   offload? ( virtual/pkgconfig )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
-
-   # do not install libgomp.so & libiomp5.so aliases
-   -DLIBOMP_INSTALL_ALIASES=OFF
-   # disable unnecessary hack copying stuff back to srcdir
-   -DLIBOMP_COPY_EXPORTS=OFF
-   )
-   use offload && mycmakeargs+=(
-   # this is non-fatal and libomp checks for CUDA conditionally
-   # to ABI, 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-17 Thread Thomas Deutschmann
commit: 2436a47eee9b88ce4777945fdccd9d20db5e9f00
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Nov 17 20:22:47 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Nov 17 20:24:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2436a47e

sys-libs/libomp: x86 stable (bug #754744)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/libomp/libomp-11.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-11.0.0.ebuild 
b/sys-libs/libomp/libomp-11.0.0.ebuild
index 135197544fe..9908059ef41 100644
--- a/sys-libs/libomp/libomp-11.0.0.ebuild
+++ b/sys-libs/libomp/libomp-11.0.0.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-16 Thread Sam James
commit: 4144df0b5b825b3179d78a25a3d711b82623e60c
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 16 21:03:04 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 16 21:03:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4144df0b

sys-libs/libomp: Stabilize 11.0.0 arm64, #754744

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libomp/libomp-11.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-11.0.0.ebuild 
b/sys-libs/libomp/libomp-11.0.0.ebuild
index 818be597487..135197544fe 100644
--- a/sys-libs/libomp/libomp-11.0.0.ebuild
+++ b/sys-libs/libomp/libomp-11.0.0.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-15 Thread Mikle Kolyada
commit: 22caf6bb35237ec27cf0050a54ee406d43ba316f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Nov 16 06:42:36 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Nov 16 06:42:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22caf6bb

sys-libs/libomp: Stabilize 11.0.0 ppc64, #754744

Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-11.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-11.0.0.ebuild 
b/sys-libs/libomp/libomp-11.0.0.ebuild
index 5c5c0dea294..818be597487 100644
--- a/sys-libs/libomp/libomp-11.0.0.ebuild
+++ b/sys-libs/libomp/libomp-11.0.0.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm ~arm64 ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-15 Thread Mikle Kolyada
commit: 18e1ae7f5bf44d6a6b7efb82882af1c858195dc4
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Nov 16 06:40:55 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Nov 16 06:40:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18e1ae7f

sys-libs/libomp: Stabilize 11.0.0 arm, #754744

Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-11.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-11.0.0.ebuild 
b/sys-libs/libomp/libomp-11.0.0.ebuild
index 515e27c9b54..5c5c0dea294 100644
--- a/sys-libs/libomp/libomp-11.0.0.ebuild
+++ b/sys-libs/libomp/libomp-11.0.0.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-15 Thread Mikle Kolyada
commit: 611750d76cc9c64b980c5aabd87a843e1dee5dae
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Nov 16 06:40:02 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Nov 16 06:40:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611750d7

sys-libs/libomp: Stabilize 11.0.0 amd64, #754744

Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-11.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-11.0.0.ebuild 
b/sys-libs/libomp/libomp-11.0.0.ebuild
index c5e2c2a87a8..515e27c9b54 100644
--- a/sys-libs/libomp/libomp-11.0.0.ebuild
+++ b/sys-libs/libomp/libomp-11.0.0.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-11-01 Thread Michał Górny
commit: 4eaff71874ccef72927b16ab3e3cda54d92840f7
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Nov  1 08:00:00 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov  1 08:37:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eaff718

sys-libs/libomp: Provide llvm headers.

Required since:
https://github.com/llvm/llvm-project/commit/26790ed248870a1e293e844945bf677825a43084

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Michał Górny  gentoo.org>

 sys-libs/libomp/libomp-12.0.0..ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-12.0.0..ebuild 
b/sys-libs/libomp/libomp-12.0.0..ebuild
index 5bffd6685f6..eefd40f7c1f 100644
--- a/sys-libs/libomp/libomp-12.0.0..ebuild
+++ b/sys-libs/libomp/libomp-12.0.0..ebuild
@@ -9,7 +9,7 @@ inherit cmake-multilib linux-info llvm.org python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
+LLVM_COMPONENTS=( openmp llvm/include )
 llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-10-12 Thread Michał Górny
commit: e5c81432cf1b7d588ebdc7df1b3994828c84e058
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct 12 09:16:16 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct 12 12:38:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5c81432

sys-libs/libomp: Remove 11.0.0 RCs

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

 sys-libs/libomp/Manifest |   3 -
 sys-libs/libomp/libomp-11.0.0_rc3.ebuild | 104 ---
 sys-libs/libomp/libomp-11.0.0_rc4.ebuild | 104 ---
 sys-libs/libomp/libomp-11.0.0_rc6.ebuild | 104 ---
 4 files changed, 315 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index dc8a7ae8e29..52eb105e0cf 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,7 +1,4 @@
 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
-DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 
052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739
 SHA512 
a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f
-DIST llvmorg-11.0.0-rc4.tar.gz 122768150 BLAKE2B 
e92417b6e1775a10c196534518036de6393e3cb9e0e656d4f864e7870be8fb0dad3f4cf170345e653ba60f36172df117977d5dfebe3d9ee7ec2c160d3dc9c5cd
 SHA512 
ed2aee9f6d0bb887f27840158e9f95d94c9ad3981a0388a33fcd3e405f5072134a02999075238b6a2b8803149aa08ac790214605b186c2cc2d4827ba53c00de1
-DIST llvmorg-11.0.0-rc6.tar.gz 122769521 BLAKE2B 
0d03f385447902846dcb8150bda85ac0ab42153f63bb653befc18ed1cba35749306550447b0ac71c077f61ea8c8f7a4c313ea5f3079926ffd012ace0debd
 SHA512 
249b8e685cfc45a651f4dbd777b10298251c77476b57f9657860644ded612f810224d16879225d17b7a6ac9d584d63d53a33ac114c38e1cf86dd9e8d0faed9a9
 DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 
3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984
 SHA512 
b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.0_rc3.ebuild 
b/sys-libs/libomp/libomp-11.0.0_rc3.ebuild
deleted file mode 100644
index 5bffd6685f6..000
--- a/sys-libs/libomp/libomp-11.0.0_rc3.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-PYTHON_COMPAT=( python3_{6..9} )
-inherit cmake-multilib linux-info llvm.org python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS=""
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   dev-libs/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl
-   offload? ( virtual/pkgconfig )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-10-12 Thread Michał Górny
commit: 827d287fd6cdaddf5fe42777d01241ce99a2569a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct 12 09:13:48 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct 12 12:38:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=827d287f

sys-libs/libomp: Bump to 11.0.0 final

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-11.0.0.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index c9465e59a27..dc8a7ae8e29 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -3,4 +3,5 @@ DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3
 DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 
052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739
 SHA512 
a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f
 DIST llvmorg-11.0.0-rc4.tar.gz 122768150 BLAKE2B 
e92417b6e1775a10c196534518036de6393e3cb9e0e656d4f864e7870be8fb0dad3f4cf170345e653ba60f36172df117977d5dfebe3d9ee7ec2c160d3dc9c5cd
 SHA512 
ed2aee9f6d0bb887f27840158e9f95d94c9ad3981a0388a33fcd3e405f5072134a02999075238b6a2b8803149aa08ac790214605b186c2cc2d4827ba53c00de1
 DIST llvmorg-11.0.0-rc6.tar.gz 122769521 BLAKE2B 
0d03f385447902846dcb8150bda85ac0ab42153f63bb653befc18ed1cba35749306550447b0ac71c077f61ea8c8f7a4c313ea5f3079926ffd012ace0debd
 SHA512 
249b8e685cfc45a651f4dbd777b10298251c77476b57f9657860644ded612f810224d16879225d17b7a6ac9d584d63d53a33ac114c38e1cf86dd9e8d0faed9a9
+DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 
3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984
 SHA512 
b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.0.ebuild 
b/sys-libs/libomp/libomp-11.0.0.ebuild
new file mode 100644
index 000..c5e2c2a87a8
--- /dev/null
+++ b/sys-libs/libomp/libomp-11.0.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-10-11 Thread Georgy Yakovlev
commit: 78ce95cc1f272eb1a0ccf5509ff2aaa5dcb30510
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Oct 11 05:42:42 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Oct 11 05:42:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ce95cc

sys-libs/libomp: 10.0.1 ppc64 stable, bug #742974

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-libs/libomp/libomp-10.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.1.ebuild 
b/sys-libs/libomp/libomp-10.0.1.ebuild
index 33f6fa96982..9908059ef41 100644
--- a/sys-libs/libomp/libomp-10.0.1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ppc64 x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-10-07 Thread Michał Górny
commit: 05169c42526b4b35c15478a2b974f52da9d3d276
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  7 15:52:54 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  7 18:37:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05169c42

sys-libs/libomp: Bump to 11.0.0-rc6

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-11.0.0_rc6.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index f07ccef2578..c9465e59a27 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -2,4 +2,5 @@ DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff21988870
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 
052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739
 SHA512 
a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f
 DIST llvmorg-11.0.0-rc4.tar.gz 122768150 BLAKE2B 
e92417b6e1775a10c196534518036de6393e3cb9e0e656d4f864e7870be8fb0dad3f4cf170345e653ba60f36172df117977d5dfebe3d9ee7ec2c160d3dc9c5cd
 SHA512 
ed2aee9f6d0bb887f27840158e9f95d94c9ad3981a0388a33fcd3e405f5072134a02999075238b6a2b8803149aa08ac790214605b186c2cc2d4827ba53c00de1
+DIST llvmorg-11.0.0-rc6.tar.gz 122769521 BLAKE2B 
0d03f385447902846dcb8150bda85ac0ab42153f63bb653befc18ed1cba35749306550447b0ac71c077f61ea8c8f7a4c313ea5f3079926ffd012ace0debd
 SHA512 
249b8e685cfc45a651f4dbd777b10298251c77476b57f9657860644ded612f810224d16879225d17b7a6ac9d584d63d53a33ac114c38e1cf86dd9e8d0faed9a9
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.0_rc6.ebuild 
b/sys-libs/libomp/libomp-11.0.0_rc6.ebuild
new file mode 100644
index 000..5bffd6685f6
--- /dev/null
+++ b/sys-libs/libomp/libomp-11.0.0_rc6.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-10-06 Thread Sam James
commit: 04bc3baf1b5be8d810871dc86c01c4a5f852e85d
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct  6 13:31:08 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct  6 13:31:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04bc3baf

sys-libs/libomp: Stabilize 10.0.1 arm, #742974

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libomp/libomp-10.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.1.ebuild 
b/sys-libs/libomp/libomp-10.0.1.ebuild
index eca257798bf..33f6fa96982 100644
--- a/sys-libs/libomp/libomp-10.0.1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~ppc64 x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-09-28 Thread Michał Górny
commit: d017f6e1227da36a40e2cddf961008c73e24b7a6
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 28 19:52:48 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 28 21:41:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d017f6e1

sys-libs/libomp: Bump to 11.0.0-rc4

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-11.0.0_rc4.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index dff4b05ec63..f07ccef2578 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,5 @@
 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 
052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739
 SHA512 
a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f
+DIST llvmorg-11.0.0-rc4.tar.gz 122768150 BLAKE2B 
e92417b6e1775a10c196534518036de6393e3cb9e0e656d4f864e7870be8fb0dad3f4cf170345e653ba60f36172df117977d5dfebe3d9ee7ec2c160d3dc9c5cd
 SHA512 
ed2aee9f6d0bb887f27840158e9f95d94c9ad3981a0388a33fcd3e405f5072134a02999075238b6a2b8803149aa08ac790214605b186c2cc2d4827ba53c00de1
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.0_rc4.ebuild 
b/sys-libs/libomp/libomp-11.0.0_rc4.ebuild
new file mode 100644
index 000..5bffd6685f6
--- /dev/null
+++ b/sys-libs/libomp/libomp-11.0.0_rc4.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-09-23 Thread Michał Górny
commit: d46f5a93c2c7116de3985cb03d6a2b28b903c868
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 23 10:34:26 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 23 10:35:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d46f5a93

sys-libs/libomp: Remove old 11.0.0 RCs

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

 sys-libs/libomp/Manifest |   2 -
 sys-libs/libomp/libomp-11.0.0_rc1.ebuild | 104 ---
 sys-libs/libomp/libomp-11.0.0_rc2.ebuild | 104 ---
 3 files changed, 210 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 990dc5965a2..dff4b05ec63 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,6 +1,4 @@
 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
-DIST llvmorg-11.0.0-rc1.tar.gz 122688246 BLAKE2B 
10ff3f08ff3780abb1d86ac67942e6aac52ff5daf820a2e3d23d8b79dbade1c5b1d398d0a577028d2d7c8759ab9a8b552a0305b5750310a015585c06cdadf844
 SHA512 
09564ed903902a5795fffaa4679badc30bf49739889a48074b5ae2c93bd29000cfb36a650208d5cae5d74899bade066f84b4aa023fc852eec246ff67bf64a267
-DIST llvmorg-11.0.0-rc2.tar.gz 122728230 BLAKE2B 
7944adf41ec7cd82489666a0a38a857de628879d59a2e3bb566b67c18500092430db66ff214d45cb324128c874a74a72c367b452df3b88ec95b33c284dd35512
 SHA512 
25eb2879eb22e79a1e840ef24cf3f5eec602e947101db299393e06e3d09f2d1531eef214264636e1b511eafff7f51b1834d5a03976ccd088eb680745b147e9f3
 DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 
052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739
 SHA512 
a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.0_rc1.ebuild 
b/sys-libs/libomp/libomp-11.0.0_rc1.ebuild
deleted file mode 100644
index 5bffd6685f6..000
--- a/sys-libs/libomp/libomp-11.0.0_rc1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-PYTHON_COMPAT=( python3_{6..9} )
-inherit cmake-multilib linux-info llvm.org python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS=""
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   dev-libs/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl
-   offload? ( virtual/pkgconfig )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-09-22 Thread Michał Górny
commit: 579b78d31b2dd7b798f37361a854f8dc102428d6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 22 17:09:56 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 22 20:40:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=579b78d3

sys-libs/libomp: Bump to 11.0.0-rc3

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-11.0.0_rc3.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 8ceb9382992..990dc5965a2 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -2,4 +2,5 @@ DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff21988870
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-11.0.0-rc1.tar.gz 122688246 BLAKE2B 
10ff3f08ff3780abb1d86ac67942e6aac52ff5daf820a2e3d23d8b79dbade1c5b1d398d0a577028d2d7c8759ab9a8b552a0305b5750310a015585c06cdadf844
 SHA512 
09564ed903902a5795fffaa4679badc30bf49739889a48074b5ae2c93bd29000cfb36a650208d5cae5d74899bade066f84b4aa023fc852eec246ff67bf64a267
 DIST llvmorg-11.0.0-rc2.tar.gz 122728230 BLAKE2B 
7944adf41ec7cd82489666a0a38a857de628879d59a2e3bb566b67c18500092430db66ff214d45cb324128c874a74a72c367b452df3b88ec95b33c284dd35512
 SHA512 
25eb2879eb22e79a1e840ef24cf3f5eec602e947101db299393e06e3d09f2d1531eef214264636e1b511eafff7f51b1834d5a03976ccd088eb680745b147e9f3
+DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 
052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739
 SHA512 
a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.0_rc3.ebuild 
b/sys-libs/libomp/libomp-11.0.0_rc3.ebuild
new file mode 100644
index 000..5bffd6685f6
--- /dev/null
+++ b/sys-libs/libomp/libomp-11.0.0_rc3.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-09-20 Thread Thomas Deutschmann
commit: a4df3539a64f112cba3c35a032c8d3965665f638
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Sep 20 21:10:38 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Sep 20 21:13:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4df3539

sys-libs/libomp: x86 stable (bug #742974)

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/libomp/libomp-10.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.1.ebuild 
b/sys-libs/libomp/libomp-10.0.1.ebuild
index 9f63dba15de..eca257798bf 100644
--- a/sys-libs/libomp/libomp-10.0.1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-09-20 Thread Sam James
commit: 8347e48e58b22861dae8a8183c3bea8b17c03f91
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 20 15:09:26 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 20 15:16:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8347e48e

sys-libs/libomp: Stabilize 10.0.1 arm64, #742974

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libomp/libomp-10.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.1.ebuild 
b/sys-libs/libomp/libomp-10.0.1.ebuild
index 515e27c9b54..9f63dba15de 100644
--- a/sys-libs/libomp/libomp-10.0.1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-09-19 Thread Mikle Kolyada
commit: bdfe38178baa1ae7b5abbe9a8d209f3a655f8ec7
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Sep 19 20:16:53 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Sep 19 20:16:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdfe3817

sys-libs/libomp: Stabilize 10.0.1 amd64, #742974

Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-10.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.1.ebuild 
b/sys-libs/libomp/libomp-10.0.1.ebuild
index c5e2c2a87a8..515e27c9b54 100644
--- a/sys-libs/libomp/libomp-10.0.1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1.ebuild
@@ -14,7 +14,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-08-21 Thread Michał Górny
commit: bf71eb403f692f6e496c4272aca0deb56a7530ec
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Aug 21 13:47:06 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Aug 21 19:39:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf71eb40

sys-libs/libomp: Bump to 11.0.0rc2

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-11.0.0_rc2.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 082dafda8ad..8ceb9382992 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,5 @@
 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-11.0.0-rc1.tar.gz 122688246 BLAKE2B 
10ff3f08ff3780abb1d86ac67942e6aac52ff5daf820a2e3d23d8b79dbade1c5b1d398d0a577028d2d7c8759ab9a8b552a0305b5750310a015585c06cdadf844
 SHA512 
09564ed903902a5795fffaa4679badc30bf49739889a48074b5ae2c93bd29000cfb36a650208d5cae5d74899bade066f84b4aa023fc852eec246ff67bf64a267
+DIST llvmorg-11.0.0-rc2.tar.gz 122728230 BLAKE2B 
7944adf41ec7cd82489666a0a38a857de628879d59a2e3bb566b67c18500092430db66ff214d45cb324128c874a74a72c367b452df3b88ec95b33c284dd35512
 SHA512 
25eb2879eb22e79a1e840ef24cf3f5eec602e947101db299393e06e3d09f2d1531eef214264636e1b511eafff7f51b1834d5a03976ccd088eb680745b147e9f3
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59

diff --git a/sys-libs/libomp/libomp-11.0.0_rc2.ebuild 
b/sys-libs/libomp/libomp-11.0.0_rc2.ebuild
new file mode 100644
index 000..5bffd6685f6
--- /dev/null
+++ b/sys-libs/libomp/libomp-11.0.0_rc2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-07-31 Thread Sam James
commit: 49aeffd5358c00cb9bc73924fdac8befdec198d0
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 31 22:14:38 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 31 22:15:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49aeffd5

sys-libs/libomp: x86 stable (bug #727762)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libomp/libomp-10.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.0.ebuild 
b/sys-libs/libomp/libomp-10.0.0.ebuild
index 09535cc0427..3e9988c75e6 100644
--- a/sys-libs/libomp/libomp-10.0.0.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-07-30 Thread Michał Górny
commit: cf4a7b3857f05892d526741bf66bfbb488f05c6f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul 29 11:48:27 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 30 22:09:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf4a7b38

sys-libs/libomp: Remove 8*

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

 sys-libs/libomp/Manifest|   1 -
 sys-libs/libomp/libomp-8.0.1.ebuild | 116 
 2 files changed, 117 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index cb1467da64f..082dafda8ad 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -2,4 +2,3 @@ DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff21988870
 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-11.0.0-rc1.tar.gz 122688246 BLAKE2B 
10ff3f08ff3780abb1d86ac67942e6aac52ff5daf820a2e3d23d8b79dbade1c5b1d398d0a577028d2d7c8759ab9a8b552a0305b5750310a015585c06cdadf844
 SHA512 
09564ed903902a5795fffaa4679badc30bf49739889a48074b5ae2c93bd29000cfb36a650208d5cae5d74899bade066f84b4aa023fc852eec246ff67bf64a267
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
-DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-8.0.1.ebuild 
b/sys-libs/libomp/libomp-8.0.1.ebuild
deleted file mode 100644
index 0cb1ed1a721..000
--- a/sys-libs/libomp/libomp-8.0.1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-multilib linux-info multiprocessing python-any-r1
-
-MY_P=openmp-${PV}.src
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-SRC_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/${MY_P}.tar.xz;
-
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos"
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   dev-libs/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
-   offload? ( virtual/pkgconfig )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-S=${WORKDIR}/${MY_P}
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
-
-   # do not install 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-07-21 Thread Michał Górny
commit: 2648719103a7891d34df5d7e607a14b9561c609a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 21 15:46:04 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 21 19:31:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26487191

sys-libs/libomp: Bump to 10.0.1

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.1.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 5b011999b22..94f8610ee25 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -3,5 +3,6 @@ DIST llvmorg-10.0.1-rc1.tar.gz 120834583 BLAKE2B 
64244ebcb6f2c171c9f606e5eb0adff
 DIST llvmorg-10.0.1-rc2.tar.gz 120883192 BLAKE2B 
d48f4ccb33691cd4997576a6d20b298455687515164f7d8dfa11ec32e197b58132c6bd549c1214c3b36982ef85e1018d4101e7afecee8d2ab67ad15d68c681bf
 SHA512 
8e363d379a73e38ef570fb03d8243a21f37a48ef579a0f08118af4dac48060c0dc24e2bd8175f04241fa424e49b6c85723d2d3552bbe30dd165fe5fb43493325
 DIST llvmorg-10.0.1-rc3.tar.gz 120876192 BLAKE2B 
c48c7e00b37adaab411a34196b87eb630a997ce56bcc33350a698d6d8e24877844b037735ec44abf80ac4c0a4d5a8682745afce4c44cb806bbe9e2a74d875da1
 SHA512 
ccb6a5bff336924381def11cdfa9c676351461e293b6250b15c1c6cd7694b99beb3e2f3834e8321a28586da091492cbde689213eb4108c9dbe86724e1ee66949
 DIST llvmorg-10.0.1-rc4.tar.gz 120873659 BLAKE2B 
2413fb8af98384e608fab83b91fa826ffe2a7cdeb052eb6a50f253f9fe46ee71c040f210bb2f395d73b0a2772854ccafe2ac2cf1cc7c8405bc988183fa732aea
 SHA512 
8b3f0b794c98956238e5d3d195e3a9cb9c9a40f78e2ed72c767fbeac3e1dbae58cb8132db7d2c8caa891a4d0bf631e2a9afc67f3c37707e9e6b94e2f9aeb77b8
+DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 
30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1
 SHA512 
48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.1.ebuild 
b/sys-libs/libomp/libomp-10.0.1.ebuild
new file mode 100644
index 000..c5e2c2a87a8
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-07-18 Thread Sam James
commit: cc1599ba0df2772550bf39aec2cc419f2592c8ec
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 18 14:42:56 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 18 14:42:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc1599ba

sys-libs/libomp: arm stable (bug #727762)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libomp/libomp-10.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.0.ebuild 
b/sys-libs/libomp/libomp-10.0.0.ebuild
index 0fb61176eda..09535cc0427 100644
--- a/sys-libs/libomp/libomp-10.0.0.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-07-16 Thread Sam James
commit: 9b8c54c6cdc776f3639120746e32fc3616986ad0
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 16 18:32:35 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 16 18:33:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b8c54c6

sys-libs/libomp: ppc64 stable (bug #727762)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libomp/libomp-10.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.0.ebuild 
b/sys-libs/libomp/libomp-10.0.0.ebuild
index 34f5824325b..0fb61176eda 100644
--- a/sys-libs/libomp/libomp-10.0.0.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-07-15 Thread Michał Górny
commit: 6768f73249806b4ac86e0d72780c50fdc487a381
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul 15 18:36:28 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul 15 18:41:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6768f732

sys-libs/libomp: Add 12.0.0. for master branch

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

 sys-libs/libomp/libomp-12.0.0..ebuild | 104 ++
 1 file changed, 104 insertions(+)

diff --git a/sys-libs/libomp/libomp-12.0.0..ebuild 
b/sys-libs/libomp/libomp-12.0.0..ebuild
new file mode 100644
index 000..5bffd6685f6
--- /dev/null
+++ b/sys-libs/libomp/libomp-12.0.0..ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable unnecessary hack copying stuff back to srcdir
+   -DLIBOMP_COPY_EXPORTS=OFF
+   )
+   use offload && mycmakeargs+=(
+   # this is non-fatal and libomp checks for CUDA conditionally
+   # to ABI, so we can just ignore passing the wrong value
+   # on non-amd64 ABIs
+   -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=$(usex !cuda)
+   )
+   use test && mycmakeargs+=(
+   # this project does not use standard LLVM cmake macros
+   -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
+   -DOPENMP_LIT_ARGS="$(get_lit_flags)"
+
+   -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
+   -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
+   )
+   cmake_src_configure
+}
+
+multilib_src_test() {
+   # respect TMPDIR!
+   local -x LIT_PRESERVES_TMP=1
+
+   cmake_build check-libomp
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-07-08 Thread Michał Górny
commit: c1bae7388f91c1e177e8c2a66b5d50159ec44caa
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  8 06:28:59 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  8 08:25:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1bae738

sys-libs/libomp: Bump to 10.0.1-rc4

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.1_rc4.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 2bdd74d13f9..5b011999b22 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -2,5 +2,6 @@ DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff21988870
 DIST llvmorg-10.0.1-rc1.tar.gz 120834583 BLAKE2B 
64244ebcb6f2c171c9f606e5eb0adff2794f06c9312a0ca627fb79c107c0c898ac242cf4e92523c3265fa717322601d7e3f4d178515fac95d03ee92312082b06
 SHA512 
f877f66046969a4055b166ad50ef876a9c8ecaf03e2cdd7c8e1a3348eb5f5180f222fa457b1f090a6660282a0d9f7a1d39cf09a04abe0dde0a6e1e10ccf15597
 DIST llvmorg-10.0.1-rc2.tar.gz 120883192 BLAKE2B 
d48f4ccb33691cd4997576a6d20b298455687515164f7d8dfa11ec32e197b58132c6bd549c1214c3b36982ef85e1018d4101e7afecee8d2ab67ad15d68c681bf
 SHA512 
8e363d379a73e38ef570fb03d8243a21f37a48ef579a0f08118af4dac48060c0dc24e2bd8175f04241fa424e49b6c85723d2d3552bbe30dd165fe5fb43493325
 DIST llvmorg-10.0.1-rc3.tar.gz 120876192 BLAKE2B 
c48c7e00b37adaab411a34196b87eb630a997ce56bcc33350a698d6d8e24877844b037735ec44abf80ac4c0a4d5a8682745afce4c44cb806bbe9e2a74d875da1
 SHA512 
ccb6a5bff336924381def11cdfa9c676351461e293b6250b15c1c6cd7694b99beb3e2f3834e8321a28586da091492cbde689213eb4108c9dbe86724e1ee66949
+DIST llvmorg-10.0.1-rc4.tar.gz 120873659 BLAKE2B 
2413fb8af98384e608fab83b91fa826ffe2a7cdeb052eb6a50f253f9fe46ee71c040f210bb2f395d73b0a2772854ccafe2ac2cf1cc7c8405bc988183fa732aea
 SHA512 
8b3f0b794c98956238e5d3d195e3a9cb9c9a40f78e2ed72c767fbeac3e1dbae58cb8132db7d2c8caa891a4d0bf631e2a9afc67f3c37707e9e6b94e2f9aeb77b8
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.1_rc4.ebuild 
b/sys-libs/libomp/libomp-10.0.1_rc4.ebuild
new file mode 100644
index 000..5bffd6685f6
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.1_rc4.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-07-07 Thread Michał Górny
commit: 2c8d14286faf2dfa34fe0ecf9b6f07016d1c462d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul  7 16:12:19 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul  7 20:01:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8d1428

sys-libs/libomp: Bump to 10.0.1-rc3

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.1_rc3.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 1e128134cd0..2bdd74d13f9 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,5 +1,6 @@
 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-10.0.1-rc1.tar.gz 120834583 BLAKE2B 
64244ebcb6f2c171c9f606e5eb0adff2794f06c9312a0ca627fb79c107c0c898ac242cf4e92523c3265fa717322601d7e3f4d178515fac95d03ee92312082b06
 SHA512 
f877f66046969a4055b166ad50ef876a9c8ecaf03e2cdd7c8e1a3348eb5f5180f222fa457b1f090a6660282a0d9f7a1d39cf09a04abe0dde0a6e1e10ccf15597
 DIST llvmorg-10.0.1-rc2.tar.gz 120883192 BLAKE2B 
d48f4ccb33691cd4997576a6d20b298455687515164f7d8dfa11ec32e197b58132c6bd549c1214c3b36982ef85e1018d4101e7afecee8d2ab67ad15d68c681bf
 SHA512 
8e363d379a73e38ef570fb03d8243a21f37a48ef579a0f08118af4dac48060c0dc24e2bd8175f04241fa424e49b6c85723d2d3552bbe30dd165fe5fb43493325
+DIST llvmorg-10.0.1-rc3.tar.gz 120876192 BLAKE2B 
c48c7e00b37adaab411a34196b87eb630a997ce56bcc33350a698d6d8e24877844b037735ec44abf80ac4c0a4d5a8682745afce4c44cb806bbe9e2a74d875da1
 SHA512 
ccb6a5bff336924381def11cdfa9c676351461e293b6250b15c1c6cd7694b99beb3e2f3834e8321a28586da091492cbde689213eb4108c9dbe86724e1ee66949
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.1_rc3.ebuild 
b/sys-libs/libomp/libomp-10.0.1_rc3.ebuild
new file mode 100644
index 000..5bffd6685f6
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.1_rc3.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-07-04 Thread Mart Raudsepp
commit: daf0c5909fbe56512a716269e2b1197d7754aa12
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Mon Jun 29 16:01:59 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Jul  4 12:27:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf0c590

sys-libs/libomp: arm64 stable (bug #727762)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 sys-libs/libomp/libomp-10.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.0.ebuild 
b/sys-libs/libomp/libomp-10.0.0.ebuild
index 11b2e0535d2..34f5824325b 100644
--- a/sys-libs/libomp/libomp-10.0.0.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-06-29 Thread Michał Górny
commit: 2aed348b3efe87f5840223c0c9240f039706b056
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 29 15:20:58 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 29 18:37:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aed348b

sys-libs/libomp: Bump to 10.0.1-rc2

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.1_rc2.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 9eb1bf24f0d..1e128134cd0 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,5 @@
 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-10.0.1-rc1.tar.gz 120834583 BLAKE2B 
64244ebcb6f2c171c9f606e5eb0adff2794f06c9312a0ca627fb79c107c0c898ac242cf4e92523c3265fa717322601d7e3f4d178515fac95d03ee92312082b06
 SHA512 
f877f66046969a4055b166ad50ef876a9c8ecaf03e2cdd7c8e1a3348eb5f5180f222fa457b1f090a6660282a0d9f7a1d39cf09a04abe0dde0a6e1e10ccf15597
+DIST llvmorg-10.0.1-rc2.tar.gz 120883192 BLAKE2B 
d48f4ccb33691cd4997576a6d20b298455687515164f7d8dfa11ec32e197b58132c6bd549c1214c3b36982ef85e1018d4101e7afecee8d2ab67ad15d68c681bf
 SHA512 
8e363d379a73e38ef570fb03d8243a21f37a48ef579a0f08118af4dac48060c0dc24e2bd8175f04241fa424e49b6c85723d2d3552bbe30dd165fe5fb43493325
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.1_rc2.ebuild 
b/sys-libs/libomp/libomp-10.0.1_rc2.ebuild
new file mode 100644
index 000..5bffd6685f6
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.1_rc2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake-multilib linux-info llvm.org python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-06-29 Thread Mikle Kolyada
commit: bb146b9a24976de9b8378fd53473007a7e330c98
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jun 29 15:56:08 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jun 29 15:56:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb146b9a

sys-libs/libomp: amd64 stable wrt bug #727762

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-10.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.0.ebuild 
b/sys-libs/libomp/libomp-10.0.0.ebuild
index 81493f7f5dc..11b2e0535d2 100644
--- a/sys-libs/libomp/libomp-10.0.0.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-06-23 Thread Michał Górny
commit: e11dbbf271e40d48abca3e4df048afd4dd3a7172
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 20 21:08:42 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 23 18:30:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e11dbbf2

sys-libs/libomp: Dedupe with new eclass code

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

 sys-libs/libomp/libomp-10.0.1..ebuild | 14 ++
 sys-libs/libomp/libomp-10.0.1_rc1.ebuild  | 14 ++
 sys-libs/libomp/libomp-11.0.0..ebuild | 14 ++
 3 files changed, 6 insertions(+), 36 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.1..ebuild 
b/sys-libs/libomp/libomp-10.0.1..ebuild
index 01e5f189d65..5bffd6685f6 100644
--- a/sys-libs/libomp/libomp-10.0.1..ebuild
+++ b/sys-libs/libomp/libomp-10.0.1..ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 CMAKE_ECLASS=cmake
 PYTHON_COMPAT=( python3_{6..9} )
-inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+inherit cmake-multilib linux-info llvm.org python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
@@ -39,9 +39,6 @@ BDEPEND="dev-lang/perl
>=sys-devel/clang-6
)"
 
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
 python_check_deps() {
has_version "dev-python/lit[${PYTHON_USEDEP}]"
 }
@@ -67,13 +64,6 @@ 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_src_prepare
-}
-
 multilib_src_configure() {
local libdir="$(get_libdir)"
local mycmakeargs=(
@@ -98,7 +88,7 @@ multilib_src_configure() {
use test && mycmakeargs+=(
# this project does not use standard LLVM cmake macros
-DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
-   -DOPENMP_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs 
"${MAKEOPTS}" "$(get_nproc)")}"
+   -DOPENMP_LIT_ARGS="$(get_lit_flags)"
 
-DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"

diff --git a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild 
b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
index 01e5f189d65..5bffd6685f6 100644
--- a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 CMAKE_ECLASS=cmake
 PYTHON_COMPAT=( python3_{6..9} )
-inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+inherit cmake-multilib linux-info llvm.org python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
@@ -39,9 +39,6 @@ BDEPEND="dev-lang/perl
>=sys-devel/clang-6
)"
 
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
 python_check_deps() {
has_version "dev-python/lit[${PYTHON_USEDEP}]"
 }
@@ -67,13 +64,6 @@ 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_src_prepare
-}
-
 multilib_src_configure() {
local libdir="$(get_libdir)"
local mycmakeargs=(
@@ -98,7 +88,7 @@ multilib_src_configure() {
use test && mycmakeargs+=(
# this project does not use standard LLVM cmake macros
-DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
-   -DOPENMP_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs 
"${MAKEOPTS}" "$(get_nproc)")}"
+   -DOPENMP_LIT_ARGS="$(get_lit_flags)"
 
-DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"

diff --git a/sys-libs/libomp/libomp-11.0.0..ebuild 
b/sys-libs/libomp/libomp-11.0.0..ebuild
index 01e5f189d65..5bffd6685f6 100644
--- a/sys-libs/libomp/libomp-11.0.0..ebuild
+++ b/sys-libs/libomp/libomp-11.0.0..ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 CMAKE_ECLASS=cmake
 PYTHON_COMPAT=( python3_{6..9} )
-inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+inherit cmake-multilib linux-info llvm.org python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
@@ -39,9 +39,6 @@ BDEPEND="dev-lang/perl
>=sys-devel/clang-6
)"
 
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
 python_check_deps() {
has_version "dev-python/lit[${PYTHON_USEDEP}]"
 }
@@ -67,13 +64,6 @@ 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_src_prepare
-}
-
 multilib_src_configure() {
local libdir="$(get_libdir)"
local mycmakeargs=(
@@ -98,7 +88,7 @@ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-06-20 Thread Michał Górny
commit: 791afb608f257e359805191085f6310e3195b65b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 20 16:31:01 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 20 16:32:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=791afb60

sys-libs/libomp: Apply patches in WORKDIR in 10.0.1+

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

 sys-libs/libomp/libomp-10.0.1..ebuild | 7 +++
 sys-libs/libomp/libomp-10.0.1_rc1.ebuild  | 7 +++
 sys-libs/libomp/libomp-11.0.0..ebuild | 7 +++
 3 files changed, 21 insertions(+)

diff --git a/sys-libs/libomp/libomp-10.0.1..ebuild 
b/sys-libs/libomp/libomp-10.0.1..ebuild
index 7277ff84d5c..b2d599eb53d 100644
--- a/sys-libs/libomp/libomp-10.0.1..ebuild
+++ b/sys-libs/libomp/libomp-10.0.1..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 7277ff84d5c..b2d599eb53d 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..ebuild 
b/sys-libs/libomp/libomp-11.0.0..ebuild
index 7277ff84d5c..b2d599eb53d 100644
--- a/sys-libs/libomp/libomp-11.0.0..ebuild
+++ b/sys-libs/libomp/libomp-11.0.0..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=(



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-06-20 Thread Michał Górny
commit: 84e24bee8e501876705cd91c940c3984f018cedf
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 20 16:31:20 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 20 16:32:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84e24bee

sys-libs/libomp: Port to cmake.eclass

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

 sys-libs/libomp/libomp-10.0.1..ebuild | 7 ---
 sys-libs/libomp/libomp-10.0.1_rc1.ebuild  | 7 ---
 sys-libs/libomp/libomp-11.0.0..ebuild | 7 ---
 3 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.1..ebuild 
b/sys-libs/libomp/libomp-10.0.1..ebuild
index b2d599eb53d..75f1323b4f5 100644
--- a/sys-libs/libomp/libomp-10.0.1..ebuild
+++ b/sys-libs/libomp/libomp-10.0.1..ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+CMAKE_ECLASS=cmake
 PYTHON_COMPAT=( python3_{6,7,8} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
@@ -70,7 +71,7 @@ src_prepare() {
# cmake eclasses suck by forcing ${S} here
CMAKE_USE_DIR=${S} \
S=${WORKDIR} \
-   cmake-utils_src_prepare
+   cmake_src_prepare
 }
 
 multilib_src_configure() {
@@ -102,12 +103,12 @@ multilib_src_configure() {
-DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
)
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 multilib_src_test() {
# respect TMPDIR!
local -x LIT_PRESERVES_TMP=1
 
-   cmake-utils_src_make check-libomp
+   cmake_build check-libomp
 }

diff --git a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild 
b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
index b2d599eb53d..75f1323b4f5 100644
--- a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+CMAKE_ECLASS=cmake
 PYTHON_COMPAT=( python3_{6,7,8} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
@@ -70,7 +71,7 @@ src_prepare() {
# cmake eclasses suck by forcing ${S} here
CMAKE_USE_DIR=${S} \
S=${WORKDIR} \
-   cmake-utils_src_prepare
+   cmake_src_prepare
 }
 
 multilib_src_configure() {
@@ -102,12 +103,12 @@ multilib_src_configure() {
-DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
)
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 multilib_src_test() {
# respect TMPDIR!
local -x LIT_PRESERVES_TMP=1
 
-   cmake-utils_src_make check-libomp
+   cmake_build check-libomp
 }

diff --git a/sys-libs/libomp/libomp-11.0.0..ebuild 
b/sys-libs/libomp/libomp-11.0.0..ebuild
index b2d599eb53d..75f1323b4f5 100644
--- a/sys-libs/libomp/libomp-11.0.0..ebuild
+++ b/sys-libs/libomp/libomp-11.0.0..ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+CMAKE_ECLASS=cmake
 PYTHON_COMPAT=( python3_{6,7,8} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
@@ -70,7 +71,7 @@ src_prepare() {
# cmake eclasses suck by forcing ${S} here
CMAKE_USE_DIR=${S} \
S=${WORKDIR} \
-   cmake-utils_src_prepare
+   cmake_src_prepare
 }
 
 multilib_src_configure() {
@@ -102,12 +103,12 @@ multilib_src_configure() {
-DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
)
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 multilib_src_test() {
# respect TMPDIR!
local -x LIT_PRESERVES_TMP=1
 
-   cmake-utils_src_make check-libomp
+   cmake_build check-libomp
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-06-20 Thread Michał Górny
commit: 859661fe2adf084d75f7a6a8ff0a21ae1c6f6906
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 20 16:31:31 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 20 16:33:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=859661fe

sys-libs/libomp: Port to py3.9

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

 sys-libs/libomp/libomp-10.0.1..ebuild | 2 +-
 sys-libs/libomp/libomp-10.0.1_rc1.ebuild  | 2 +-
 sys-libs/libomp/libomp-11.0.0..ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.1..ebuild 
b/sys-libs/libomp/libomp-10.0.1..ebuild
index 75f1323b4f5..01e5f189d65 100644
--- a/sys-libs/libomp/libomp-10.0.1..ebuild
+++ b/sys-libs/libomp/libomp-10.0.1..ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 CMAKE_ECLASS=cmake
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"

diff --git a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild 
b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
index 75f1323b4f5..01e5f189d65 100644
--- a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 CMAKE_ECLASS=cmake
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"

diff --git a/sys-libs/libomp/libomp-11.0.0..ebuild 
b/sys-libs/libomp/libomp-11.0.0..ebuild
index 75f1323b4f5..01e5f189d65 100644
--- a/sys-libs/libomp/libomp-11.0.0..ebuild
+++ b/sys-libs/libomp/libomp-11.0.0..ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 CMAKE_ECLASS=cmake
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-05-20 Thread Michał Górny
commit: cd7df4af50bc377626a430c898567318d20d52e1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 20 09:36:21 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 20 11:22:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7df4af

sys-libs/libomp: 10.x branch is now 10.0.1

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

 sys-libs/libomp/{libomp-10.0.0..ebuild => libomp-10.0.1..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.0..ebuild 
b/sys-libs/libomp/libomp-10.0.1..ebuild
similarity index 100%
rename from sys-libs/libomp/libomp-10.0.0..ebuild
rename to sys-libs/libomp/libomp-10.0.1..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-05-20 Thread Michał Górny
commit: 344d0b8b46f1872485bd815a4c7b09a8ad089f05
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 20 09:40:44 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 20 11:22:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=344d0b8b

sys-libs/libomp: Bump to 10.0.1_rc1

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.1_rc1.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 42e17a0b65a..9eb1bf24f0d 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,3 +1,4 @@
 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
+DIST llvmorg-10.0.1-rc1.tar.gz 120834583 BLAKE2B 
64244ebcb6f2c171c9f606e5eb0adff2794f06c9312a0ca627fb79c107c0c898ac242cf4e92523c3265fa717322601d7e3f4d178515fac95d03ee92312082b06
 SHA512 
f877f66046969a4055b166ad50ef876a9c8ecaf03e2cdd7c8e1a3348eb5f5180f222fa457b1f090a6660282a0d9f7a1d39cf09a04abe0dde0a6e1e10ccf15597
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild 
b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
new file mode 100644
index 000..aa0be13c4ba
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable unnecessary hack copying stuff back to srcdir
+   -DLIBOMP_COPY_EXPORTS=OFF
+   )
+   use offload && mycmakeargs+=(
+   # this is non-fatal and libomp checks for CUDA conditionally
+   # to ABI, so we 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-05-01 Thread Michał Górny
commit: 5d133f94c308e63cc0297d268f66fcb53e309a89
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May  1 08:46:40 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May  1 08:53:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d133f94

sys-libs/libomp: Remove 7*

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

 sys-libs/libomp/Manifest|   1 -
 sys-libs/libomp/libomp-7.1.0.ebuild | 115 
 2 files changed, 116 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index c4478f4580b..42e17a0b65a 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,3 @@
 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
-DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-7.1.0.ebuild 
b/sys-libs/libomp/libomp-7.1.0.ebuild
deleted file mode 100644
index 169b98cab95..000
--- a/sys-libs/libomp/libomp-7.1.0.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-multilib linux-info multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
-
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ppc64 x86 ~amd64-linux ~x64-macos"
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   dev-libs/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-S=${WORKDIR}/openmp-${PV/_/}.src
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
-
-   # do not install libgomp.so & libiomp5.so aliases
-   -DLIBOMP_INSTALL_ALIASES=OFF
-   # 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-03-25 Thread Michał Górny
commit: 06a3a88ed79fc1bc9745a5d60146fa48de7850eb
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 25 17:47:37 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 25 17:58:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a3a88e

sys-libs/libomp: Remove 10.0.0 RCs

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

 sys-libs/libomp/Manifest |   3 -
 sys-libs/libomp/libomp-10.0.0_rc3.ebuild | 106 ---
 sys-libs/libomp/libomp-10.0.0_rc4.ebuild | 106 ---
 sys-libs/libomp/libomp-10.0.0_rc6.ebuild | 106 ---
 4 files changed, 321 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 6d46a34cc63..c4478f4580b 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,6 +1,3 @@
-DIST llvmorg-10.0.0-rc3.tar.gz 120814170 BLAKE2B 
432fe0c1e74d3020a269a256e6e456cbfa0b7166dd3f86df6caf3a55e1931c022285fe8afdc4d8998c729c5471acf5308abb336782ddec2ef9b0f58d1ccb5a3c
 SHA512 
aad1df86063612d20c48ea7046940330fe2ac572a146be22ff71d9e65fa3438184cb39a2533fc6afd1e74df26909a9f0d24ebcd7d62e74728cfd81e447f2ffbf
-DIST llvmorg-10.0.0-rc4.tar.gz 120816191 BLAKE2B 
66c497fa682b9bcbdef3776f540e6b2781286df3405b00ab335aa405a19418d9c4571b301a6814b526e363bb9c0b7c0be0dfc85444fb9d636ecf11ee788b2cdd
 SHA512 
b3df32cafbbe9147c7b5cfbfe96c7231dc2e66d32560c6d0bcda90d6863b37bf8c9cb3f080fb459acd1d56c013149b275d0ce58f1678205f8ca737f1c8d034cd
-DIST llvmorg-10.0.0-rc6.tar.gz 120815075 BLAKE2B 
3c5eb3594d30f1d6c4e2fec916a209030c7e3d8ebcf0f7ceb376adc78cd8a5bdf94a7c85d821bd5ea65631cf0a2438c538019fe1d58d1f835f3b9a899207d0c4
 SHA512 
04d8df9cd14f78fc5f80885f5d2e8fe4a1f66a218079c2574f6f3f8f3a86c2a886763da08a9454465615d89da300022e9e0754ecd4b40e25fedc600c2e66f39b
 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d

diff --git a/sys-libs/libomp/libomp-10.0.0_rc3.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
deleted file mode 100644
index 74fc7dac605..000
--- a/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   dev-libs/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
- 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-03-24 Thread Michał Górny
commit: 3ece7886bd1b21f6b90e28b9020664c26abe3048
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar 24 20:42:32 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar 24 21:46:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ece7886

sys-libs/libomp: Bump to 10.0.0

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.0.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 5534e789231..6d46a34cc63 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,6 +1,7 @@
 DIST llvmorg-10.0.0-rc3.tar.gz 120814170 BLAKE2B 
432fe0c1e74d3020a269a256e6e456cbfa0b7166dd3f86df6caf3a55e1931c022285fe8afdc4d8998c729c5471acf5308abb336782ddec2ef9b0f58d1ccb5a3c
 SHA512 
aad1df86063612d20c48ea7046940330fe2ac572a146be22ff71d9e65fa3438184cb39a2533fc6afd1e74df26909a9f0d24ebcd7d62e74728cfd81e447f2ffbf
 DIST llvmorg-10.0.0-rc4.tar.gz 120816191 BLAKE2B 
66c497fa682b9bcbdef3776f540e6b2781286df3405b00ab335aa405a19418d9c4571b301a6814b526e363bb9c0b7c0be0dfc85444fb9d636ecf11ee788b2cdd
 SHA512 
b3df32cafbbe9147c7b5cfbfe96c7231dc2e66d32560c6d0bcda90d6863b37bf8c9cb3f080fb459acd1d56c013149b275d0ce58f1678205f8ca737f1c8d034cd
 DIST llvmorg-10.0.0-rc6.tar.gz 120815075 BLAKE2B 
3c5eb3594d30f1d6c4e2fec916a209030c7e3d8ebcf0f7ceb376adc78cd8a5bdf94a7c85d821bd5ea65631cf0a2438c538019fe1d58d1f835f3b9a899207d0c4
 SHA512 
04d8df9cd14f78fc5f80885f5d2e8fe4a1f66a218079c2574f6f3f8f3a86c2a886763da08a9454465615d89da300022e9e0754ecd4b40e25fedc600c2e66f39b
+DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 
6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191
 SHA512 
baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b4e531ca7e4b3115a26c0e61c575cf2303a0
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.0.ebuild 
b/sys-libs/libomp/libomp-10.0.0.ebuild
new file mode 100644
index 000..74fc7dac605
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-03-23 Thread Michał Górny
commit: d18c105c46aa69fefdb273225fe028ad2d9c3284
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 23 20:31:33 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 23 20:34:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18c105c

sys-libs/libomp: Bump to 10.0.0rc6

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.0_rc6.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 9b0759d..5534e789231 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,5 +1,6 @@
 DIST llvmorg-10.0.0-rc3.tar.gz 120814170 BLAKE2B 
432fe0c1e74d3020a269a256e6e456cbfa0b7166dd3f86df6caf3a55e1931c022285fe8afdc4d8998c729c5471acf5308abb336782ddec2ef9b0f58d1ccb5a3c
 SHA512 
aad1df86063612d20c48ea7046940330fe2ac572a146be22ff71d9e65fa3438184cb39a2533fc6afd1e74df26909a9f0d24ebcd7d62e74728cfd81e447f2ffbf
 DIST llvmorg-10.0.0-rc4.tar.gz 120816191 BLAKE2B 
66c497fa682b9bcbdef3776f540e6b2781286df3405b00ab335aa405a19418d9c4571b301a6814b526e363bb9c0b7c0be0dfc85444fb9d636ecf11ee788b2cdd
 SHA512 
b3df32cafbbe9147c7b5cfbfe96c7231dc2e66d32560c6d0bcda90d6863b37bf8c9cb3f080fb459acd1d56c013149b275d0ce58f1678205f8ca737f1c8d034cd
+DIST llvmorg-10.0.0-rc6.tar.gz 120815075 BLAKE2B 
3c5eb3594d30f1d6c4e2fec916a209030c7e3d8ebcf0f7ceb376adc78cd8a5bdf94a7c85d821bd5ea65631cf0a2438c538019fe1d58d1f835f3b9a899207d0c4
 SHA512 
04d8df9cd14f78fc5f80885f5d2e8fe4a1f66a218079c2574f6f3f8f3a86c2a886763da08a9454465615d89da300022e9e0754ecd4b40e25fedc600c2e66f39b
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.0_rc6.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc6.ebuild
new file mode 100644
index 000..aa0be13c4ba
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.0_rc6.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-03-16 Thread Michał Górny
commit: 3047cde87ebaec97b53ac9f7cb5b5d3b67addcbf
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 16 06:41:26 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 16 07:06:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3047cde8

sys-libs/libomp: Bump to 10.0.0rc4

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.0_rc4.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 64768da518d..9b0759d 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,5 @@
 DIST llvmorg-10.0.0-rc3.tar.gz 120814170 BLAKE2B 
432fe0c1e74d3020a269a256e6e456cbfa0b7166dd3f86df6caf3a55e1931c022285fe8afdc4d8998c729c5471acf5308abb336782ddec2ef9b0f58d1ccb5a3c
 SHA512 
aad1df86063612d20c48ea7046940330fe2ac572a146be22ff71d9e65fa3438184cb39a2533fc6afd1e74df26909a9f0d24ebcd7d62e74728cfd81e447f2ffbf
+DIST llvmorg-10.0.0-rc4.tar.gz 120816191 BLAKE2B 
66c497fa682b9bcbdef3776f540e6b2781286df3405b00ab335aa405a19418d9c4571b301a6814b526e363bb9c0b7c0be0dfc85444fb9d636ecf11ee788b2cdd
 SHA512 
b3df32cafbbe9147c7b5cfbfe96c7231dc2e66d32560c6d0bcda90d6863b37bf8c9cb3f080fb459acd1d56c013149b275d0ce58f1678205f8ca737f1c8d034cd
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.0_rc4.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc4.ebuild
new file mode 100644
index 000..74fc7dac605
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.0_rc4.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+  

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-03-09 Thread Mart Raudsepp
commit: c41fd210c5feb3054e783399d0b11f02432fcfb8
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Mon Mar  9 18:29:17 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Mon Mar  9 18:30:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c41fd210

sys-libs/libomp: arm64 stable (bug #705530)

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp  gentoo.org>

 sys-libs/libomp/libomp-9.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-9.0.1.ebuild 
b/sys-libs/libomp/libomp-9.0.1.ebuild
index b939c740da9..f8e49887b6a 100644
--- a/sys-libs/libomp/libomp-9.0.1.ebuild
+++ b/sys-libs/libomp/libomp-9.0.1.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ppc64 x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-03-04 Thread Michał Górny
commit: fa6840807781b5d8c0d71d2f0c5e8ede61d9e435
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  4 18:07:44 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  4 18:38:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa684080

sys-libs/libomp: Keyword 10.0.0rc3

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

 sys-libs/libomp/libomp-10.0.0_rc3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-10.0.0_rc3.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
index aa0be13c4ba..74fc7dac605 100644
--- a/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-03-04 Thread Michał Górny
commit: 43da886221d8764acf6f4526553d0074f5d4adf5
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  4 18:12:54 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  4 18:39:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43da8862

sys-libs/libomp: Remove 10.0.0rc[12]

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

 sys-libs/libomp/Manifest |   2 -
 sys-libs/libomp/libomp-10.0.0_rc1.ebuild | 106 ---
 sys-libs/libomp/libomp-10.0.0_rc2.ebuild | 106 ---
 3 files changed, 214 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 9ccf64c5f34..64768da518d 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,5 +1,3 @@
-DIST llvmorg-10.0.0-rc1.tar.gz 120755822 BLAKE2B 
a729d37d96ba498cb865c6f708734dccb796b2caabb69167b9aa3b0e12c788f2a5980a048b99d5603da3d26af909fb31f406b4f4743cabae56c45f829a7bf695
 SHA512 
27137fc700971147c00ded6787eaae9f0bcf98c938fe227a5a559b38d983736f3d086f4ff6772d802c5f48a7d97a97c293261e4af88fcb5a720693b9cb5a4f02
-DIST llvmorg-10.0.0-rc2.tar.gz 120795019 BLAKE2B 
6e701eddbd2313e777c7b37dff8455a08d3c599d01055b60afc0319373d4709deb429aac6bf9e80c4d2e2ab8ade03bf5b398b6ccd8882e4bde608d10cdbf2284
 SHA512 
ee571c9258a2d9fc411964f56b0b92b2e7134349ed21dbe7963eb61ef65da506e0c4f7c69259a3b6cecec23f55d24636608287ee4457ee667031e141f8f09aae
 DIST llvmorg-10.0.0-rc3.tar.gz 120814170 BLAKE2B 
432fe0c1e74d3020a269a256e6e456cbfa0b7166dd3f86df6caf3a55e1931c022285fe8afdc4d8998c729c5471acf5308abb336782ddec2ef9b0f58d1ccb5a3c
 SHA512 
aad1df86063612d20c48ea7046940330fe2ac572a146be22ff71d9e65fa3438184cb39a2533fc6afd1e74df26909a9f0d24ebcd7d62e74728cfd81e447f2ffbf
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d

diff --git a/sys-libs/libomp/libomp-10.0.0_rc1.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
deleted file mode 100644
index 40ae69e436c..000
--- a/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS=""
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   dev-libs/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-03-04 Thread Michał Górny
commit: 09cd1bc3ecb165abe99264f2456fc37a79c5e695
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  4 15:07:34 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  4 16:24:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09cd1bc3

sys-libs/libomp: Update dev-libs/libffi dep

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

 sys-libs/libomp/libomp-10.0.0..ebuild | 2 +-
 sys-libs/libomp/libomp-10.0.0_rc1.ebuild  | 2 +-
 sys-libs/libomp/libomp-10.0.0_rc2.ebuild  | 2 +-
 sys-libs/libomp/libomp-10.0.0_rc3.ebuild  | 2 +-
 sys-libs/libomp/libomp-11.0.0..ebuild | 2 +-
 sys-libs/libomp/libomp-7.1.0.ebuild   | 4 ++--
 sys-libs/libomp/libomp-8.0.1.ebuild   | 4 ++--
 sys-libs/libomp/libomp-9.0.1.ebuild   | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.0..ebuild 
b/sys-libs/libomp/libomp-10.0.0..ebuild
index d2138cbecca..aa0be13c4ba 100644
--- a/sys-libs/libomp/libomp-10.0.0..ebuild
+++ b/sys-libs/libomp/libomp-10.0.0..ebuild
@@ -23,7 +23,7 @@ RDEPEND="
hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
offload? (
virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
cuda? ( dev-util/nvidia-cuda-toolkit:= )
)"
 # tests:

diff --git a/sys-libs/libomp/libomp-10.0.0_rc1.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
index d766845101e..40ae69e436c 100644
--- a/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
offload? (
virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
cuda? ( dev-util/nvidia-cuda-toolkit:= )
)"
 # tests:

diff --git a/sys-libs/libomp/libomp-10.0.0_rc2.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc2.ebuild
index d2138cbecca..aa0be13c4ba 100644
--- a/sys-libs/libomp/libomp-10.0.0_rc2.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0_rc2.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
offload? (
virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
cuda? ( dev-util/nvidia-cuda-toolkit:= )
)"
 # tests:

diff --git a/sys-libs/libomp/libomp-10.0.0_rc3.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
index d2138cbecca..aa0be13c4ba 100644
--- a/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
offload? (
virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
cuda? ( dev-util/nvidia-cuda-toolkit:= )
)"
 # tests:

diff --git a/sys-libs/libomp/libomp-11.0.0..ebuild 
b/sys-libs/libomp/libomp-11.0.0..ebuild
index d2138cbecca..aa0be13c4ba 100644
--- a/sys-libs/libomp/libomp-11.0.0..ebuild
+++ b/sys-libs/libomp/libomp-11.0.0..ebuild
@@ -23,7 +23,7 @@ RDEPEND="
hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
offload? (
virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
cuda? ( dev-util/nvidia-cuda-toolkit:= )
)"
 # tests:

diff --git a/sys-libs/libomp/libomp-7.1.0.ebuild 
b/sys-libs/libomp/libomp-7.1.0.ebuild
index 8946c652275..169b98cab95 100644
--- a/sys-libs/libomp/libomp-7.1.0.ebuild
+++ b/sys-libs/libomp/libomp-7.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,7 +30,7 @@ RDEPEND="
hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
offload? (
virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
cuda? ( dev-util/nvidia-cuda-toolkit:= )
)"
 # tests:

diff --git a/sys-libs/libomp/libomp-8.0.1.ebuild 
b/sys-libs/libomp/libomp-8.0.1.ebuild
index e80ec0c8aea..add0d7125ed 100644
--- a/sys-libs/libomp/libomp-8.0.1.ebuild
+++ b/sys-libs/libomp/libomp-8.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -31,7 +31,7 @@ RDEPEND="
hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
offload? (
virtual/libelf:=[${MULTILIB_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-03-04 Thread Michał Górny
commit: bc37939ba87abc3ab3af0472e1d447b2b8da9fdd
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  4 13:56:46 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  4 16:24:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc37939b

sys-libs/libomp: Bump to 10.0.0rc3

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.0_rc3.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 7c899f5c3f7..9ccf64c5f34 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,5 +1,6 @@
 DIST llvmorg-10.0.0-rc1.tar.gz 120755822 BLAKE2B 
a729d37d96ba498cb865c6f708734dccb796b2caabb69167b9aa3b0e12c788f2a5980a048b99d5603da3d26af909fb31f406b4f4743cabae56c45f829a7bf695
 SHA512 
27137fc700971147c00ded6787eaae9f0bcf98c938fe227a5a559b38d983736f3d086f4ff6772d802c5f48a7d97a97c293261e4af88fcb5a720693b9cb5a4f02
 DIST llvmorg-10.0.0-rc2.tar.gz 120795019 BLAKE2B 
6e701eddbd2313e777c7b37dff8455a08d3c599d01055b60afc0319373d4709deb429aac6bf9e80c4d2e2ab8ade03bf5b398b6ccd8882e4bde608d10cdbf2284
 SHA512 
ee571c9258a2d9fc411964f56b0b92b2e7134349ed21dbe7963eb61ef65da506e0c4f7c69259a3b6cecec23f55d24636608287ee4457ee667031e141f8f09aae
+DIST llvmorg-10.0.0-rc3.tar.gz 120814170 BLAKE2B 
432fe0c1e74d3020a269a256e6e456cbfa0b7166dd3f86df6caf3a55e1931c022285fe8afdc4d8998c729c5471acf5308abb336782ddec2ef9b0f58d1ccb5a3c
 SHA512 
aad1df86063612d20c48ea7046940330fe2ac572a146be22ff71d9e65fa3438184cb39a2533fc6afd1e74df26909a9f0d24ebcd7d62e74728cfd81e447f2ffbf
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.0_rc3.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
new file mode 100644
index 000..d2138cbecca
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.0_rc3.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-02-13 Thread Michał Górny
commit: f7e0470b45c973a90c2f48a80cde868af6e774cf
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 14 05:50:47 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 14 07:51:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e0470b

sys-libs/libomp: Enable py3.8

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

 sys-libs/libomp/libomp-10.0.0..ebuild | 2 +-
 sys-libs/libomp/libomp-10.0.0_rc2.ebuild  | 2 +-
 sys-libs/libomp/libomp-11.0.0..ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.0..ebuild 
b/sys-libs/libomp/libomp-10.0.0..ebuild
index d766845101e..d2138cbecca 100644
--- a/sys-libs/libomp/libomp-10.0.0..ebuild
+++ b/sys-libs/libomp/libomp-10.0.0..ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"

diff --git a/sys-libs/libomp/libomp-10.0.0_rc2.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc2.ebuild
index d766845101e..d2138cbecca 100644
--- a/sys-libs/libomp/libomp-10.0.0_rc2.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0_rc2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"

diff --git a/sys-libs/libomp/libomp-11.0.0..ebuild 
b/sys-libs/libomp/libomp-11.0.0..ebuild
index d766845101e..d2138cbecca 100644
--- a/sys-libs/libomp/libomp-11.0.0..ebuild
+++ b/sys-libs/libomp/libomp-11.0.0..ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-02-10 Thread Michał Górny
commit: 463160090de54ba1201fec1f58b1777d712c20d3
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 10 13:06:19 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 10 13:26:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46316009

sys-libs/libomp: Remove py2 where possible

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

 sys-libs/libomp/libomp-10.0.0..ebuild | 2 +-
 sys-libs/libomp/libomp-10.0.0_rc1.ebuild  | 2 +-
 sys-libs/libomp/libomp-11.0.0..ebuild | 2 +-
 sys-libs/libomp/libomp-9.0.1.ebuild   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.0..ebuild 
b/sys-libs/libomp/libomp-10.0.0..ebuild
index 763579d7251..d766845101e 100644
--- a/sys-libs/libomp/libomp-10.0.0..ebuild
+++ b/sys-libs/libomp/libomp-10.0.0..ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"

diff --git a/sys-libs/libomp/libomp-10.0.0_rc1.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
index 763579d7251..d766845101e 100644
--- a/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
+++ b/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"

diff --git a/sys-libs/libomp/libomp-11.0.0..ebuild 
b/sys-libs/libomp/libomp-11.0.0..ebuild
index 763579d7251..d766845101e 100644
--- a/sys-libs/libomp/libomp-11.0.0..ebuild
+++ b/sys-libs/libomp/libomp-11.0.0..ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"

diff --git a/sys-libs/libomp/libomp-9.0.1.ebuild 
b/sys-libs/libomp/libomp-9.0.1.ebuild
index eea0366e1a4..058994545e7 100644
--- a/sys-libs/libomp/libomp-9.0.1.ebuild
+++ b/sys-libs/libomp/libomp-9.0.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-01-30 Thread Michał Górny
commit: e358e1174b0a551e6c056903f3291de30e7bfa2e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 30 20:42:49 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 30 20:51:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e358e117

sys-libs/libomp: Bump to 10.0.0_rc1

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

 sys-libs/libomp/Manifest |   1 +
 sys-libs/libomp/libomp-10.0.0_rc1.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index e62395bae5e..37761657e3d 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,3 +1,4 @@
+DIST llvmorg-10.0.0-rc1.tar.gz 120755822 BLAKE2B 
a729d37d96ba498cb865c6f708734dccb796b2caabb69167b9aa3b0e12c788f2a5980a048b99d5603da3d26af909fb31f406b4f4743cabae56c45f829a7bf695
 SHA512 
27137fc700971147c00ded6787eaae9f0bcf98c938fe227a5a559b38d983736f3d086f4ff6772d802c5f48a7d97a97c293261e4af88fcb5a720693b9cb5a4f02
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-10.0.0_rc1.ebuild 
b/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
new file mode 100644
index 000..763579d7251
--- /dev/null
+++ b/sys-libs/libomp/libomp-10.0.0_rc1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable unnecessary hack copying stuff back to srcdir
+   -DLIBOMP_COPY_EXPORTS=OFF
+   )
+   use offload && mycmakeargs+=(
+   # this is non-fatal and libomp checks for CUDA conditionally
+   # to ABI, so we 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-01-27 Thread Mikle Kolyada
commit: f1ecf6657e56079adc6695b55a0247b872582496
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jan 27 12:19:59 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jan 27 12:20:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ecf665

sys-libs/libomp: arm stable wrt bug #705530

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-9.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-9.0.1.ebuild 
b/sys-libs/libomp/libomp-9.0.1.ebuild
index 03e5a534606..eea0366e1a4 100644
--- a/sys-libs/libomp/libomp-9.0.1.ebuild
+++ b/sys-libs/libomp/libomp-9.0.1.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm ~arm64 ppc64 x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-01-23 Thread Agostino Sarubbo
commit: 37cc7a2a4b466cac163f51221163797c7d049694
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jan 23 13:32:45 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jan 23 13:32:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37cc7a2a

sys-libs/libomp: ppc64 stable wrt bug #705530

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libomp/libomp-9.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-9.0.1.ebuild 
b/sys-libs/libomp/libomp-9.0.1.ebuild
index 363a790be6f..03e5a534606 100644
--- a/sys-libs/libomp/libomp-9.0.1.ebuild
+++ b/sys-libs/libomp/libomp-9.0.1.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-01-23 Thread Mikle Kolyada
commit: 8dee74cef7960be4776f0d16c2649a74ee105ddf
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Jan 23 10:23:37 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Jan 23 10:23:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dee74ce

sys-libs/libomp: x86 stable wrt bug #705530

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-9.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-9.0.1.ebuild 
b/sys-libs/libomp/libomp-9.0.1.ebuild
index 2864750b2e2..363a790be6f 100644
--- a/sys-libs/libomp/libomp-9.0.1.ebuild
+++ b/sys-libs/libomp/libomp-9.0.1.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-01-23 Thread Mikle Kolyada
commit: 0f12310376b20c67c2b8dc080881b2488ad7de78
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Jan 23 10:19:14 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Jan 23 10:19:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f123103

sys-libs/libomp: amd64 stable wrt bug #705530

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-9.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-9.0.1.ebuild 
b/sys-libs/libomp/libomp-9.0.1.ebuild
index 30cbebf5821..2864750b2e2 100644
--- a/sys-libs/libomp/libomp-9.0.1.ebuild
+++ b/sys-libs/libomp/libomp-9.0.1.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-01-18 Thread Michał Górny
commit: 76a927b79c7a47f2373b3591629ee1ad4d9c55ba
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 18 16:41:09 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 18 17:18:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a927b7

sys-libs/libomp: Include 11.* ebuilds for master

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

 sys-libs/libomp/libomp-11.0.0..ebuild | 106 ++
 1 file changed, 106 insertions(+)

diff --git a/sys-libs/libomp/libomp-11.0.0..ebuild 
b/sys-libs/libomp/libomp-11.0.0..ebuild
new file mode 100644
index 000..763579d7251
--- /dev/null
+++ b/sys-libs/libomp/libomp-11.0.0..ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable unnecessary hack copying stuff back to srcdir
+   -DLIBOMP_COPY_EXPORTS=OFF
+   )
+   use offload && mycmakeargs+=(
+   # this is non-fatal and libomp checks for CUDA conditionally
+   # to ABI, so we can just ignore passing the wrong value
+   # on non-amd64 ABIs
+   -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=$(usex !cuda)
+   )
+   use test && mycmakeargs+=(
+   # this project does not use standard LLVM cmake macros
+   -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
+   -DOPENMP_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs 
"${MAKEOPTS}" "$(get_nproc)")}"
+
+   -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
+   -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
+   )
+   cmake-utils_src_configure
+}
+
+multilib_src_test() {
+   # respect TMPDIR!
+   local -x LIT_PRESERVES_TMP=1
+
+   cmake-utils_src_make check-libomp
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2020-01-06 Thread Michał Górny
commit: b4b813b24f239de3f954063d41caf2433c3d4148
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  6 13:47:00 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  6 14:04:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b813b2

sys-libs/libomp: Remove 9.0.0*

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

 sys-libs/libomp/Manifest|   1 -
 sys-libs/libomp/libomp-9.0.0.ebuild | 106 
 2 files changed, 107 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 93b3180def6..e62395bae5e 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,3 @@
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026
-DIST openmp-9.0.0.src.tar.xz 939036 BLAKE2B 
3eee75f05f65a294db6e65c29b8871bb2dd4e0ee753447d2356010ca1a114f3ad2dc54c2f39ad7ffcebd510d912e96f54a2884ecdc7f50864f909184c707e7a5
 SHA512 
0be0e95026db574ad75d4a9d2fe4234056d16dc4fe24760f3e9e39f3e10099c7eea4ff76d7236e5a570809111fa18fa017cb679391c16a995ba0c194eb9391d4

diff --git a/sys-libs/libomp/libomp-9.0.0.ebuild 
b/sys-libs/libomp/libomp-9.0.0.ebuild
deleted file mode 100644
index 30cbebf5821..000
--- a/sys-libs/libomp/libomp-9.0.0.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
-inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
-
-   # do not install libgomp.so & libiomp5.so aliases
-   -DLIBOMP_INSTALL_ALIASES=OFF
-   # disable unnecessary hack copying stuff back to srcdir
-   -DLIBOMP_COPY_EXPORTS=OFF
-   )
-   use offload && mycmakeargs+=(
-   # this is non-fatal and libomp checks for CUDA conditionally
- 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-12-21 Thread Michał Górny
commit: de59f603ed7c28a28abeb0982deaf1b4031c7230
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 21 08:26:38 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 21 08:30:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de59f603

sys-libs/libomp: Remove 9.0.1 RCs and live

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

 sys-libs/libomp/Manifest |   2 -
 sys-libs/libomp/libomp-9.0.1..ebuild | 106 ---
 sys-libs/libomp/libomp-9.0.1_rc2.ebuild  | 106 ---
 sys-libs/libomp/libomp-9.0.1_rc3.ebuild  | 106 ---
 4 files changed, 320 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 8d660cd2a1d..93b3180def6 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,5 +1,3 @@
-DIST llvmorg-9.0.1-rc2.tar.gz 113203311 BLAKE2B 
6e426060853e1587febedb75189444a1451236b713f800a4f3401c54318e48b0f5e0c484e9e4ef261faceed9b43b445a4153b061d4dadcc617047f9320b4f56a
 SHA512 
fececd9365645920b9afdad1e94d5e10553ad4a39d84b3ac811b86014c395d51f7e4dabe54bb095a99481400c408bee3c9a2044168724d5e094e3258587a5d2c
-DIST llvmorg-9.0.1-rc3.tar.gz 113205740 BLAKE2B 
3ca81e812833ecc2ac1bacfdeb86f54609ee125ba7390ce6af0113e949496149102360f35a9a0194dff93fb5cb6ade40a68382a03a7e55771a13198abb7ca9de
 SHA512 
ea56a4ee57aacdd00a1d6551cdc768ecce3124a0eb6a9d09fe060bb147019a5119b2a9eaca576474be42e0296293daa923edd86dadb6759df0c2d7fc7a74f9f1
 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-9.0.1..ebuild 
b/sys-libs/libomp/libomp-9.0.1..ebuild
deleted file mode 100644
index 5f49236cbe1..000
--- a/sys-libs/libomp/libomp-9.0.1..ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS=""
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-  

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-12-21 Thread Michał Górny
commit: 7ef949eb7573533b7731bd0e6ca2abb935cce547
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 21 07:29:27 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 21 08:30:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef949eb

sys-libs/libomp: Bump to 9.0.1 final

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

 sys-libs/libomp/Manifest|   1 +
 sys-libs/libomp/libomp-9.0.1.ebuild | 106 
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 6da90755254..8d660cd2a1d 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,5 +1,6 @@
 DIST llvmorg-9.0.1-rc2.tar.gz 113203311 BLAKE2B 
6e426060853e1587febedb75189444a1451236b713f800a4f3401c54318e48b0f5e0c484e9e4ef261faceed9b43b445a4153b061d4dadcc617047f9320b4f56a
 SHA512 
fececd9365645920b9afdad1e94d5e10553ad4a39d84b3ac811b86014c395d51f7e4dabe54bb095a99481400c408bee3c9a2044168724d5e094e3258587a5d2c
 DIST llvmorg-9.0.1-rc3.tar.gz 113205740 BLAKE2B 
3ca81e812833ecc2ac1bacfdeb86f54609ee125ba7390ce6af0113e949496149102360f35a9a0194dff93fb5cb6ade40a68382a03a7e55771a13198abb7ca9de
 SHA512 
ea56a4ee57aacdd00a1d6551cdc768ecce3124a0eb6a9d09fe060bb147019a5119b2a9eaca576474be42e0296293daa923edd86dadb6759df0c2d7fc7a74f9f1
+DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B 
b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f
 SHA512 
fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026
 DIST openmp-9.0.0.src.tar.xz 939036 BLAKE2B 
3eee75f05f65a294db6e65c29b8871bb2dd4e0ee753447d2356010ca1a114f3ad2dc54c2f39ad7ffcebd510d912e96f54a2884ecdc7f50864f909184c707e7a5
 SHA512 
0be0e95026db574ad75d4a9d2fe4234056d16dc4fe24760f3e9e39f3e10099c7eea4ff76d7236e5a570809111fa18fa017cb679391c16a995ba0c194eb9391d4

diff --git a/sys-libs/libomp/libomp-9.0.1.ebuild 
b/sys-libs/libomp/libomp-9.0.1.ebuild
new file mode 100644
index 000..50704d49743
--- /dev/null
+++ b/sys-libs/libomp/libomp-9.0.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-12-14 Thread Michał Górny
commit: 1f609d67e6d859f1e5c3704310e20c3fd5cc0345
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 14 08:57:08 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 14 09:55:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f609d67

sys-libs/libomp: Bump to 9.0.1_rc3

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

 sys-libs/libomp/Manifest|   1 +
 sys-libs/libomp/libomp-9.0.1_rc3.ebuild | 106 
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 7de934fd969..6da90755254 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,5 @@
 DIST llvmorg-9.0.1-rc2.tar.gz 113203311 BLAKE2B 
6e426060853e1587febedb75189444a1451236b713f800a4f3401c54318e48b0f5e0c484e9e4ef261faceed9b43b445a4153b061d4dadcc617047f9320b4f56a
 SHA512 
fececd9365645920b9afdad1e94d5e10553ad4a39d84b3ac811b86014c395d51f7e4dabe54bb095a99481400c408bee3c9a2044168724d5e094e3258587a5d2c
+DIST llvmorg-9.0.1-rc3.tar.gz 113205740 BLAKE2B 
3ca81e812833ecc2ac1bacfdeb86f54609ee125ba7390ce6af0113e949496149102360f35a9a0194dff93fb5cb6ade40a68382a03a7e55771a13198abb7ca9de
 SHA512 
ea56a4ee57aacdd00a1d6551cdc768ecce3124a0eb6a9d09fe060bb147019a5119b2a9eaca576474be42e0296293daa923edd86dadb6759df0c2d7fc7a74f9f1
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026
 DIST openmp-9.0.0.src.tar.xz 939036 BLAKE2B 
3eee75f05f65a294db6e65c29b8871bb2dd4e0ee753447d2356010ca1a114f3ad2dc54c2f39ad7ffcebd510d912e96f54a2884ecdc7f50864f909184c707e7a5
 SHA512 
0be0e95026db574ad75d4a9d2fe4234056d16dc4fe24760f3e9e39f3e10099c7eea4ff76d7236e5a570809111fa18fa017cb679391c16a995ba0c194eb9391d4

diff --git a/sys-libs/libomp/libomp-9.0.1_rc3.ebuild 
b/sys-libs/libomp/libomp-9.0.1_rc3.ebuild
new file mode 100644
index 000..50704d49743
--- /dev/null
+++ b/sys-libs/libomp/libomp-9.0.1_rc3.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-12-09 Thread Michał Górny
commit: 21b6e5311f63f779d6c5505681accadf82cf9ffa
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec  8 09:29:11 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec  9 19:20:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b6e531

sys-libs/libomp: Remove 6*

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

 sys-libs/libomp/Manifest   |   1 -
 sys-libs/libomp/libomp-6.0.1-r1.ebuild | 115 -
 2 files changed, 116 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index c4a0707925f..7de934fd969 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,5 +1,4 @@
 DIST llvmorg-9.0.1-rc2.tar.gz 113203311 BLAKE2B 
6e426060853e1587febedb75189444a1451236b713f800a4f3401c54318e48b0f5e0c484e9e4ef261faceed9b43b445a4153b061d4dadcc617047f9320b4f56a
 SHA512 
fececd9365645920b9afdad1e94d5e10553ad4a39d84b3ac811b86014c395d51f7e4dabe54bb095a99481400c408bee3c9a2044168724d5e094e3258587a5d2c
-DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026
 DIST openmp-9.0.0.src.tar.xz 939036 BLAKE2B 
3eee75f05f65a294db6e65c29b8871bb2dd4e0ee753447d2356010ca1a114f3ad2dc54c2f39ad7ffcebd510d912e96f54a2884ecdc7f50864f909184c707e7a5
 SHA512 
0be0e95026db574ad75d4a9d2fe4234056d16dc4fe24760f3e9e39f3e10099c7eea4ff76d7236e5a570809111fa18fa017cb679391c16a995ba0c194eb9391d4

diff --git a/sys-libs/libomp/libomp-6.0.1-r1.ebuild 
b/sys-libs/libomp/libomp-6.0.1-r1.ebuild
deleted file mode 100644
index abc8941fe1f..000
--- a/sys-libs/libomp/libomp-6.0.1-r1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-multilib linux-info multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
-
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 x86 ~amd64-linux ~x64-macos"
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-S=${WORKDIR}/openmp-${PV/_/}.src
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-12-08 Thread Michał Górny
commit: 38b498e628329050e987cb1def6200984ac992f9
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec  8 21:01:48 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec  8 21:20:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b498e6

sys-libs/libomp: Add KEYWORDS to 9.0.0_rc2

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

 sys-libs/libomp/libomp-9.0.1_rc2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-9.0.1_rc2.ebuild 
b/sys-libs/libomp/libomp-9.0.1_rc2.ebuild
index 5f49236cbe1..50704d49743 100644
--- a/sys-libs/libomp/libomp-9.0.1_rc2.ebuild
+++ b/sys-libs/libomp/libomp-9.0.1_rc2.ebuild
@@ -13,7 +13,7 @@ llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-12-07 Thread Michał Górny
commit: 6791b32ea1cba54128d358b5427d9b2bf158c8d1
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  7 07:49:34 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  7 09:15:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6791b32e

sys-libs/libomp: Remove 9.0.1rc1

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

 sys-libs/libomp/Manifest|   1 -
 sys-libs/libomp/libomp-9.0.1_rc1.ebuild | 106 
 2 files changed, 107 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index a6f6f64daf6..c4a0707925f 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,3 @@
-DIST llvmorg-9.0.1-rc1.tar.gz 113193716 BLAKE2B 
1ab52c778a139d33674589c27bf5a4d619dd4df49344b508c16de3ca6fad09c19480ceb615e0d9cf6d1981c7f28e106f087c0cd7bc2ccb844bec7099f5d227c2
 SHA512 
ed4b11cadbd57aa5f531d598e320a6bd54c67a8c713671af12ce62bc02283515ecbbc65ccbe3b0db3bad517cc4e6386cc3565be9eb9b9d06ca2a598428abf557
 DIST llvmorg-9.0.1-rc2.tar.gz 113203311 BLAKE2B 
6e426060853e1587febedb75189444a1451236b713f800a4f3401c54318e48b0f5e0c484e9e4ef261faceed9b43b445a4153b061d4dadcc617047f9320b4f56a
 SHA512 
fececd9365645920b9afdad1e94d5e10553ad4a39d84b3ac811b86014c395d51f7e4dabe54bb095a99481400c408bee3c9a2044168724d5e094e3258587a5d2c
 DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d

diff --git a/sys-libs/libomp/libomp-9.0.1_rc1.ebuild 
b/sys-libs/libomp/libomp-9.0.1_rc1.ebuild
deleted file mode 100644
index 5f49236cbe1..000
--- a/sys-libs/libomp/libomp-9.0.1_rc1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-LLVM_COMPONENTS=( openmp )
-llvm.org_set_globals
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS=""
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
-
-   # do not install libgomp.so & libiomp5.so aliases
-   -DLIBOMP_INSTALL_ALIASES=OFF
-   # disable unnecessary hack copying stuff back to srcdir
-   -DLIBOMP_COPY_EXPORTS=OFF
-   )
-   use offload && mycmakeargs+=(
-   # this is non-fatal and libomp checks for CUDA conditionally
-   # to ABI, so 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-12-07 Thread Michał Górny
commit: d3e6a3a4609ea0972a7085e9d30222f2dfe47e99
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  7 07:30:12 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  7 09:15:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3e6a3a4

sys-libs/libomp: Bump to 9.0.1rc2

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

 sys-libs/libomp/Manifest|   1 +
 sys-libs/libomp/libomp-9.0.1_rc2.ebuild | 106 
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 52793e06ef1..a6f6f64daf6 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,5 @@
 DIST llvmorg-9.0.1-rc1.tar.gz 113193716 BLAKE2B 
1ab52c778a139d33674589c27bf5a4d619dd4df49344b508c16de3ca6fad09c19480ceb615e0d9cf6d1981c7f28e106f087c0cd7bc2ccb844bec7099f5d227c2
 SHA512 
ed4b11cadbd57aa5f531d598e320a6bd54c67a8c713671af12ce62bc02283515ecbbc65ccbe3b0db3bad517cc4e6386cc3565be9eb9b9d06ca2a598428abf557
+DIST llvmorg-9.0.1-rc2.tar.gz 113203311 BLAKE2B 
6e426060853e1587febedb75189444a1451236b713f800a4f3401c54318e48b0f5e0c484e9e4ef261faceed9b43b445a4153b061d4dadcc617047f9320b4f56a
 SHA512 
fececd9365645920b9afdad1e94d5e10553ad4a39d84b3ac811b86014c395d51f7e4dabe54bb095a99481400c408bee3c9a2044168724d5e094e3258587a5d2c
 DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-9.0.1_rc2.ebuild 
b/sys-libs/libomp/libomp-9.0.1_rc2.ebuild
new file mode 100644
index 000..5f49236cbe1
--- /dev/null
+++ b/sys-libs/libomp/libomp-9.0.1_rc2.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-11-22 Thread Michał Górny
commit: 7a0a1e387516edf261236ab017ef9fd915d43e41
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 23 07:49:03 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 23 07:55:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0a1e38

sys-libs/libomp: Bump to 9.0.1_rc1

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

 sys-libs/libomp/Manifest|   1 +
 sys-libs/libomp/libomp-9.0.1_rc1.ebuild | 106 
 2 files changed, 107 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 4c503393a8b..52793e06ef1 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,3 +1,4 @@
+DIST llvmorg-9.0.1-rc1.tar.gz 113193716 BLAKE2B 
1ab52c778a139d33674589c27bf5a4d619dd4df49344b508c16de3ca6fad09c19480ceb615e0d9cf6d1981c7f28e106f087c0cd7bc2ccb844bec7099f5d227c2
 SHA512 
ed4b11cadbd57aa5f531d598e320a6bd54c67a8c713671af12ce62bc02283515ecbbc65ccbe3b0db3bad517cc4e6386cc3565be9eb9b9d06ca2a598428abf557
 DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-9.0.1_rc1.ebuild 
b/sys-libs/libomp/libomp-9.0.1_rc1.ebuild
new file mode 100644
index 000..5f49236cbe1
--- /dev/null
+++ b/sys-libs/libomp/libomp-9.0.1_rc1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable unnecessary hack copying stuff back to srcdir
+   -DLIBOMP_COPY_EXPORTS=OFF
+   )
+   use offload && mycmakeargs+=(
+   # this is non-fatal and libomp checks for CUDA conditionally
+   # to ABI, so we can 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-11-03 Thread Michał Górny
commit: 24b529d9e4c496e6cb55e36b403168ff7e512409
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov  1 18:04:23 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov  3 11:46:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b529d9

sys-libs/libomp: Port to llvm.org eclass

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

 sys-libs/libomp/libomp-10.0.0..ebuild | 12 +++-
 sys-libs/libomp/libomp-9.0.0.ebuild   |  7 +++
 sys-libs/libomp/libomp-9.0.1..ebuild  | 13 +++--
 3 files changed, 9 insertions(+), 23 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.0..ebuild 
b/sys-libs/libomp/libomp-10.0.0..ebuild
index 100db97281e..5f49236cbe1 100644
--- a/sys-libs/libomp/libomp-10.0.0..ebuild
+++ b/sys-libs/libomp/libomp-10.0.0..ebuild
@@ -4,13 +4,12 @@
 EAPI=7
 
 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-inherit cmake-multilib git-r3 linux-info multiprocessing python-any-r1
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/llvm/llvm-project.git;
-S=${WORKDIR}/${P}/openmp
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
@@ -67,11 +66,6 @@ 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.0.ebuild 
b/sys-libs/libomp/libomp-9.0.0.ebuild
index 33b72bc0d34..50704d49743 100644
--- a/sys-libs/libomp/libomp-9.0.0.ebuild
+++ b/sys-libs/libomp/libomp-9.0.0.ebuild
@@ -4,13 +4,12 @@
 EAPI=7
 
 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-inherit cmake-multilib linux-info multiprocessing python-any-r1
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
-MY_P=openmp-${PV}.src
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
-SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz;
-S=${WORKDIR}/${MY_P}
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"

diff --git a/sys-libs/libomp/libomp-9.0.1..ebuild 
b/sys-libs/libomp/libomp-9.0.1..ebuild
index 2ca7ce34bf0..5f49236cbe1 100644
--- a/sys-libs/libomp/libomp-9.0.1..ebuild
+++ b/sys-libs/libomp/libomp-9.0.1..ebuild
@@ -4,14 +4,12 @@
 EAPI=7
 
 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-inherit cmake-multilib git-r3 linux-info multiprocessing python-any-r1
+inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/llvm/llvm-project.git;
-EGIT_BRANCH="release/9.x"
-S=${WORKDIR}/${P}/openmp
+LLVM_COMPONENTS=( openmp )
+llvm.org_set_globals
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
@@ -68,11 +66,6 @@ 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=(



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-11-03 Thread Michał Górny
commit: f9e7164b38177c1e826404455563e51372613139
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov  3 09:44:16 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov  3 10:00:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e7164b

sys-libs/libomp: Remove redundant CMAKE* in EAPI 7

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

 sys-libs/libomp/libomp-10.0.0..ebuild | 4 
 sys-libs/libomp/libomp-9.0.0.ebuild   | 4 
 sys-libs/libomp/libomp-9.0.1..ebuild  | 4 
 3 files changed, 12 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.0..ebuild 
b/sys-libs/libomp/libomp-10.0.0..ebuild
index 905a345680b..100db97281e 100644
--- a/sys-libs/libomp/libomp-10.0.0..ebuild
+++ b/sys-libs/libomp/libomp-10.0.0..ebuild
@@ -3,11 +3,7 @@
 
 EAPI=7
 
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-
 inherit cmake-multilib git-r3 linux-info multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"

diff --git a/sys-libs/libomp/libomp-9.0.0.ebuild 
b/sys-libs/libomp/libomp-9.0.0.ebuild
index f182d394714..33b72bc0d34 100644
--- a/sys-libs/libomp/libomp-9.0.0.ebuild
+++ b/sys-libs/libomp/libomp-9.0.0.ebuild
@@ -3,11 +3,7 @@
 
 EAPI=7
 
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-
 inherit cmake-multilib linux-info multiprocessing python-any-r1
 
 MY_P=openmp-${PV}.src

diff --git a/sys-libs/libomp/libomp-9.0.1..ebuild 
b/sys-libs/libomp/libomp-9.0.1..ebuild
index df9c8ea5a36..2ca7ce34bf0 100644
--- a/sys-libs/libomp/libomp-9.0.1..ebuild
+++ b/sys-libs/libomp/libomp-9.0.1..ebuild
@@ -3,11 +3,7 @@
 
 EAPI=7
 
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
-
 inherit cmake-multilib git-r3 linux-info multiprocessing python-any-r1
 
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

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

sys-libs/libomp: Switch live to monorepo

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

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

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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-10-12 Thread Michał Górny
commit: ec8636042a3bcba8ec4988f60fa591512b4242e1
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 12 11:24:41 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 12 11:26:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec863604

sys-libs/libomp: Upstream is now at 9.0.1

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

 sys-libs/libomp/{libomp-9.0.0..ebuild => libomp-9.0.1..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libomp/libomp-9.0.0..ebuild 
b/sys-libs/libomp/libomp-9.0.1..ebuild
similarity index 100%
rename from sys-libs/libomp/libomp-9.0.0..ebuild
rename to sys-libs/libomp/libomp-9.0.1..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-10-11 Thread Michał Górny
commit: a31f4a36564422514f5a23420b06256a5fb48076
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 11 18:28:05 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 11 18:57:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a31f4a36

sys-libs/libomp: Drop redundant 8.0.0

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

 sys-libs/libomp/Manifest|   1 -
 sys-libs/libomp/libomp-8.0.0.ebuild | 115 
 2 files changed, 116 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 3d566af5f84..4c503393a8b 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,5 +1,4 @@
 DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
-DIST openmp-8.0.0.src.tar.xz 934384 BLAKE2B 
f473fad9e8bcab1ad0c6ffab7cee471065d615947964177194f829847d41e726fb435562f1637f2a65d3ae84e01a8077662de047443f33d089948e2efb58906c
 SHA512 
0fff071c9dbf118bc1908e433d6ce571f47a4f2dbc5bf2d843151889e3414473bb5a9c97dc0b6dc6d1bd9ab0c6e365cae625f97d1b11d5d6ae059fa5a0496cb3
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026
 DIST openmp-9.0.0.src.tar.xz 939036 BLAKE2B 
3eee75f05f65a294db6e65c29b8871bb2dd4e0ee753447d2356010ca1a114f3ad2dc54c2f39ad7ffcebd510d912e96f54a2884ecdc7f50864f909184c707e7a5
 SHA512 
0be0e95026db574ad75d4a9d2fe4234056d16dc4fe24760f3e9e39f3e10099c7eea4ff76d7236e5a570809111fa18fa017cb679391c16a995ba0c194eb9391d4

diff --git a/sys-libs/libomp/libomp-8.0.0.ebuild 
b/sys-libs/libomp/libomp-8.0.0.ebuild
deleted file mode 100644
index 0f3a1c7719a..000
--- a/sys-libs/libomp/libomp-8.0.0.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-multilib linux-info multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
-
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x64-macos"
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-S=${WORKDIR}/openmp-${PV/_/}.src
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-09-21 Thread Michał Górny
commit: 64aef145a3b5f8f8ab48e4d20b078adf122d62a4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 21 08:33:08 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 21 09:15:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64aef145

sys-libs/libomp: Reorder ebuild vars in 9+

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

 sys-libs/libomp/libomp-9.0.0.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-libs/libomp/libomp-9.0.0.ebuild 
b/sys-libs/libomp/libomp-9.0.0.ebuild
index 51f4a04cdba..66370efbadf 100644
--- a/sys-libs/libomp/libomp-9.0.0.ebuild
+++ b/sys-libs/libomp/libomp-9.0.0.ebuild
@@ -14,6 +14,7 @@ MY_P=openmp-${PV}.src
 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
 HOMEPAGE="https://openmp.llvm.org;
 SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz;
+S=${WORKDIR}/${MY_P}
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
@@ -42,8 +43,6 @@ BDEPEND="dev-lang/perl
>=sys-devel/clang-6
)"
 
-S=${WORKDIR}/${MY_P}
-
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-09-20 Thread Michał Górny
commit: b352fe57294c78b330c564aca0a0d2efa80c371e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 20 09:33:39 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep 20 22:12:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b352fe57

sys-libs/libomp: Bump to 9.0.0

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

 sys-libs/libomp/Manifest|   1 +
 sys-libs/libomp/libomp-9.0.0.ebuild | 112 
 2 files changed, 113 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 8487a278dd3..3d566af5f84 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -2,3 +2,4 @@ DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e92839
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.0.src.tar.xz 934384 BLAKE2B 
f473fad9e8bcab1ad0c6ffab7cee471065d615947964177194f829847d41e726fb435562f1637f2a65d3ae84e01a8077662de047443f33d089948e2efb58906c
 SHA512 
0fff071c9dbf118bc1908e433d6ce571f47a4f2dbc5bf2d843151889e3414473bb5a9c97dc0b6dc6d1bd9ab0c6e365cae625f97d1b11d5d6ae059fa5a0496cb3
 DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026
+DIST openmp-9.0.0.src.tar.xz 939036 BLAKE2B 
3eee75f05f65a294db6e65c29b8871bb2dd4e0ee753447d2356010ca1a114f3ad2dc54c2f39ad7ffcebd510d912e96f54a2884ecdc7f50864f909184c707e7a5
 SHA512 
0be0e95026db574ad75d4a9d2fe4234056d16dc4fe24760f3e9e39f3e10099c7eea4ff76d7236e5a570809111fa18fa017cb679391c16a995ba0c194eb9391d4

diff --git a/sys-libs/libomp/libomp-9.0.0.ebuild 
b/sys-libs/libomp/libomp-9.0.0.ebuild
new file mode 100644
index 000..51f4a04cdba
--- /dev/null
+++ b/sys-libs/libomp/libomp-9.0.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+inherit cmake-multilib linux-info multiprocessing python-any-r1
+
+MY_P=openmp-${PV}.src
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+S=${WORKDIR}/${MY_P}
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-09-16 Thread Michał Górny
commit: 24fef54e59a70cf983fb6a3ecfcdbf61772e3792
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 17 05:51:05 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 17 05:51:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24fef54e

sys-libs/libomp: Move CBUILD deps to BDEPEND

Closes: https://bugs.gentoo.org/694582
Signed-off-by: Michał Górny  gentoo.org>

 sys-libs/libomp/libomp-10.0.0..ebuild | 4 ++--
 sys-libs/libomp/libomp-9.0.0..ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.0..ebuild 
b/sys-libs/libomp/libomp-10.0.0..ebuild
index d0f53bbe6e3..107506fa8c8 100644
--- a/sys-libs/libomp/libomp-10.0.0..ebuild
+++ b/sys-libs/libomp/libomp-10.0.0..ebuild
@@ -35,8 +35,8 @@ RDEPEND="
 # - dev-python/lit provides the test runner
 # - sys-devel/llvm provide test utils (e.g. FileCheck)
 # - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
test? (
$(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')

diff --git a/sys-libs/libomp/libomp-9.0.0..ebuild 
b/sys-libs/libomp/libomp-9.0.0..ebuild
index 1927e2fcf46..024defb5b3b 100644
--- a/sys-libs/libomp/libomp-9.0.0..ebuild
+++ b/sys-libs/libomp/libomp-9.0.0..ebuild
@@ -36,8 +36,8 @@ RDEPEND="
 # - dev-python/lit provides the test runner
 # - sys-devel/llvm provide test utils (e.g. FileCheck)
 # - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
test? (
$(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-09-16 Thread Aaron Bauman
commit: fc2a7983ceabff770419d82230248831c22b56f5
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Sep 16 22:01:24 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Sep 16 22:13:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc2a7983

sys-libs/libomp: arm64 stable (bug #693856)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.17

 sys-libs/libomp/libomp-8.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-8.0.1.ebuild 
b/sys-libs/libomp/libomp-8.0.1.ebuild
index e7d3e917287..7cd25fdba87 100644
--- a/sys-libs/libomp/libomp-8.0.1.ebuild
+++ b/sys-libs/libomp/libomp-8.0.1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/${
 
 LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-09-13 Thread Mikle Kolyada
commit: 24a2a11fbf05102bbf827cfe88e4079c6ff11392
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Sep 13 18:03:28 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Sep 13 18:03:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a2a11f

sys-libs/libomp: arm stable wrt bug #692104

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-7.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-7.1.0.ebuild 
b/sys-libs/libomp/libomp-7.1.0.ebuild
index 3f3b124f865..a52e23876b7 100644
--- a/sys-libs/libomp/libomp-7.1.0.ebuild
+++ b/sys-libs/libomp/libomp-7.1.0.ebuild
@@ -20,7 +20,7 @@ 
SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
 
 LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-09-13 Thread Mikle Kolyada
commit: 4ec42db355d19cc65bb1b0a1078a57dfde8dc8fd
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Sep 13 15:46:31 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Sep 13 15:46:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ec42db3

sys-libs/libomp: arm stable wrt bug #693856

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libomp/libomp-8.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-8.0.1.ebuild 
b/sys-libs/libomp/libomp-8.0.1.ebuild
index dbffc3de51f..e7d3e917287 100644
--- a/sys-libs/libomp/libomp-8.0.1.ebuild
+++ b/sys-libs/libomp/libomp-8.0.1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/${
 
 LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 arm ~arm64 ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-09-11 Thread Agostino Sarubbo
commit: 315cdda49590ef8d9a8187da9cfea118c4ef0abd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 11 11:05:55 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 11 11:05:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315cdda4

sys-libs/libomp: ppc64 stable wrt bug #693856

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libomp/libomp-8.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-8.0.1.ebuild 
b/sys-libs/libomp/libomp-8.0.1.ebuild
index fcdf4b94bd9..dbffc3de51f 100644
--- a/sys-libs/libomp/libomp-8.0.1.ebuild
+++ b/sys-libs/libomp/libomp-8.0.1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/${
 
 LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-09-10 Thread Agostino Sarubbo
commit: 6b0a4f5fab2e3ec2c8d6a3658232f57a1dccfc38
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Sep 10 07:10:13 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Sep 10 07:10:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b0a4f5f

sys-libs/libomp: x86 stable wrt bug #693856

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libomp/libomp-8.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-8.0.1.ebuild 
b/sys-libs/libomp/libomp-8.0.1.ebuild
index 2ef1c3f9bea..fcdf4b94bd9 100644
--- a/sys-libs/libomp/libomp-8.0.1.ebuild
+++ b/sys-libs/libomp/libomp-8.0.1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/${
 
 LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-09-10 Thread Agostino Sarubbo
commit: 6653d5734d3097c2ede66f74eb9241a419b67115
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Sep 10 07:06:12 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Sep 10 07:06:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6653d573

sys-libs/libomp: amd64 stable wrt bug #693856

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libomp/libomp-8.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-8.0.1.ebuild 
b/sys-libs/libomp/libomp-8.0.1.ebuild
index 9272c4a8935..2ef1c3f9bea 100644
--- a/sys-libs/libomp/libomp-8.0.1.ebuild
+++ b/sys-libs/libomp/libomp-8.0.1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/${
 
 LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-08-18 Thread Michał Górny
commit: a05b8155c31cfe2ca0a91f143cb542a25af4ba7e
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 18 08:58:06 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 18 10:07:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a05b8155

sys-libs/libomp: Update LICENSE for 9+

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

 sys-libs/libomp/libomp-10.0.0..ebuild | 6 +-
 sys-libs/libomp/libomp-9.0.0..ebuild  | 6 +-
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/sys-libs/libomp/libomp-10.0.0..ebuild 
b/sys-libs/libomp/libomp-10.0.0..ebuild
index 9a293c825b6..d0f53bbe6e3 100644
--- a/sys-libs/libomp/libomp-10.0.0..ebuild
+++ b/sys-libs/libomp/libomp-10.0.0..ebuild
@@ -16,11 +16,7 @@ SRC_URI=""
 EGIT_REPO_URI="https://git.llvm.org/git/openmp.git
https://github.com/llvm-mirror/openmp.git;
 
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
 KEYWORDS=""
 IUSE="cuda hwloc kernel_linux offload ompt test"

diff --git a/sys-libs/libomp/libomp-9.0.0..ebuild 
b/sys-libs/libomp/libomp-9.0.0..ebuild
index c74e74f9ae9..1927e2fcf46 100644
--- a/sys-libs/libomp/libomp-9.0.0..ebuild
+++ b/sys-libs/libomp/libomp-9.0.0..ebuild
@@ -17,11 +17,7 @@ EGIT_REPO_URI="https://git.llvm.org/git/openmp.git
https://github.com/llvm-mirror/openmp.git;
 EGIT_BRANCH="release_90"
 
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
 KEYWORDS=""
 IUSE="cuda hwloc kernel_linux offload ompt test"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-07-21 Thread Michał Górny
commit: 6e51b0d324a45d47eec5296e1b1d3e1796b6e9a9
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 21 10:41:04 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 21 19:40:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e51b0d3

sys-libs/libomp: -9.0. → -9.0.0.

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

 sys-libs/libomp/{libomp-9.0..ebuild => libomp-9.0.0..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libomp/libomp-9.0..ebuild 
b/sys-libs/libomp/libomp-9.0.0..ebuild
similarity index 100%
rename from sys-libs/libomp/libomp-9.0..ebuild
rename to sys-libs/libomp/libomp-9.0.0..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-07-21 Thread Michał Górny
commit: 6d2007d6898f072598de447981d7a11902236fed
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 21 10:35:19 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 21 19:40:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2007d6

sys-libs/libomp: - → -10.0.0.

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

 sys-libs/libomp/{libomp-.ebuild => libomp-10.0.0..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libomp/libomp-.ebuild 
b/sys-libs/libomp/libomp-10.0.0..ebuild
similarity index 100%
rename from sys-libs/libomp/libomp-.ebuild
rename to sys-libs/libomp/libomp-10.0.0..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-07-21 Thread Michał Górny
commit: 630613486d86067e041ba2aac10c1ca82ab2dd13
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 21 07:14:33 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 21 07:34:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63061348

sys-libs/libomp: Remove 8.0.

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

 sys-libs/libomp/libomp-8.0..ebuild | 116 -
 1 file changed, 116 deletions(-)

diff --git a/sys-libs/libomp/libomp-8.0..ebuild 
b/sys-libs/libomp/libomp-8.0..ebuild
deleted file mode 100644
index 6b3a7bf36aa..000
--- a/sys-libs/libomp/libomp-8.0..ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-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_80"
-
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
-SLOT="0"
-KEYWORDS=""
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
-
-   # do not install libgomp.so & libiomp5.so aliases
-   -DLIBOMP_INSTALL_ALIASES=OFF
-   # disable unnecessary hack copying stuff back to srcdir
-   -DLIBOMP_COPY_EXPORTS=OFF
-   )
-   use offload && mycmakeargs+=(
-   # this is non-fatal and libomp checks for CUDA conditionally
-   # to ABI, so we can just ignore passing the wrong value
-   # on non-amd64 ABIs
-   -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=$(usex !cuda)
-   )
-   use test && mycmakeargs+=(
-   # this project does not use standard LLVM cmake macros
-   -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
-   -DOPENMP_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs 
"${MAKEOPTS}" "$(get_nproc)")}"
-
-   -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-   -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
-   )
-   cmake-utils_src_configure
-}
-
-multilib_src_test() {
-   # respect TMPDIR!
-   local -x LIT_PRESERVES_TMP=1
-
-   cmake-utils_src_make check-libomp
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-07-21 Thread Michał Górny
commit: faf757863bf1f449d55c94bd789f7374cbb6c825
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 21 07:13:35 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 21 07:33:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf75786

sys-libs/libomp: Add 9.0 branch live ebuild

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

 sys-libs/libomp/libomp-9.0..ebuild | 116 +
 1 file changed, 116 insertions(+)

diff --git a/sys-libs/libomp/libomp-9.0..ebuild 
b/sys-libs/libomp/libomp-9.0..ebuild
new file mode 100644
index 000..c74e74f9ae9
--- /dev/null
+++ b/sys-libs/libomp/libomp-9.0..ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+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"
+
+# Additional licenses:
+# - MIT-licensed Intel code,
+# - LLVM Software Grant from Intel.
+
+LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
+SLOT="0"
+KEYWORDS=""
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}
+   dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   -DLIBOMP_INSTALL_ALIASES=OFF
+   # disable unnecessary hack copying stuff back to srcdir
+   -DLIBOMP_COPY_EXPORTS=OFF
+   )
+   use offload && mycmakeargs+=(
+   # this is non-fatal and libomp checks for CUDA conditionally
+   # to ABI, so we can just ignore passing the wrong value
+   # on non-amd64 ABIs
+   -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=$(usex !cuda)
+   )
+   use test && mycmakeargs+=(
+   # this project does not use standard LLVM cmake macros
+   -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
+   -DOPENMP_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs 
"${MAKEOPTS}" "$(get_nproc)")}"
+
+   -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
+   -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
+   )
+   cmake-utils_src_configure
+}
+
+multilib_src_test() {
+   # respect TMPDIR!
+   local -x LIT_PRESERVES_TMP=1
+
+   cmake-utils_src_make check-libomp
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-07-20 Thread Michał Górny
commit: 283dccfb0b7e95b2773a35887459a6d98feaacb3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 20 20:55:29 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 20 22:34:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=283dccfb

sys-libs/libomp: Bump - to EAPI 7

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

 sys-libs/libomp/libomp-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libomp/libomp-.ebuild 
b/sys-libs/libomp/libomp-.ebuild
index 4e3869d17d8..a60a4c6ec94 100644
--- a/sys-libs/libomp/libomp-.ebuild
+++ b/sys-libs/libomp/libomp-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 : ${CMAKE_MAKEFILE_GENERATOR:=ninja}
 # (needed due to CMAKE_BUILD_TYPE != Gentoo)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-07-20 Thread Michał Górny
commit: 786a3729a8171bf9dcd654551c14798c42580276
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 20 21:09:55 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 20 22:34:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786a3729

sys-libs/libomp: Enable Python 3

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

 sys-libs/libomp/libomp-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-.ebuild 
b/sys-libs/libomp/libomp-.ebuild
index a60a4c6ec94..9a293c825b6 100644
--- a/sys-libs/libomp/libomp-.ebuild
+++ b/sys-libs/libomp/libomp-.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 : ${CMAKE_MAKEFILE_GENERATOR:=ninja}
 # (needed due to CMAKE_BUILD_TYPE != Gentoo)
 CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
 
 inherit cmake-multilib git-r3 linux-info multiprocessing python-any-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-07-20 Thread Michał Górny
commit: bb028d62c4bb3e290658a44f3763b95b4d80ed01
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 20 08:52:53 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 20 12:50:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb028d62

sys-libs/libomp: Bump to 8.0.1

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

 sys-libs/libomp/Manifest|   1 +
 sys-libs/libomp/libomp-8.0.1.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index fa167be28dc..8487a278dd3 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,3 +1,4 @@
 DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.0.src.tar.xz 934384 BLAKE2B 
f473fad9e8bcab1ad0c6ffab7cee471065d615947964177194f829847d41e726fb435562f1637f2a65d3ae84e01a8077662de047443f33d089948e2efb58906c
 SHA512 
0fff071c9dbf118bc1908e433d6ce571f47a4f2dbc5bf2d843151889e3414473bb5a9c97dc0b6dc6d1bd9ab0c6e365cae625f97d1b11d5d6ae059fa5a0496cb3
+DIST openmp-8.0.1.src.tar.xz 933320 BLAKE2B 
02a7bf70cd3a217845ef1c5a35e0d7dbfbb39069a9029d462c797b5ddf2240fd627dee55856146ca4bb81622a41f31ecd11e0ed66baf3b7d99447087271991b0
 SHA512 
9ded785c8129e7b3a70b54f07c4dde529456edcc94904ad77fc578cf7f096cfa3ff2279959d7f7f1db51571e11c53375f33b597c7f36ce6dc6b512c44ced8026

diff --git a/sys-libs/libomp/libomp-8.0.1.ebuild 
b/sys-libs/libomp/libomp-8.0.1.ebuild
new file mode 100644
index 000..9272c4a8935
--- /dev/null
+++ b/sys-libs/libomp/libomp-8.0.1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-multilib linux-info multiprocessing python-any-r1
+
+MY_P=openmp-${PV}.src
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+SRC_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/${MY_P}.tar.xz;
+
+# Additional licenses:
+# - MIT-licensed Intel code,
+# - LLVM Software Grant from Intel.
+
+LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}
+   dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+S=${WORKDIR}/${MY_P}
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-05-15 Thread Michał Górny
commit: 50db97100eb2295bb73418bc281195b81a80d096
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 15 09:50:21 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 15 09:53:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50db9710

sys-libs/libomp: Remove 7.0.1

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

 sys-libs/libomp/Manifest   |   1 -
 sys-libs/libomp/libomp-7.0.1-r1.ebuild | 115 -
 2 files changed, 116 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 6bb3b6f874d..fa167be28dc 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,3 @@
 DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
-DIST openmp-7.0.1.src.tar.xz 909316 BLAKE2B 
b8adbf67738b8d2d2d42b45b24aabd2f5e65a7b9cdda0d4a62511808c2101d9bb925b4904a9ecb98f77a1b7f38f13408fea6f724748183f9d5f5419c3fdeac54
 SHA512 
2062db8b87bce2c130bab528a6d654cb05b3de7641737552fc263724ceaa5e322afc2787796a0bddcda8d1bdf913a49f5a0180abcc57f8842b7e8ea8df4d6f51
 DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.0.src.tar.xz 934384 BLAKE2B 
f473fad9e8bcab1ad0c6ffab7cee471065d615947964177194f829847d41e726fb435562f1637f2a65d3ae84e01a8077662de047443f33d089948e2efb58906c
 SHA512 
0fff071c9dbf118bc1908e433d6ce571f47a4f2dbc5bf2d843151889e3414473bb5a9c97dc0b6dc6d1bd9ab0c6e365cae625f97d1b11d5d6ae059fa5a0496cb3

diff --git a/sys-libs/libomp/libomp-7.0.1-r1.ebuild 
b/sys-libs/libomp/libomp-7.0.1-r1.ebuild
deleted file mode 100644
index 57eeeaa69df..000
--- a/sys-libs/libomp/libomp-7.0.1-r1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-multilib linux-info multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
-
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-S=${WORKDIR}/openmp-${PV/_/}.src
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
-
-   # do not install libgomp.so & libiomp5.so aliases
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-05-13 Thread Aaron Bauman
commit: b2d87afc509038383f64f419a575f440b8a8521c
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon May 13 17:34:10 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon May 13 17:34:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d87afc

sys-libs/libomp: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="arm64"

 sys-libs/libomp/libomp-7.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-7.1.0.ebuild 
b/sys-libs/libomp/libomp-7.1.0.ebuild
index 29e5d3d8272..3f3b124f865 100644
--- a/sys-libs/libomp/libomp-7.1.0.ebuild
+++ b/sys-libs/libomp/libomp-7.1.0.ebuild
@@ -20,7 +20,7 @@ 
SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
 
 LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-05-11 Thread Mikle Kolyada
commit: 07eae30ddba2242367318023372d8bd012bd9d6b
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May 11 11:23:25 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May 11 11:23:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07eae30d

sys-libs/libomp: amd64 stable wrt bug #674068

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 sys-libs/libomp/libomp-7.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-7.1.0.ebuild 
b/sys-libs/libomp/libomp-7.1.0.ebuild
index d472c4f2379..378a03ac76c 100644
--- a/sys-libs/libomp/libomp-7.1.0.ebuild
+++ b/sys-libs/libomp/libomp-7.1.0.ebuild
@@ -20,7 +20,7 @@ 
SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
 
 LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-05-11 Thread Mikle Kolyada
commit: 945c1b15d9dff70e32d5d68698457ecc5ba342a9
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May 11 11:24:30 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May 11 11:24:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945c1b15

sys-libs/libomp: x86 stable wrt bug #674068

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="x86"

 sys-libs/libomp/libomp-7.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libomp/libomp-7.1.0.ebuild 
b/sys-libs/libomp/libomp-7.1.0.ebuild
index 378a03ac76c..29e5d3d8272 100644
--- a/sys-libs/libomp/libomp-7.1.0.ebuild
+++ b/sys-libs/libomp/libomp-7.1.0.ebuild
@@ -20,7 +20,7 @@ 
SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
 
 LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
 IUSE="cuda hwloc kernel_linux offload ompt test"
 # CUDA works only with the x86_64 ABI
 REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-04-20 Thread Michał Górny
commit: dce537d79a830bc9df84392c02ccb73b88ccbb92
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Apr 19 19:48:49 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr 19 20:10:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dce537d7

sys-libs/libomp: Remove 7.0.

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

 sys-libs/libomp/libomp-7.0..ebuild | 116 -
 1 file changed, 116 deletions(-)

diff --git a/sys-libs/libomp/libomp-7.0..ebuild 
b/sys-libs/libomp/libomp-7.0..ebuild
deleted file mode 100644
index 4e8766e7c45..000
--- a/sys-libs/libomp/libomp-7.0..ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-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_70"
-
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
-SLOT="0"
-KEYWORDS=""
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
-
-   # do not install libgomp.so & libiomp5.so aliases
-   -DLIBOMP_INSTALL_ALIASES=OFF
-   # disable unnecessary hack copying stuff back to srcdir
-   -DLIBOMP_COPY_EXPORTS=OFF
-   )
-   use offload && mycmakeargs+=(
-   # this is non-fatal and libomp checks for CUDA conditionally
-   # to ABI, so we can just ignore passing the wrong value
-   # on non-amd64 ABIs
-   -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=$(usex !cuda)
-   )
-   use test && mycmakeargs+=(
-   # this project does not use standard LLVM cmake macros
-   -DOPENMP_LLVM_LIT_EXECUTABLE="${EPREFIX}/usr/bin/lit"
-   -DOPENMP_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs 
"${MAKEOPTS}" "$(get_nproc)")}"
-
-   -DOPENMP_TEST_C_COMPILER="$(type -P "${CHOST}-clang")"
-   -DOPENMP_TEST_CXX_COMPILER="$(type -P "${CHOST}-clang++")"
-   )
-   cmake-utils_src_configure
-}
-
-multilib_src_test() {
-   # respect TMPDIR!
-   local -x LIT_PRESERVES_TMP=1
-
-   cmake-utils_src_make check-libomp
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-04-20 Thread Michał Górny
commit: 5b5cc975cff7623832a09433b917084da9e7a085
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Apr 19 05:07:08 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr 19 11:32:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b5cc975

sys-libs/libomp: Bump to 7.1.0

Closes: https://bugs.gentoo.org/683788
Signed-off-by: Michał Górny  gentoo.org>

 sys-libs/libomp/Manifest|   1 +
 sys-libs/libomp/libomp-7.1.0.ebuild | 115 
 2 files changed, 116 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 632c9f33b6f..6bb3b6f874d 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,3 +1,4 @@
 DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
 DIST openmp-7.0.1.src.tar.xz 909316 BLAKE2B 
b8adbf67738b8d2d2d42b45b24aabd2f5e65a7b9cdda0d4a62511808c2101d9bb925b4904a9ecb98f77a1b7f38f13408fea6f724748183f9d5f5419c3fdeac54
 SHA512 
2062db8b87bce2c130bab528a6d654cb05b3de7641737552fc263724ceaa5e322afc2787796a0bddcda8d1bdf913a49f5a0180abcc57f8842b7e8ea8df4d6f51
+DIST openmp-7.1.0.src.tar.xz 909320 BLAKE2B 
7a5fd4374992b7c440ff27917c0af6a2ec64aaeb2fda645f75b5affd4981e3ceef7f15cba61c37934c5b35be543af315cc4bff2937545fbf5eaa6593f1aa8b83
 SHA512 
57f18beede401c1c39766e13a03b52083a0f7b437758069f66b73d6d1388dc51e48c34b0a7ecd3552244fd35e2db57388642588febef413c161f5c5411ab1e5d
 DIST openmp-8.0.0.src.tar.xz 934384 BLAKE2B 
f473fad9e8bcab1ad0c6ffab7cee471065d615947964177194f829847d41e726fb435562f1637f2a65d3ae84e01a8077662de047443f33d089948e2efb58906c
 SHA512 
0fff071c9dbf118bc1908e433d6ce571f47a4f2dbc5bf2d843151889e3414473bb5a9c97dc0b6dc6d1bd9ab0c6e365cae625f97d1b11d5d6ae059fa5a0496cb3

diff --git a/sys-libs/libomp/libomp-7.1.0.ebuild 
b/sys-libs/libomp/libomp-7.1.0.ebuild
new file mode 100644
index 000..d472c4f2379
--- /dev/null
+++ b/sys-libs/libomp/libomp-7.1.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-multilib linux-info multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
+
+# Additional licenses:
+# - MIT-licensed Intel code,
+# - LLVM Software Grant from Intel.
+
+LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}
+   dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+S=${WORKDIR}/openmp-${PV/_/}.src
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-03-20 Thread Michał Górny
commit: 3f625524477795d6b1d7e0712bcce3c0bd42c462
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 20 14:17:03 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 20 15:01:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f625524

sys-libs/libomp: Remove 8.0.0rc5

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

 sys-libs/libomp/Manifest|   1 -
 sys-libs/libomp/libomp-8.0.0_rc5.ebuild | 115 
 2 files changed, 116 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 2ab59b590a5..632c9f33b6f 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,4 +1,3 @@
 DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
 DIST openmp-7.0.1.src.tar.xz 909316 BLAKE2B 
b8adbf67738b8d2d2d42b45b24aabd2f5e65a7b9cdda0d4a62511808c2101d9bb925b4904a9ecb98f77a1b7f38f13408fea6f724748183f9d5f5419c3fdeac54
 SHA512 
2062db8b87bce2c130bab528a6d654cb05b3de7641737552fc263724ceaa5e322afc2787796a0bddcda8d1bdf913a49f5a0180abcc57f8842b7e8ea8df4d6f51
 DIST openmp-8.0.0.src.tar.xz 934384 BLAKE2B 
f473fad9e8bcab1ad0c6ffab7cee471065d615947964177194f829847d41e726fb435562f1637f2a65d3ae84e01a8077662de047443f33d089948e2efb58906c
 SHA512 
0fff071c9dbf118bc1908e433d6ce571f47a4f2dbc5bf2d843151889e3414473bb5a9c97dc0b6dc6d1bd9ab0c6e365cae625f97d1b11d5d6ae059fa5a0496cb3
-DIST openmp-8.0.0rc5.src.tar.xz 934496 BLAKE2B 
058c69a972c6296d941f9a0d9e3d69eb8020fccb8985dedc0f6f5020b55cd2f239a2e0f66157870b46adb20be08fa6350d1aea2261523a70b6a9a3704bcbabed
 SHA512 
818daa70fc638879ae00dda783bef69e9b39f3ca6d57bc233b4a5a0478e96ddf311d99ff3d254a81a26a6b75eca56accb6f7d30e4911bcd1cd259fab1dad80b4

diff --git a/sys-libs/libomp/libomp-8.0.0_rc5.ebuild 
b/sys-libs/libomp/libomp-8.0.0_rc5.ebuild
deleted file mode 100644
index 11a034d619b..000
--- a/sys-libs/libomp/libomp-8.0.0_rc5.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-# (needed due to CMAKE_BUILD_TYPE != Gentoo)
-CMAKE_MIN_VERSION=3.7.0-r1
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-multilib linux-info multiprocessing python-any-r1
-
-DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
-HOMEPAGE="https://openmp.llvm.org;
-SRC_URI="https://prereleases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
-
-# Additional licenses:
-# - MIT-licensed Intel code,
-# - LLVM Software Grant from Intel.
-
-LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
-IUSE="cuda hwloc kernel_linux offload ompt test"
-# CUDA works only with the x86_64 ABI
-REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
-   offload? (
-   virtual/libelf:=[${MULTILIB_USEDEP}]
-   virtual/libffi:=[${MULTILIB_USEDEP}]
-   cuda? ( dev-util/nvidia-cuda-toolkit:= )
-   )"
-# tests:
-# - dev-python/lit provides the test runner
-# - sys-devel/llvm provide test utils (e.g. FileCheck)
-# - sys-devel/clang provides the compiler to run tests
-DEPEND="${RDEPEND}
-   dev-lang/perl
-   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   >=sys-devel/clang-6
-   )"
-
-S=${WORKDIR}/openmp-${PV/_/}.src
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-python_check_deps() {
-   has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-kernel_pds_check() {
-   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
-   local CONFIG_CHECK="~!SCHED_PDS"
-   local ERROR_SCHED_PDS="\
-PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
-< 4.14-pf9) do not implement sched_yield() call which may result in horrible
-performance problems with libomp. If you are using one of the specified
-kernel versions, you may want to disable the PDS scheduler."
-
-   check_extra_config
-   fi
-}
-
-pkg_pretend() {
-   kernel_pds_check
-}
-
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
-
-   # do not install libgomp.so & libiomp5.so aliases
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/

2019-03-20 Thread Michał Górny
commit: 3c746be9442cd845ee83b40afef4e43656baacf3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 20 14:14:58 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 20 15:01:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c746be9

sys-libs/libomp: Bump to 8.0.0 final

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

 sys-libs/libomp/Manifest|   1 +
 sys-libs/libomp/libomp-8.0.0.ebuild | 115 
 2 files changed, 116 insertions(+)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index 2f5715acdc0..2ab59b590a5 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -1,3 +1,4 @@
 DIST openmp-6.0.1.src.tar.xz 2048320 BLAKE2B 
08b3a7051c985903f78331f55a1c6e928399b87c862c43c991e9bf78b66b6e412fc96f202b82c051176dbbe02422f8ceb7414f44ea8f3522f418e515c0f70c62
 SHA512 
abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
 DIST openmp-7.0.1.src.tar.xz 909316 BLAKE2B 
b8adbf67738b8d2d2d42b45b24aabd2f5e65a7b9cdda0d4a62511808c2101d9bb925b4904a9ecb98f77a1b7f38f13408fea6f724748183f9d5f5419c3fdeac54
 SHA512 
2062db8b87bce2c130bab528a6d654cb05b3de7641737552fc263724ceaa5e322afc2787796a0bddcda8d1bdf913a49f5a0180abcc57f8842b7e8ea8df4d6f51
+DIST openmp-8.0.0.src.tar.xz 934384 BLAKE2B 
f473fad9e8bcab1ad0c6ffab7cee471065d615947964177194f829847d41e726fb435562f1637f2a65d3ae84e01a8077662de047443f33d089948e2efb58906c
 SHA512 
0fff071c9dbf118bc1908e433d6ce571f47a4f2dbc5bf2d843151889e3414473bb5a9c97dc0b6dc6d1bd9ab0c6e365cae625f97d1b11d5d6ae059fa5a0496cb3
 DIST openmp-8.0.0rc5.src.tar.xz 934496 BLAKE2B 
058c69a972c6296d941f9a0d9e3d69eb8020fccb8985dedc0f6f5020b55cd2f239a2e0f66157870b46adb20be08fa6350d1aea2261523a70b6a9a3704bcbabed
 SHA512 
818daa70fc638879ae00dda783bef69e9b39f3ca6d57bc233b4a5a0478e96ddf311d99ff3d254a81a26a6b75eca56accb6f7d30e4911bcd1cd259fab1dad80b4

diff --git a/sys-libs/libomp/libomp-8.0.0.ebuild 
b/sys-libs/libomp/libomp-8.0.0.ebuild
new file mode 100644
index 000..d472c4f2379
--- /dev/null
+++ b/sys-libs/libomp/libomp-8.0.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-multilib linux-info multiprocessing python-any-r1
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="https://openmp.llvm.org;
+SRC_URI="https://releases.llvm.org/${PV/_//}/openmp-${PV/_/}.src.tar.xz;
+
+# Additional licenses:
+# - MIT-licensed Intel code,
+# - LLVM Software Grant from Intel.
+
+LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x64-macos"
+IUSE="cuda hwloc kernel_linux offload ompt test"
+# CUDA works only with the x86_64 ABI
+REQUIRED_USE="offload? ( cuda? ( abi_x86_64 ) )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )
+   offload? (
+   virtual/libelf:=[${MULTILIB_USEDEP}]
+   virtual/libffi:=[${MULTILIB_USEDEP}]
+   cuda? ( dev-util/nvidia-cuda-toolkit:= )
+   )"
+# tests:
+# - dev-python/lit provides the test runner
+# - sys-devel/llvm provide test utils (e.g. FileCheck)
+# - sys-devel/clang provides the compiler to run tests
+DEPEND="${RDEPEND}
+   dev-lang/perl
+   offload? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   >=sys-devel/clang-6
+   )"
+
+S=${WORKDIR}/openmp-${PV/_/}.src
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+kernel_pds_check() {
+   if use kernel_linux && kernel_is -lt 4 15 && kernel_is -ge 4 13; then
+   local CONFIG_CHECK="~!SCHED_PDS"
+   local ERROR_SCHED_PDS="\
+PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels >= 4.13-pf11
+< 4.14-pf9) do not implement sched_yield() call which may result in horrible
+performance problems with libomp. If you are using one of the specified
+kernel versions, you may want to disable the PDS scheduler."
+
+   check_extra_config
+   fi
+}
+
+pkg_pretend() {
+   kernel_pds_check
+}
+
+pkg_setup() {
+   use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   -DOPENMP_ENABLE_LIBOMPTARGET=$(usex offload)
+
+   # do not install libgomp.so & libiomp5.so aliases
+   

<    1   2   3   4   5   6   >