[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-23 Thread Arthur Zamarin
commit: 99ee4b99258b116233168c281dc3ceaf72d4a056
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 23 13:32:42 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 23 13:46:15 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99ee4b99

llvm-runtimes/openmp: Stabilize 19.1.7 ppc64, #946879

Signed-off-by: Arthur Zamarin  gentoo.org>

 llvm-runtimes/openmp/openmp-19.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm-runtimes/openmp/openmp-19.1.7.ebuild 
b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
index a6e967420224..86568063e4c9 100644
--- a/llvm-runtimes/openmp/openmp-19.1.7.ebuild
+++ b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openmp.llvm.org";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0/${LLVM_SOABI}"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
 IUSE="debug gdb-plugin hwloc ompt test"
 REQUIRED_USE="
gdb-plugin? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-23 Thread Arthur Zamarin
commit: 2e6a28742ee12184d0777c02c785e923280e230e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 23 13:32:35 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 23 13:46:13 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6a2874

llvm-runtimes/openmp: Stabilize 19.1.7 arm, #946879

Signed-off-by: Arthur Zamarin  gentoo.org>

 llvm-runtimes/openmp/openmp-19.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm-runtimes/openmp/openmp-19.1.7.ebuild 
b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
index 819e5c7d4472..a6e967420224 100644
--- a/llvm-runtimes/openmp/openmp-19.1.7.ebuild
+++ b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openmp.llvm.org";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0/${LLVM_SOABI}"
-KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
 IUSE="debug gdb-plugin hwloc ompt test"
 REQUIRED_USE="
gdb-plugin? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-22 Thread Michał Górny
commit: dc0ca9b87cea7f7e8976d29d7d68a2c7f301f597
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 22 10:41:19 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 22 10:41:19 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc0ca9b8

llvm-runtimes/openmp: Remove old

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

 llvm-runtimes/openmp/Manifest  |  3 -
 llvm-runtimes/openmp/openmp-20.1.0.ebuild  | 89 --
 .../openmp/openmp-21.0.0_pre20250311.ebuild| 88 -
 3 files changed, 180 deletions(-)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 88753c151c05..28abed0aecf0 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -13,8 +13,5 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818bef
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 
BLAKE2B 
c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf
 SHA512 
98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d
 DIST llvm-project-1d133420dc512487e2be0e9d86755f2a7c3497a7.tar.gz 229268288 
BLAKE2B 
aca79bcca631deeab429a03cd2732d78d8ecf0c9615bce181445ed875436806609dc85a57d4f97109492833d620d060ea93fed450a4912c2d94597aeabf84974
 SHA512 
24ecadfccdf785bfbf27d5007afd2a4d5868493b2c5f48d6cf07c335bfbfef5cba4f12a639971e5f95877ae3b8c7b7fc0c210e404d21036af553de82a5059037
-DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 
8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803
 SHA512 
c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397
-DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 
98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456
 SHA512 
68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a
 DIST llvm-project-20.1.1.src.tar.xz 147215020 BLAKE2B 
d1774d060036b5340f765d68cc23cbd1e00730874cb3e65b7236303238d7922a7fa191b631c20c3bf17e54c933672a355d4424f2beea17cd25fcf9f5c4c625dd
 SHA512 
b851d3e24a2775f6e789720614a8192d72956f447a39d75e5160a8acf6bd3a3386fab2cca5590b7e020b65e408ccf32432f8dc03519fd4cf60b4b5674fe0547e
 DIST llvm-project-20.1.1.src.tar.xz.sig 566 BLAKE2B 
76c49401d9b8e283fc29586c32fc1b5205d76b3b83d0f99aa2ac09a63b058478e08588dcfbfc728110172b639eeaf04a884f4e6d707b94cad0dbf2d0dcb30a4f
 SHA512 
469b03f3ddbe56b074724375b09a45ee2730bee0ba4b25f64f93d93ef609c33d39136f051c216a74a35d98a70ffcd3d7507e38d19a20d5006c29a954ca32813b
-DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 
BLAKE2B 
1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6
 SHA512 
07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14

diff --git a/llvm-runtimes/openmp/openmp-20.1.0.ebuild 
b/llvm-runtimes/openmp/openmp-20.1.0.ebuild
deleted file mode 100644
index cbd2a6293498..
--- a/llvm-runtimes/openmp/openmp-20.1.0.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux 
~x64-macos"
-IUSE="debug gdb-plugin hwloc ompt test"
-REQUIRED_USE="
-   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   gdb-plugin? ( ${PYTHON_DEPS} )
-   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
-"
-# tests:
-# - dev-python/lit provides the test runner
-# - llvm-core/llvm provide test utils (e.g. FileCheck)
-# - llvm-core/clang provides the compiler to run tests
-DEPEND="
-   ${RDEPEND}
-"
-BDEPEND="
-   dev-lang/perl
-   test? (
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/lit[${PYTHON_USEDEP}]
-   ')
-   llvm-core/c

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-20 Thread Michał Górny
commit: 1316bd8dd400bb57189e0cd8d724fe5cb4c468fb
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 20 12:53:38 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 20 16:50:26 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1316bd8d

llvm-runtimes/openmp: Add 20.1.1

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

 llvm-runtimes/openmp/Manifest |  2 +
 llvm-runtimes/openmp/openmp-20.1.1.ebuild | 89 +++
 2 files changed, 91 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 76b607002c29..95e76fdf8eef 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -14,4 +14,6 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf
 DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 
BLAKE2B 
c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf
 SHA512 
98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d
 DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 
8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803
 SHA512 
c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397
 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 
98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456
 SHA512 
68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a
+DIST llvm-project-20.1.1.src.tar.xz 147215020 BLAKE2B 
d1774d060036b5340f765d68cc23cbd1e00730874cb3e65b7236303238d7922a7fa191b631c20c3bf17e54c933672a355d4424f2beea17cd25fcf9f5c4c625dd
 SHA512 
b851d3e24a2775f6e789720614a8192d72956f447a39d75e5160a8acf6bd3a3386fab2cca5590b7e020b65e408ccf32432f8dc03519fd4cf60b4b5674fe0547e
+DIST llvm-project-20.1.1.src.tar.xz.sig 566 BLAKE2B 
76c49401d9b8e283fc29586c32fc1b5205d76b3b83d0f99aa2ac09a63b058478e08588dcfbfc728110172b639eeaf04a884f4e6d707b94cad0dbf2d0dcb30a4f
 SHA512 
469b03f3ddbe56b074724375b09a45ee2730bee0ba4b25f64f93d93ef609c33d39136f051c216a74a35d98a70ffcd3d7507e38d19a20d5006c29a954ca32813b
 DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 
BLAKE2B 
1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6
 SHA512 
07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14

diff --git a/llvm-runtimes/openmp/openmp-20.1.1.ebuild 
b/llvm-runtimes/openmp/openmp-20.1.1.ebuild
new file mode 100644
index ..cbd2a6293498
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.1.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux 
~x64-macos"
+IUSE="debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-17 Thread Michał Górny
commit: 9fd88cc45f62625be71452770eed90b94cefdeea
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 17 17:57:42 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 17 20:13:30 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd88cc4

llvm-runtimes/openmp: Add 21.0.0_pre20250317 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-21.0.0_pre20250317.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 6032fa692d48..76b607002c29 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -11,6 +11,7 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B 
b99cd8a96e38dbcfb582ee5d22
 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e
 SHA512 
3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
+DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 
BLAKE2B 
c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf
 SHA512 
98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d
 DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 
8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803
 SHA512 
c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397
 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 
98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456
 SHA512 
68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a
 DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 
BLAKE2B 
1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6
 SHA512 
07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250317.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250317.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-21.0.0_pre20250317.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-16 Thread Michał Górny
commit: d129b9f6c33fee45ddf2c3e0c6723e10daf69031
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 16 17:30:23 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 16 17:30:23 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d129b9f6

llvm-runtimes/openmp: Remove old

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

 llvm-runtimes/openmp/Manifest  |  1 -
 .../openmp/openmp-21.0.0_pre20250301.ebuild| 88 --
 2 files changed, 89 deletions(-)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 317ae4540d10..6032fa692d48 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -13,5 +13,4 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818bef
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 
8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803
 SHA512 
c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397
 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 
98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456
 SHA512 
68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a
-DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 
BLAKE2B 
cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6
 SHA512 
9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442
 DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 
BLAKE2B 
1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6
 SHA512 
07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250301.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250301.ebuild
deleted file mode 100644
index 6a485191767b..
--- a/llvm-runtimes/openmp/openmp-21.0.0_pre20250301.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
-IUSE="+debug gdb-plugin hwloc ompt test"
-REQUIRED_USE="
-   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   gdb-plugin? ( ${PYTHON_DEPS} )
-   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
-"
-# tests:
-# - dev-python/lit provides the test runner
-# - llvm-core/llvm provide test utils (e.g. FileCheck)
-# - llvm-core/clang provides the compiler to run tests
-DEPEND="
-   ${RDEPEND}
-"
-BDEPEND="
-   dev-lang/perl
-   test? (
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/lit[${PYTHON_USEDEP}]
-   ')
-   llvm-core/clang
-   )
-"
-
-LLVM_COMPONENTS=( openmp cmake llvm/include )
-llvm.org_set_globals
-
-pkg_setup() {
-   if use gdb-plugin || use test; then
-   python-single-r1_pkg_setup
-   fi
-}
-
-multilib_src_configure() {
-   # LTO causes issues in other packages building, #870127
-   filter-lto
-
-   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
-   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
-
-   # 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 test && mycmakeargs+=(
-   # this project does not use standard LLVM cmake macros
-   -DOPENM

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-11 Thread Michał Górny
commit: f777ff2ba879ab14544a6b0620b4e6457e7481b1
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar 11 14:51:48 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar 11 14:56:33 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f777ff2b

llvm-runtimes/openmp: Add 21.0.0_pre20250311 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-21.0.0_pre20250311.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 292d4122b357..317ae4540d10 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -14,3 +14,4 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf
 DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 
8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803
 SHA512 
c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397
 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 
98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456
 SHA512 
68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a
 DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 
BLAKE2B 
cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6
 SHA512 
9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442
+DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 
BLAKE2B 
1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6
 SHA512 
07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250311.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250311.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-21.0.0_pre20250311.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 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_sr

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-05 Thread Michał Górny
commit: f79267d1f6abc975572a75896b437f3bebd7637f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  5 10:01:42 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  5 10:13:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f79267d1

llvm-runtimes/openmp: Add keywords to 20.1.0

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

 llvm-runtimes/openmp/openmp-20.1.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm-runtimes/openmp/openmp-20.1.0.ebuild 
b/llvm-runtimes/openmp/openmp-20.1.0.ebuild
index 6a485191767b..cbd2a6293498 100644
--- a/llvm-runtimes/openmp/openmp-20.1.0.ebuild
+++ b/llvm-runtimes/openmp/openmp-20.1.0.ebuild
@@ -11,7 +11,8 @@ HOMEPAGE="https://openmp.llvm.org";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0/${LLVM_SOABI}"
-IUSE="+debug gdb-plugin hwloc ompt test"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux 
~x64-macos"
+IUSE="debug gdb-plugin hwloc ompt test"
 REQUIRED_USE="
gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
 "



[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-04 Thread Michał Górny
commit: cc1bdfded6c0914f9eaf22f63cce6117538c6796
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  5 06:13:36 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  5 06:13:36 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc1bdfde

llvm-runtimes/openmp: Add 20.1.0 (unkeyworded)

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

 llvm-runtimes/openmp/Manifest |  2 +
 llvm-runtimes/openmp/openmp-20.1.0.ebuild | 88 +++
 2 files changed, 90 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 6a178f711dd6..e7c4a75f4a8c 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -13,5 +13,7 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818bef
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 
888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23
 SHA512 
9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c
 DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 
411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26
 SHA512 
53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8
+DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 
8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803
 SHA512 
c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397
+DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 
98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456
 SHA512 
68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a
 DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 
BLAKE2B 
cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6
 SHA512 
9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442
 DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 
BLAKE2B 
3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b
 SHA512 
135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f

diff --git a/llvm-runtimes/openmp/openmp-20.1.0.ebuild 
b/llvm-runtimes/openmp/openmp-20.1.0.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.1.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   loca

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-01 Thread Michał Górny
commit: e6456cd516f146940df5b4d7ae7f8153516b18f0
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  1 12:56:27 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  1 12:58:33 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6456cd5

llvm-runtimes/openmp: Add 21.0.0_pre20250301 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-21.0.0_pre20250301.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 9a95e92d2aac..6a178f711dd6 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -13,4 +13,5 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818bef
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 
888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23
 SHA512 
9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c
 DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 
411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26
 SHA512 
53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8
+DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 
BLAKE2B 
cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6
 SHA512 
9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442
 DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 
BLAKE2B 
3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b
 SHA512 
135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250301.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250301.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-21.0.0_pre20250301.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 test && mycmakeargs+=(
+   # this project does not use standard LLVM cmake macr

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-03-01 Thread Michał Górny
commit: 63a7ed2e14f23ea9d60a183b00c58e83e7102927
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  1 08:32:56 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  1 08:32:56 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a7ed2e

llvm-runtimes/openmp: Remove old

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

 llvm-runtimes/openmp/Manifest  |  5 --
 llvm-runtimes/openmp/openmp-20.1.0_rc2.ebuild  | 88 --
 .../openmp/openmp-21.0.0_pre20250211.ebuild| 88 --
 .../openmp/openmp-21.0.0_pre20250215.ebuild| 88 --
 .../openmp/openmp-21.0.0_pre20250221.ebuild| 88 --
 5 files changed, 357 deletions(-)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index a547b163d5fd..9a95e92d2aac 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -11,11 +11,6 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B 
b99cd8a96e38dbcfb582ee5d22
 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e
 SHA512 
3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
-DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 
6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3
 SHA512 
f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb
-DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B 
aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f
 SHA512 
e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce
 DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 
888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23
 SHA512 
9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c
 DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 
411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26
 SHA512 
53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8
-DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 
BLAKE2B 
51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e
 SHA512 
a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b
-DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 
BLAKE2B 
28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d
 SHA512 
d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5
-DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 
BLAKE2B 
c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86
 SHA512 
0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb
 DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 
BLAKE2B 
3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b
 SHA512 
135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f

diff --git a/llvm-runtimes/openmp/openmp-20.1.0_rc2.ebuild 
b/llvm-runtimes/openmp/openmp-20.1.0_rc2.ebuild
deleted file mode 100644
index 6a485191767b..
--- a/llvm-runtimes/openmp/openmp-20.1.0_rc2.ebuild
+++ /dev/null
@@ -1,88 

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-26 Thread Michał Górny
commit: c237944c5508f8b1547ea3f9b837575a27da4483
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 26 18:51:23 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 26 18:55:24 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c237944c

llvm-runtimes/openmp: Add 20.1.0_rc3

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

 llvm-runtimes/openmp/Manifest |  2 +
 llvm-runtimes/openmp/openmp-20.1.0_rc3.ebuild | 88 +++
 2 files changed, 90 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 297ef6494d32..a547b163d5fd 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -13,6 +13,8 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818bef
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 
6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3
 SHA512 
f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb
 DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B 
aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f
 SHA512 
e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce
+DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 
888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23
 SHA512 
9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c
+DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 
411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26
 SHA512 
53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8
 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 
BLAKE2B 
51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e
 SHA512 
a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b
 DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 
BLAKE2B 
28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d
 SHA512 
d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5
 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 
BLAKE2B 
c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86
 SHA512 
0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb

diff --git a/llvm-runtimes/openmp/openmp-20.1.0_rc3.ebuild 
b/llvm-runtimes/openmp/openmp-20.1.0_rc3.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.1.0_rc3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-25 Thread Michał Górny
commit: 8ea8bb91c4f3175da1033541d3f9a49fcdc9c0f6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 25 12:50:23 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 25 14:03:16 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea8bb91

llvm-runtimes/openmp: Add 21.0.0_pre20250225 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-21.0.0_pre20250225.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 5dd9a7b4dd4d..297ef6494d32 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -16,3 +16,4 @@ DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B 
aa91f7be228e51b0f2234bb5
 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 
BLAKE2B 
51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e
 SHA512 
a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b
 DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 
BLAKE2B 
28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d
 SHA512 
d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5
 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 
BLAKE2B 
c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86
 SHA512 
0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb
+DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 
BLAKE2B 
3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b
 SHA512 
135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250225.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250225.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-21.0.0_pre20250225.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 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}-cl

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-22 Thread Michał Górny
commit: 051d1100b5ce9268cbcebf3186b216c4a120878a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 22 15:10:11 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 22 15:19:18 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051d1100

llvm-runtimes/openmp: Add 21.0.0_pre20250221 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-21.0.0_pre20250221.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index d86731d4ace1..5dd9a7b4dd4d 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -14,4 +14,5 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf
 DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 
6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3
 SHA512 
f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb
 DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B 
aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f
 SHA512 
e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce
 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 
BLAKE2B 
51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e
 SHA512 
a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b
+DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 
BLAKE2B 
28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d
 SHA512 
d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5
 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 
BLAKE2B 
c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86
 SHA512 
0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250221.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250221.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-21.0.0_pre20250221.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 test && mycmakeargs+=(
+   # this project does

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-15 Thread Michał Górny
commit: 421d54936ded68b8039cd44936db6d39db4aecac
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 15 10:08:51 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 15 11:29:45 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=421d5493

llvm-runtimes/openmp: Add 21.0.0_pre20250215 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-21.0.0_pre20250215.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 8bc324cfdffb..d86731d4ace1 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -14,3 +14,4 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf
 DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 
6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3
 SHA512 
f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb
 DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B 
aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f
 SHA512 
e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce
 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 
BLAKE2B 
51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e
 SHA512 
a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b
+DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 
BLAKE2B 
c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86
 SHA512 
0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250215.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250215.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-21.0.0_pre20250215.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 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
+}
+
+mul

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-14 Thread Michał Górny
commit: cb94439e56790648b269b9940330f2c154c67325
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 15 07:17:50 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 15 07:17:50 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb94439e

llvm-runtimes/openmp: Remove old

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

 llvm-runtimes/openmp/Manifest  |  5 --
 .../openmp/openmp-20.0.0_pre20250125.ebuild| 88 --
 llvm-runtimes/openmp/openmp-20.1.0_rc1.ebuild  | 88 --
 .../openmp/openmp-21.0.0_pre20250201.ebuild| 88 --
 .../openmp/openmp-21.0.0_pre20250208.ebuild| 88 --
 5 files changed, 357 deletions(-)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 49fcd3df7ce6..8bc324cfdffb 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -11,11 +11,6 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B 
b99cd8a96e38dbcfb582ee5d22
 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e
 SHA512 
3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
-DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 
BLAKE2B 
642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed
 SHA512 
e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac
-DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B 
ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b
 SHA512 
c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4
-DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 
32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705
 SHA512 
d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c
 DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 
6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3
 SHA512 
f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb
 DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B 
aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f
 SHA512 
e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce
 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 
BLAKE2B 
51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e
 SHA512 
a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b
-DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 
BLAKE2B 
8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06
 SHA512 
2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077
-DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 
BLAKE2B 
165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476
 SHA512 
e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20250125.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20250125.ebuild
deleted file mode 100644
index 6a485191767b..
--- a/llvm-runtimes/openmp/openmp-20.0.0_pre20250125.ebuild

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-12 Thread Michał Górny
commit: c9b2d956fab24eecd4fddf3d9c063d3a2062f564
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 13 07:48:10 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 13 07:53:05 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9b2d956

llvm-runtimes/openmp: Add 20.1.0_rc2

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

 llvm-runtimes/openmp/Manifest |  2 +
 llvm-runtimes/openmp/openmp-20.1.0_rc2.ebuild | 88 +++
 2 files changed, 90 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 3518e37412d4..49fcd3df7ce6 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -14,6 +14,8 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf
 DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 
BLAKE2B 
642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed
 SHA512 
e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac
 DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B 
ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b
 SHA512 
c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4
 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 
32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705
 SHA512 
d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c
+DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 
6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3
 SHA512 
f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb
+DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B 
aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f
 SHA512 
e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce
 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 
BLAKE2B 
51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e
 SHA512 
a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b
 DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 
BLAKE2B 
8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06
 SHA512 
2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077
 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 
BLAKE2B 
165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476
 SHA512 
e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23

diff --git a/llvm-runtimes/openmp/openmp-20.1.0_rc2.ebuild 
b/llvm-runtimes/openmp/openmp-20.1.0_rc2.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.1.0_rc2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-11 Thread Michał Górny
commit: e258523bdfe4a18eb89df42ba750f50b32619a4b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 11 10:56:57 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 11 11:29:45 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e258523b

llvm-runtimes/openmp: Add 21.0.0_pre20250211 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-21.0.0_pre20250211.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 534ee3686b88..3518e37412d4 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -14,5 +14,6 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf
 DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 
BLAKE2B 
642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed
 SHA512 
e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac
 DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B 
ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b
 SHA512 
c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4
 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 
32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705
 SHA512 
d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c
+DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 
BLAKE2B 
51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e
 SHA512 
a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b
 DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 
BLAKE2B 
8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06
 SHA512 
2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077
 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 
BLAKE2B 
165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476
 SHA512 
e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250211.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250211.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-21.0.0_pre20250211.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+ 

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-08 Thread Michał Górny
commit: 27d633c73e9ec5a7924b200cbe0f633eacec3955
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  8 11:49:03 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  8 11:49:03 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d633c7

llvm-runtimes/openmp: Add 21.0.0_pre20250208 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-21.0.0_pre20250208.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index adc3b355f6f6..534ee3686b88 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -14,4 +14,5 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf
 DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 
BLAKE2B 
642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed
 SHA512 
e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac
 DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B 
ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b
 SHA512 
c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4
 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 
32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705
 SHA512 
d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c
+DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 
BLAKE2B 
8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06
 SHA512 
2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077
 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 
BLAKE2B 
165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476
 SHA512 
e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250208.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250208.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-21.0.0_pre20250208.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 test && mycmakeargs+=(
+   # this project does

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-07 Thread Arthur Zamarin
commit: 428dd2abd600a41fb91513cb5c4edbcfc7ef325d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  7 20:07:49 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  7 20:07:49 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=428dd2ab

llvm-runtimes/openmp: Stabilize 19.1.7 arm64, #946879

Signed-off-by: Arthur Zamarin  gentoo.org>

 llvm-runtimes/openmp/openmp-19.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm-runtimes/openmp/openmp-19.1.7.ebuild 
b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
index 20ecf4b4c10e..819e5c7d4472 100644
--- a/llvm-runtimes/openmp/openmp-19.1.7.ebuild
+++ b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openmp.llvm.org";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0/${LLVM_SOABI}"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
 IUSE="debug gdb-plugin hwloc ompt test"
 REQUIRED_USE="
gdb-plugin? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-07 Thread Arthur Zamarin
commit: 087b62c2188e074ae9aa024a0be82073e1f16ca4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  7 20:07:41 2025 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  7 20:07:41 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087b62c2

llvm-runtimes/openmp: Stabilize 19.1.7 amd64, #946879

Signed-off-by: Arthur Zamarin  gentoo.org>

 llvm-runtimes/openmp/openmp-19.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm-runtimes/openmp/openmp-19.1.7.ebuild 
b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
index 1ab42c36910f..20ecf4b4c10e 100644
--- a/llvm-runtimes/openmp/openmp-19.1.7.ebuild
+++ b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openmp.llvm.org";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0/${LLVM_SOABI}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
 IUSE="debug gdb-plugin hwloc ompt test"
 REQUIRED_USE="
gdb-plugin? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-02 Thread Michał Górny
commit: b63877203e9643270450b597d648742567ae211d
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb  2 15:58:57 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  2 18:25:13 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6387720

llvm-runtimes/openmp: Add 20.1.0_rc1

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

 llvm-runtimes/openmp/Manifest |  2 +
 llvm-runtimes/openmp/openmp-20.1.0_rc1.ebuild | 88 +++
 2 files changed, 90 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index e9eb07640f83..adc3b355f6f6 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -12,4 +12,6 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e2
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 
BLAKE2B 
642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed
 SHA512 
e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac
+DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B 
ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b
 SHA512 
c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4
+DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 
32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705
 SHA512 
d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c
 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 
BLAKE2B 
165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476
 SHA512 
e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23

diff --git a/llvm-runtimes/openmp/openmp-20.1.0_rc1.ebuild 
b/llvm-runtimes/openmp/openmp-20.1.0_rc1.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.1.0_rc1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # do not install libgomp.so & libiomp5.so alias

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-01 Thread Michał Górny
commit: 02d93f36fbab7172d7c5a48e37e318f8a3576e18
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  1 13:12:56 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  1 13:14:53 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d93f36

llvm-runtimes/openmp: Add 21.0.0_pre20250201 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-21.0.0_pre20250201.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 9bf1d6119610..e9eb07640f83 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -12,3 +12,4 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e2
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 
BLAKE2B 
642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed
 SHA512 
e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac
+DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 
BLAKE2B 
165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476
 SHA512 
e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23

diff --git a/llvm-runtimes/openmp/openmp-21.0.0_pre20250201.ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0_pre20250201.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-21.0.0_pre20250201.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 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_sr

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-02-01 Thread Michał Górny
commit: fa8826385f484b881a20e149859ddba1670bb308
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  1 07:59:23 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  1 08:05:52 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa882638

llvm-runtimes/openmp: main is now 21*

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

 .../openmp/{openmp-20.0.0..ebuild => openmp-21.0.0..ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm-runtimes/openmp/openmp-20.0.0..ebuild 
b/llvm-runtimes/openmp/openmp-21.0.0..ebuild
similarity index 98%
rename from llvm-runtimes/openmp/openmp-20.0.0..ebuild
rename to llvm-runtimes/openmp/openmp-21.0.0..ebuild
index ea3715dad3ed..6a485191767b 100644
--- a/llvm-runtimes/openmp/openmp-20.0.0..ebuild
+++ b/llvm-runtimes/openmp/openmp-21.0.0..ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-01-31 Thread Michał Górny
commit: ca6f0a67cd20cc3069dfca7c52784fa4cd419b21
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 31 19:51:22 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 31 21:50:43 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca6f0a67

llvm-runtimes/openmp: Remove old

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

 llvm-runtimes/openmp/Manifest  |  5 --
 llvm-runtimes/openmp/openmp-19.1.6.ebuild  | 89 --
 .../openmp/openmp-20.0.0_pre20250111.ebuild| 88 -
 .../openmp/openmp-20.0.0_pre20250118.ebuild| 88 -
 .../openmp/openmp-20.0.0_pre20250122.ebuild| 88 -
 5 files changed, 358 deletions(-)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 59e72665ede5..9bf1d6119610 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -9,11 +9,6 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffe
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
 DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B 
b99cd8a96e38dbcfb582ee5d2250268df36fb94fa0fd5b3611484094fbd7962051978334d2c623d2ff5a0209dbb2c6c6492be0146507ae982a7d3e9705a689c5
 SHA512 
a586f8a41dde5e0d9ca6d8c58e9ef2a2e59b70a86d2e2c46106dc31b5c096bb80af0cdbdb486179e9cc676a540099f49a1c2db9e5e84c50362db1f72e9af6906
 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e
 SHA512 
3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764
-DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B 
b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607
 SHA512 
d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3
-DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b
 SHA512 
8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 
BLAKE2B 
642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed
 SHA512 
e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac
-DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 
BLAKE2B 
36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a
 SHA512 
ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc
-DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 
BLAKE2B 
9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0
 SHA512 
466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7
-DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 
BLAKE2B 
ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f
 SHA512 
0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d

diff --git a/llvm-runtimes/openmp/openmp-19.1.6.ebuild 
b/llvm-runtimes/openmp/openmp-19.1.6.ebuild
deleted file mode 100644
index c82915160dbc..
--- a/llvm-runtimes/openmp/openmp-19.1.6.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2024 Ge

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-01-25 Thread Michał Górny
commit: 8826e435b25148e4dc2da6f86082340d23311d02
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 25 13:08:08 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 25 13:33:07 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8826e435

llvm-runtimes/openmp: Add 20.0.0_pre20250125 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-20.0.0_pre20250125.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 433c711c5d7a..59e72665ede5 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -13,6 +13,7 @@ DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B 
b35ab0c754f28c850ac6fd4ee5
 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b
 SHA512 
8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
+DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 
BLAKE2B 
642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed
 SHA512 
e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac
 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 
BLAKE2B 
36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a
 SHA512 
ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc
 DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 
BLAKE2B 
9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0
 SHA512 
466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7
 DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 
BLAKE2B 
ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f
 SHA512 
0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20250125.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20250125.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.0.0_pre20250125.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-01-22 Thread Michał Górny
commit: f84c691a94ae4fa0a3ae3e5ec240a941fab82a07
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 22 16:33:42 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 22 19:15:31 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f84c691a

llvm-runtimes/openmp: Add 20.0.0_pre20250122 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-20.0.0_pre20250122.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 0f7000d75ee0..433c711c5d7a 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -14,4 +14,5 @@ DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 
BLAKE2B 
36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a
 SHA512 
ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc
+DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 
BLAKE2B 
9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0
 SHA512 
466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7
 DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 
BLAKE2B 
ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f
 SHA512 
0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20250122.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20250122.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.0.0_pre20250122.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 test && mycmakeargs+=(
+   # this project does not use

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-01-18 Thread Michał Górny
commit: 8f4c6e8f277787fcae080f4a5464bf2e316a4cc3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 18 15:00:49 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 18 15:03:06 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4c6e8f

llvm-runtimes/openmp: Add 20.0.0_pre20250118 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-20.0.0_pre20250118.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index e680e35b1c89..0f7000d75ee0 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -14,3 +14,4 @@ DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 
BLAKE2B 
36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a
 SHA512 
ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc
+DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 
BLAKE2B 
ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f
 SHA512 
0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20250118.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20250118.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.0.0_pre20250118.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 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_sr

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-01-18 Thread Michał Górny
commit: 74bb458e94a402262c0f764fcdb1fcc220d7eefc
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 18 07:21:32 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 18 07:21:32 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74bb458e

llvm-runtimes/openmp: Remove old

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

 llvm-runtimes/openmp/Manifest  |  2 -
 .../openmp/openmp-20.0.0_pre20241227.ebuild| 88 --
 .../openmp/openmp-20.0.0_pre20250104.ebuild| 88 --
 3 files changed, 178 deletions(-)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index ded22ac7d5cd..e680e35b1c89 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -13,6 +13,4 @@ DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B 
b35ab0c754f28c850ac6fd4ee5
 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b
 SHA512 
8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
-DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 
BLAKE2B 
0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038
 SHA512 
a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69
 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 
BLAKE2B 
36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a
 SHA512 
ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc
-DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 
BLAKE2B 
6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3
 SHA512 
ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20241227.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20241227.ebuild
deleted file mode 100644
index ea3715dad3ed..
--- a/llvm-runtimes/openmp/openmp-20.0.0_pre20241227.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
-IUSE="+debug gdb-plugin hwloc ompt test"
-REQUIRED_USE="
-   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   gdb-plugin? ( ${PYTHON_DEPS} )
-   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
-"
-# tests:
-# - dev-python/lit provides the test runner
-# - llvm-core/llvm provide test utils (e.g. FileCheck)
-# - llvm-core/clang provides the compiler to run tests
-DEPEND="
-   ${RDEPEND}
-"
-BDEPEND="
-   dev-lang/perl
-   test? (
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/lit[${PYTHON_USEDEP}]
-   ')
-   llvm-core/clang
-   )
-"
-
-LLVM_COMPONENTS=( openmp cmake llvm/include )
-llvm.org_set_globals
-
-pkg_setup() {
-   if use gdb-plugin || use test; then
-   python-single-r1_pkg_setup
-   fi
-}
-
-multilib_src_configure() {
-   # LTO causes issues in other packages building, #870127
-   filter-lto
-
-   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
-   local libdir="$(get_libdir)"
-   local mycmakeargs=(
-   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
-
-   -DLIBOMP_USE_HWLOC=$(usex hwloc)
-   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_u

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-01-14 Thread Michał Górny
commit: 2c70c32217c8333960794f9c98cdee8bc4f82b94
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 14 20:01:39 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 15 04:24:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c70c322

llvm-runtimes/openmp: Add 19.1.7

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

 llvm-runtimes/openmp/Manifest |  2 +
 llvm-runtimes/openmp/openmp-19.1.7.ebuild | 89 +++
 2 files changed, 91 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 37c152ce48b3..ded22ac7d5cd 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -11,6 +11,8 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B 
b99cd8a96e38dbcfb582ee5d22
 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e
 SHA512 
3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764
 DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B 
b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607
 SHA512 
d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3
 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b
 SHA512 
8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
+DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 
1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d
 SHA512 
c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8
+DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 
4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd
 SHA512 
195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda
 DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 
BLAKE2B 
0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038
 SHA512 
a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69
 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 
BLAKE2B 
36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a
 SHA512 
ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc
 DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 
BLAKE2B 
6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3
 SHA512 
ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1

diff --git a/llvm-runtimes/openmp/openmp-19.1.7.ebuild 
b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
new file mode 100644
index ..cbd2a6293498
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-19.1.7.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux 
~x64-macos"
+IUSE="debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-01-11 Thread Michał Górny
commit: e1219b28fc692b4dc17527c48ed563f440593d4d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 11 18:01:50 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 11 18:12:03 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1219b28

llvm-runtimes/openmp: Add 20.0.0_pre20250111 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-20.0.0_pre20250111.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 60edc73f20fe..37c152ce48b3 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -12,4 +12,5 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e2
 DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B 
b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607
 SHA512 
d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3
 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b
 SHA512 
8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
 DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 
BLAKE2B 
0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038
 SHA512 
a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69
+DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 
BLAKE2B 
36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a
 SHA512 
ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc
 DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 
BLAKE2B 
6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3
 SHA512 
ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20250111.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20250111.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.0.0_pre20250111.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 test && mycmakeargs+=(
+   # this project does not use

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2025-01-04 Thread Michał Górny
commit: 83bbf286f38bf788a5beaa8bbe7c2dc39c09
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  4 15:07:53 2025 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  4 15:27:58 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83bbf286

llvm-runtimes/openmp: Add 20.0.0_pre20250104 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-20.0.0_pre20250104.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index ad580e309a5c..60edc73f20fe 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -11,4 +11,5 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B 
b99cd8a96e38dbcfb582ee5d22
 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e
 SHA512 
3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764
 DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B 
b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607
 SHA512 
d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3
 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b
 SHA512 
8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
+DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 
BLAKE2B 
0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038
 SHA512 
a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69
 DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 
BLAKE2B 
6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3
 SHA512 
ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20250104.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20250104.ebuild
new file mode 100644
index ..6a485191767b
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.0.0_pre20250104.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 test && mycmakeargs+=(
+   # this project does not use standard LLVM cmake macros
+

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2024-12-28 Thread Michał Górny
commit: ee9dd29cf98297eea9adc550bf4c199055e456b8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 28 19:33:06 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 28 19:33:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9dd29c

llvm-runtimes/openmp: Remove old

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

 llvm-runtimes/openmp/Manifest  |  5 --
 llvm-runtimes/openmp/openmp-19.1.5.ebuild  | 89 --
 .../openmp/openmp-20.0.0_pre20241207.ebuild| 88 -
 .../openmp/openmp-20.0.0_pre20241215.ebuild| 88 -
 .../openmp/openmp-20.0.0_pre20241221.ebuild| 88 -
 5 files changed, 358 deletions(-)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 21f1464678b6..ad580e309a5c 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -9,11 +9,6 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffe
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
 DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B 
b99cd8a96e38dbcfb582ee5d2250268df36fb94fa0fd5b3611484094fbd7962051978334d2c623d2ff5a0209dbb2c6c6492be0146507ae982a7d3e9705a689c5
 SHA512 
a586f8a41dde5e0d9ca6d8c58e9ef2a2e59b70a86d2e2c46106dc31b5c096bb80af0cdbdb486179e9cc676a540099f49a1c2db9e5e84c50362db1f72e9af6906
 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e
 SHA512 
3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764
-DIST llvm-project-19.1.5.src.tar.xz 141243716 BLAKE2B 
228fc66ab688abfc16f31b2cd83163b81ef61604ace21eab69a1776f0dc88cbe8fa831162205849e5be3975a214136399572b4ad1b908986e37b2d38a1a7fa5d
 SHA512 
648854e9c91fdcc5c677ce3800e046f2060b998a45cf9f7eebe02898431b3924f9348b6fc366102cd4fdda72dcb8f32076f98aa69927e0e20b3f1007fba10b22
-DIST llvm-project-19.1.5.src.tar.xz.sig 438 BLAKE2B 
1d40a5c5405f99ef86e3360f9ea153afd1ae4001697210fd799a988113e8a3cef39e2c4794edd9332f384d8490f4ce2ab6bee6d98f794f84775807f833b81c0a
 SHA512 
a438c86ce882eb1ac3e50842937068794ed162bb1b7ded68a2fe3ec2ab4f57cc38aee667cfb46afe6da22eef7ed1cb65820a473f63bd5a0dc6aad41df7bfad54
 DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B 
b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607
 SHA512 
d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3
 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b
 SHA512 
8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
-DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 
BLAKE2B 
fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd
 SHA512 
65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba
-DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 
BLAKE2B 
0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31
 SHA512 
45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a
-DIST llvm-project-665d79f2e967a5eee6fff93685e45f50cf24cab2.tar.gz 224186302 
BLAKE2B 
6d4a02b6cfaf53324161c43ed02024f0fea0e7de25a9150cc0168602d7dff3f618026fa8318aa6e03904a9424afa1f12c5eb33bfdfa82e72210f34e5829a7804
 SHA512 
7482e176b1e2389b0dd0e67271cdb0489e9db0595874408156a034b40d336ecd960c63b89c237ca22eee3650880b0f08a97de14f8a17c918245915d422e568c9
 DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 
BLAKE2B 
6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3
 SHA512 
ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1

diff --git a/llvm-runtimes/openmp/openmp-19.1.5.ebuild 
b/llvm-runtimes/openmp/openmp-19.1.5.ebuild
deleted file mode 100644
index c82915160dbc..
--- a/llvm-runtimes/openmp/openmp-19.1.5.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2024 Ge

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2024-12-27 Thread Michał Górny
commit: 3895889865fb5c6295057888402bf6cc8183902a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 27 20:37:50 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 27 21:25:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38958898

llvm-runtimes/openmp: Add 20.0.0_pre20241227 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-20.0.0_pre20241227.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index c3e5c0afb9fe..21f1464678b6 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -16,3 +16,4 @@ DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9
 DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 
BLAKE2B 
fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd
 SHA512 
65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba
 DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 
BLAKE2B 
0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31
 SHA512 
45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a
 DIST llvm-project-665d79f2e967a5eee6fff93685e45f50cf24cab2.tar.gz 224186302 
BLAKE2B 
6d4a02b6cfaf53324161c43ed02024f0fea0e7de25a9150cc0168602d7dff3f618026fa8318aa6e03904a9424afa1f12c5eb33bfdfa82e72210f34e5829a7804
 SHA512 
7482e176b1e2389b0dd0e67271cdb0489e9db0595874408156a034b40d336ecd960c63b89c237ca22eee3650880b0f08a97de14f8a17c918245915d422e568c9
+DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 
BLAKE2B 
6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3
 SHA512 
ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20241227.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20241227.ebuild
new file mode 100644
index ..ea3715dad3ed
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.0.0_pre20241227.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 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}-cl

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2024-12-21 Thread Michał Górny
commit: 8f9b9b15d2a1a2540d97edcfd30ee04acd495846
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 21 10:10:56 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 21 10:28:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f9b9b15

llvm-runtimes/openmp: Add 20.0.0_pre20241221 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-20.0.0_pre20241221.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 9184e025b246..c3e5c0afb9fe 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -15,3 +15,4 @@ DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B 
b35ab0c754f28c850ac6fd4ee5
 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b
 SHA512 
8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
 DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 
BLAKE2B 
fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd
 SHA512 
65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba
 DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 
BLAKE2B 
0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31
 SHA512 
45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a
+DIST llvm-project-665d79f2e967a5eee6fff93685e45f50cf24cab2.tar.gz 224186302 
BLAKE2B 
6d4a02b6cfaf53324161c43ed02024f0fea0e7de25a9150cc0168602d7dff3f618026fa8318aa6e03904a9424afa1f12c5eb33bfdfa82e72210f34e5829a7804
 SHA512 
7482e176b1e2389b0dd0e67271cdb0489e9db0595874408156a034b40d336ecd960c63b89c237ca22eee3650880b0f08a97de14f8a17c918245915d422e568c9

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20241221.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20241221.ebuild
new file mode 100644
index ..ea3715dad3ed
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.0.0_pre20241221.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 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_

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2024-12-17 Thread Michał Górny
commit: d920e22a2ed8eb977f0b78f6886641e20fbc4f2f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 17 21:34:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 17 21:37:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d920e22a

llvm-runtimes/openmp: Add 19.1.6

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

 llvm-runtimes/openmp/Manifest |  2 +
 llvm-runtimes/openmp/openmp-19.1.6.ebuild | 89 +++
 2 files changed, 91 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 562cdf9bcb79..9184e025b246 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -11,5 +11,7 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B 
b99cd8a96e38dbcfb582ee5d22
 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e
 SHA512 
3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764
 DIST llvm-project-19.1.5.src.tar.xz 141243716 BLAKE2B 
228fc66ab688abfc16f31b2cd83163b81ef61604ace21eab69a1776f0dc88cbe8fa831162205849e5be3975a214136399572b4ad1b908986e37b2d38a1a7fa5d
 SHA512 
648854e9c91fdcc5c677ce3800e046f2060b998a45cf9f7eebe02898431b3924f9348b6fc366102cd4fdda72dcb8f32076f98aa69927e0e20b3f1007fba10b22
 DIST llvm-project-19.1.5.src.tar.xz.sig 438 BLAKE2B 
1d40a5c5405f99ef86e3360f9ea153afd1ae4001697210fd799a988113e8a3cef39e2c4794edd9332f384d8490f4ce2ab6bee6d98f794f84775807f833b81c0a
 SHA512 
a438c86ce882eb1ac3e50842937068794ed162bb1b7ded68a2fe3ec2ab4f57cc38aee667cfb46afe6da22eef7ed1cb65820a473f63bd5a0dc6aad41df7bfad54
+DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B 
b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607
 SHA512 
d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3
+DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 
1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b
 SHA512 
8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4
 DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 
BLAKE2B 
fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd
 SHA512 
65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba
 DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 
BLAKE2B 
0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31
 SHA512 
45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a

diff --git a/llvm-runtimes/openmp/openmp-19.1.6.ebuild 
b/llvm-runtimes/openmp/openmp-19.1.6.ebuild
new file mode 100644
index ..c82915160dbc
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-19.1.6.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux 
~x64-macos"
+IUSE="debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLA

[gentoo-commits] repo/gentoo:master commit in: llvm-runtimes/openmp/

2024-12-15 Thread Michał Górny
commit: 9eaea7507c8ebca1cafb294a8a3c3357db0bd873
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 15 20:12:20 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 16 05:55:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eaea750

llvm-runtimes/openmp: Add 20.0.0_pre20241215 snapshot

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

 llvm-runtimes/openmp/Manifest  |  1 +
 .../openmp/openmp-20.0.0_pre20241215.ebuild| 88 ++
 2 files changed, 89 insertions(+)

diff --git a/llvm-runtimes/openmp/Manifest b/llvm-runtimes/openmp/Manifest
index 3af2a5350e05..562cdf9bcb79 100644
--- a/llvm-runtimes/openmp/Manifest
+++ b/llvm-runtimes/openmp/Manifest
@@ -12,3 +12,4 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B 
b0925bdb761046d69779e0b035e2
 DIST llvm-project-19.1.5.src.tar.xz 141243716 BLAKE2B 
228fc66ab688abfc16f31b2cd83163b81ef61604ace21eab69a1776f0dc88cbe8fa831162205849e5be3975a214136399572b4ad1b908986e37b2d38a1a7fa5d
 SHA512 
648854e9c91fdcc5c677ce3800e046f2060b998a45cf9f7eebe02898431b3924f9348b6fc366102cd4fdda72dcb8f32076f98aa69927e0e20b3f1007fba10b22
 DIST llvm-project-19.1.5.src.tar.xz.sig 438 BLAKE2B 
1d40a5c5405f99ef86e3360f9ea153afd1ae4001697210fd799a988113e8a3cef39e2c4794edd9332f384d8490f4ce2ab6bee6d98f794f84775807f833b81c0a
 SHA512 
a438c86ce882eb1ac3e50842937068794ed162bb1b7ded68a2fe3ec2ab4f57cc38aee667cfb46afe6da22eef7ed1cb65820a473f63bd5a0dc6aad41df7bfad54
 DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 
BLAKE2B 
fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd
 SHA512 
65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba
+DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 
BLAKE2B 
0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31
 SHA512 
45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a

diff --git a/llvm-runtimes/openmp/openmp-20.0.0_pre20241215.ebuild 
b/llvm-runtimes/openmp/openmp-20.0.0_pre20241215.ebuild
new file mode 100644
index ..ea3715dad3ed
--- /dev/null
+++ b/llvm-runtimes/openmp/openmp-20.0.0_pre20241215.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic cmake-multilib linux-info llvm.org python-single-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/${LLVM_SOABI}"
+IUSE="+debug gdb-plugin hwloc ompt test"
+REQUIRED_USE="
+   gdb-plugin? ( ${PYTHON_REQUIRED_USE} )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   gdb-plugin? ( ${PYTHON_DEPS} )
+   hwloc? ( >=sys-apps/hwloc-2.5:0=[${MULTILIB_USEDEP}] )
+"
+# tests:
+# - dev-python/lit provides the test runner
+# - llvm-core/llvm provide test utils (e.g. FileCheck)
+# - llvm-core/clang provides the compiler to run tests
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-lang/perl
+   test? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/lit[${PYTHON_USEDEP}]
+   ')
+   llvm-core/clang
+   )
+"
+
+LLVM_COMPONENTS=( openmp cmake llvm/include )
+llvm.org_set_globals
+
+pkg_setup() {
+   if use gdb-plugin || use test; then
+   python-single-r1_pkg_setup
+   fi
+}
+
+multilib_src_configure() {
+   # LTO causes issues in other packages building, #870127
+   filter-lto
+
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   local libdir="$(get_libdir)"
+   local mycmakeargs=(
+   -DOPENMP_LIBDIR_SUFFIX="${libdir#lib}"
+
+   -DLIBOMP_USE_HWLOC=$(usex hwloc)
+   -DLIBOMP_OMPD_GDB_SUPPORT=$(multilib_native_usex gdb-plugin)
+   -DLIBOMP_OMPT_SUPPORT=$(usex ompt)
+
+   # 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 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_sr