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

2024-09-17 Thread Michał Górny
commit: 062ef9507e58dd49e6fc584d100ac7e5b55f0d7e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 17 09:56:55 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 17 12:12:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=062ef950

sys-libs/llvm-libunwind: Add 20.0.0_pre20240917 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-20.0.0_pre20240917.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index f76a426aa2cc..da671e73c02c 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,5 +8,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.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
+DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 
BLAKE2B 
9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02
 SHA512 
eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7
 DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 
BLAKE2B 
7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c
 SHA512 
8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240917.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240917.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240917.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where

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

2024-09-10 Thread Michał Górny
commit: edaefa5ae13dffdd053d93402cc988d0ee3cbd19
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 10 11:45:29 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 10 12:58:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edaefa5a

sys-libs/llvm-libunwind: Add 20.0.0_pre20240910 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-20.0.0_pre20240910.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index a1930a7c39a5..f76a426aa2cc 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b8577
 DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7
+DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 
BLAKE2B 
7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c
 SHA512 
8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240910.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240910.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240910.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNW

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

2024-09-10 Thread Michał Górny
commit: 6384d69c894ea367c8d011ea4fa7a901077e91d6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 10 07:08:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 10 07:08:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6384d69c

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   3 -
 .../llvm-libunwind-19.1.0_rc3.ebuild   | 128 -
 .../llvm-libunwind-20.0.0_pre20240822.ebuild   | 128 -
 3 files changed, 259 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index a680a4fa2609..a1930a7c39a5 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,9 +6,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
-DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
-DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc3.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc3.ebuild
deleted file mode 100644
index e4c76c15ebc8..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc3.ebuild
+++ /dev/null
@@ -1,128 +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 cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_g

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

2024-09-03 Thread Michał Górny
commit: 7c0a60ac012eb1575aeefb6e55efdae36025fcf6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  3 19:41:48 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  3 19:44:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c0a60ac

sys-libs/llvm-libunwind: Add 19.1.0_rc4

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-19.1.0_rc4.ebuild   | 128 +
 2 files changed, 130 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index e02d1f532095..a680a4fa2609 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,5 +8,7 @@ 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.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
+DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
+DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc4.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc4.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc4.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+

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

2024-08-31 Thread Michał Górny
commit: eef358f8755253da119849dc61161e60338b559a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 31 08:29:40 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 31 08:32:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef358f8

sys-libs/llvm-libunwind: Add 20.0.0_pre20240830 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-20.0.0_pre20240830.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index f98bf2d3492a..e02d1f532095 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b8577
 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
+DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240830.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240830.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240830.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNW

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

2024-08-27 Thread Michał Górny
commit: b75ca5f8d1e5dbf65153096b26558558c8b6fd61
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 27 13:16:48 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 27 13:16:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b75ca5f8

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind-19.1.0_rc2.ebuild   | 128 -
 .../llvm-libunwind-20.0.0_pre20240808.ebuild   | 128 -
 .../llvm-libunwind-20.0.0_pre20240815.ebuild   | 128 -
 4 files changed, 388 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index b2c074c06376..f98bf2d3492a 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,10 +6,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
-DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
-DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
-DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc2.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc2.ebuild
deleted file mode 100644
index e4c76c15ebc8..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc2.ebuild
+++ /dev/null
@@ -1,128 +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 cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apach

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

2024-08-22 Thread Michał Górny
commit: 2f94b6eaa5d77ac90c2f05d39b8f821bab2cc5c1
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 22 11:16:21 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 22 11:23:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f94b6ea

sys-libs/llvm-libunwind: Add 20.0.0_pre20240822 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-20.0.0_pre20240822.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index b26d3b2910dd..b2c074c06376 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -10,5 +10,6 @@ DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
+DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
 DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240822.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240822.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240822.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436)

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

2024-08-20 Thread Michał Górny
commit: 5e4b1dbd915d93812f225a405984715600cce8c3
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 20 14:51:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 20 15:40:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e4b1dbd

sys-libs/llvm-libunwind: Add 19.1.0_rc3

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-19.1.0_rc3.ebuild   | 128 +
 2 files changed, 130 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 199e0e69f022..b26d3b2910dd 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,5 +8,7 @@ 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.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
+DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc3.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc3.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc3.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+

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

2024-08-15 Thread Michał Górny
commit: 294c5cc23b55066bf8c56f4ab92d8a7bcc960e01
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 15 19:16:42 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 15 20:01:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=294c5cc2

sys-libs/llvm-libunwind: Add 20.0.0_pre20240815 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-20.0.0_pre20240815.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index e96e91af93d0..199e0e69f022 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,4 +8,5 @@ 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.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240815.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240815.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240815.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || appen

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

2024-08-08 Thread Michał Górny
commit: eccd039952e2986ac1c64f22635b0d12ac2039a3
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  8 19:00:14 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  8 19:26:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eccd0399

sys-libs/llvm-libunwind: Add 20.0.0_pre20240808 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-20.0.0_pre20240808.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 0f284eff910c..04df8178ee73 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -11,3 +11,4 @@ DIST llvm-project-19.1.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e57
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
 DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240808.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240808.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240808.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENABLE_ASSERTIONS=$(use

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

2024-08-05 Thread Michał Górny
commit: d896f358a7b9260be9fafabe4709d67757bf6905
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug  5 18:22:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug  5 18:22:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d896f358

sys-libs/llvm-libunwind: Add 19.1.0_rc2

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-19.1.0_rc2.ebuild   | 128 +
 2 files changed, 130 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 279925324291..0f284eff910c 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,3 +9,5 @@ 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.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
+DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
+DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc2.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc2.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc2.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${

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

2024-08-01 Thread Michał Górny
commit: e418739db1de785fcc15ae1ae7558182a5d3a993
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  1 19:31:50 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  1 20:20:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e418739d

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   1 -
 .../llvm-libunwind-19.0.0_pre20240720.ebuild   | 128 -
 2 files changed, 129 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 10d69b98acd6..279925324291 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,4 +9,3 @@ 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.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
-DIST llvm-project-72d8c2737bb557af9d0c735b9fa30b1b03485627.tar.gz 217324958 
BLAKE2B 
d43c161ac98860e2ce03e7e2474c55766e7496200b090ebb1cb6dcf0c2ad3a32bae76249feca53cd8b56c63806a740c280e6306890cd28429c4a7e84cae5eada
 SHA512 
af3b44ec3f96d636d919906cf20547eb91d0a83d07731c9db38f28311a52011d8ec66833422fad9bb89ca9ac546e308b02015a7b365086341bee1f3de1b6c5e2

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240720.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240720.ebuild
deleted file mode 100644
index e4c76c15ebc8..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240720.ebuild
+++ /dev/null
@@ -1,128 +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 cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   )
-"
-
-LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
-LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-multilib_src_configure() {
-   llvm_prepend_path "${LLVM_MAJOR}"
-
-   local libdir=$(get_libdir)
-
-   # https://github.com/llvm/llvm-project/issues/56825
-   # also separately bug #863917
-   filter-lto
-
-   if use clang; then
-   local -x CC=${CHOST}-clang
-   local -x CXX=${CHOST}-clang++
-   strip-unsupported-flags
-   fi
-
-   # link to compiler-rt
-   # https://github.com/gentoo/gentoo/pull/21516
-   local use_compiler_rt=OFF
-   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
-
-   # Respect upstream build type assumptions (bug #910436) where they do:
-   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
-   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
-   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
-   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
-   #   -UNDEBUG
-   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
-   use debug || append-cppflags -DNDEBUG
-
-   local mycmakeargs=(
-   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
-   -DPython3_EXECUTABLE="${PYTHON}"
-   -DLLVM_ENABLE_RUNTIMES="libunwind"
-   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-   -DLLVM_INCLUDE_TESTS=OFF
-   -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
-  

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

2024-08-01 Thread Michał Górny
commit: 303b6827301bd049af2fea4287ddf739838c32d2
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  1 19:30:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  1 20:20:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=303b6827

sys-libs/llvm-libunwind: Add 20.0.0_pre20240801 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-20.0.0_pre20240801.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index b5bb67f8290a..10d69b98acd6 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -1,3 +1,4 @@
+DIST llvm-project-130c135689ec12ab78c53645808524a8d28f7cae.tar.gz 217788932 
BLAKE2B 
9ba8ad82597780f24e750272f9439d1e8d464813a607efec4920a13473103975bc181506dcc15c76a6e4ca83622284b77a7903e36aff6145719529630121cf0b
 SHA512 
d9c67155f462e53968ec448e325b35a80c0d207039dd7155568fa366aa1894bc8dfaa2d5c03a67320bdefb1934720a1d23bc4b972c9fae3ff09c7a79d885c53d
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240801.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240801.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0_pre20240801.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
+   -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
+   -DLIBUN

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

2024-07-27 Thread Michał Górny
commit: fa534629bfb5e038fdaf7233ed338349546482c3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 27 07:21:40 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 27 07:21:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa534629

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   2 -
 .../llvm-libunwind-19.0.0..ebuild  | 128 -
 .../llvm-libunwind-19.0.0_pre20240706.ebuild   | 128 -
 .../llvm-libunwind-19.0.0_pre20240712.ebuild   | 128 -
 4 files changed, 386 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 9d4768eb026c..b5bb67f8290a 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -1,4 +1,3 @@
-DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 
BLAKE2B 
ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4
 SHA512 
a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051edcc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
@@ -9,5 +8,4 @@ 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.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
-DIST llvm-project-1bad7024561bc64ed4bfda0772b16376b475eba5.tar.gz 216657623 
BLAKE2B 
99c48a95c427e8fae5568e5f59ab9bec8b2d8bec0c5d3cf453c261a738fe1c295b34e2e10e6b08d2b02cae43e3b0cd4c8eb025d19a83ee51f47a49afadd56d3f
 SHA512 
08fc904122ab346edbfc3903cafae4f50ba57e146b2d821a568f8378c0f3ab4d413e07c5df2bf061374f9db4634b5f6b27f204fc4f2f68984303ceec9c963c0c
 DIST llvm-project-72d8c2737bb557af9d0c735b9fa30b1b03485627.tar.gz 217324958 
BLAKE2B 
d43c161ac98860e2ce03e7e2474c55766e7496200b090ebb1cb6dcf0c2ad3a32bae76249feca53cd8b56c63806a740c280e6306890cd28429c4a7e84cae5eada
 SHA512 
af3b44ec3f96d636d919906cf20547eb91d0a83d07731c9db38f28311a52011d8ec66833422fad9bb89ca9ac546e308b02015a7b365086341bee1f3de1b6c5e2

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
deleted file mode 100644
index e4c76c15ebc8..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
+++ /dev/null
@@ -1,128 +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 cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:

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

2024-07-27 Thread Michał Górny
commit: a6d0115199becbcd464f5e99b93067178aca5b5d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 27 07:20:42 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 27 07:20:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d01151

sys-libs/llvm-libunwind: Add 19.1.0_rc1

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-19.1.0_rc1.ebuild   | 128 +
 2 files changed, 130 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 696909e4b68c..9d4768eb026c 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,5 +7,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
+DIST llvm-project-19.1.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
+DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
 DIST llvm-project-1bad7024561bc64ed4bfda0772b16376b475eba5.tar.gz 216657623 
BLAKE2B 
99c48a95c427e8fae5568e5f59ab9bec8b2d8bec0c5d3cf453c261a738fe1c295b34e2e10e6b08d2b02cae43e3b0cd4c8eb025d19a83ee51f47a49afadd56d3f
 SHA512 
08fc904122ab346edbfc3903cafae4f50ba57e146b2d821a568f8378c0f3ab4d413e07c5df2bf061374f9db4634b5f6b27f204fc4f2f68984303ceec9c963c0c
 DIST llvm-project-72d8c2737bb557af9d0c735b9fa30b1b03485627.tar.gz 217324958 
BLAKE2B 
d43c161ac98860e2ce03e7e2474c55766e7496200b090ebb1cb6dcf0c2ad3a32bae76249feca53cd8b56c63806a740c280e6306890cd28429c4a7e84cae5eada
 SHA512 
af3b44ec3f96d636d919906cf20547eb91d0a83d07731c9db38f28311a52011d8ec66833422fad9bb89ca9ac546e308b02015a7b365086341bee1f3de1b6c5e2

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc1.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc1.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.1.0_rc1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   #

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

2024-07-23 Thread Sam James
commit: 148fc95b01fc449d8dbfc5b0fe083ce359e411f0
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 14:10:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 14:10:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148fc95b

sys-libs/llvm-libunwind: Stabilize 18.1.8 sparc, #935984

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
index 02d0b8fd5b4d..aaa6c07084dc 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv sparc x86 
~arm64-macos ~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-07-23 Thread Michał Górny
commit: 7ae755ab6f79380d5564ed7b30922807f6c57da0
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 23 14:00:50 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 23 14:07:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae755ab

sys-libs/llvm-libunwind: Add 20.x live ebuilds

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

 .../llvm-libunwind-20.0.0..ebuild  | 128 +
 1 file changed, 128 insertions(+)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0..ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-20.0.0..ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
+   -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
+   -DLIBUNWIND_INCLUDE_TESTS=$(usex test)
+   -DLIBUNWIND_INSTALL_HEADERS=ON
+
+   # support non-native unwinding; given it's small enough,
+   # enable it unconditionally
+   -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON
+
+   # avoid dependency on libgcc_s if compiler-rt is used
+   -DLIBUNWIND_USE_COMPILER_RT=${use_compiler_rt}
+   )
+   if use test; then
+   mycmakeargs+=(
+   -DLLVM_ENABLE_RUNTIMES="libunwind;libcxxabi;libcxx"
+   -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+   -DLLVM_LIT_ARGS="$(get_lit_flags)"
+   -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
+
+   -DLIBCXXABI_LIBDIR_SUFFIX=
+   -DLIBCXXABI_ENABLE_SHARED=OFF
+   -DLIBCXXABI_ENABLE_STATIC=ON
+   -DLIBCXXABI_USE_LLVM_UNWINDER=ON
+   -DLIBCXXABI_INCLUDE_TESTS=OFF
+
+   -DLIBCXX_LIBDIR_SUFFIX=
+   -DLIBCXX_ENABLE_SHARED=OFF
+   -DLIBCXX_ENABLE_STATIC=ON
+   -DLIBCXX_CXX_ABI=libcxxabi
+   -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
+   -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
+   -DLIBCXX_HAS_GCC_S_LIB=OFF
+   -DLIBCXX_INCLUDE_TESTS=OFF
+   -DLIBCXX_INCLUDE_BENCHMARKS=OFF
+   )
+   fi
+
+   cmake_src_configure
+}
+
+multilib_src_test() {
+   local -x LIT_PRESERVES_TMP=1
+   cmake_build 

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

2024-07-23 Thread Sam James
commit: 3e678686dc3bad5852cdff115b5f942f621c91e2
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:57:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:57:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e678686

sys-libs/llvm-libunwind: Stabilize 18.1.8 x86, #935984

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
index e14ecd555dd5..02d0b8fd5b4d 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86 
~arm64-macos ~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-07-23 Thread Sam James
commit: 9a7286661f897f77eabf084b5bbac448510b953d
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:56:33 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:56:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a728666

sys-libs/llvm-libunwind: Stabilize 18.1.8 ppc64, #935984

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
index 4671a7e7bf20..e14ecd555dd5 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-07-23 Thread Sam James
commit: 16cb6560a57b7c8c1a2129c41d5b5148c986d24b
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:34:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:34:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16cb6560

sys-libs/llvm-libunwind: Stabilize 18.1.8 arm, #935984

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
index ca8c8542c70d..4671a7e7bf20 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-07-23 Thread Sam James
commit: a8be59c4ef75c5cbf3936ee32ff0af8af4c62039
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:34:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:34:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8be59c4

sys-libs/llvm-libunwind: Stabilize 18.1.8 arm64, #935984

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
index 19671cd9d1ac..ca8c8542c70d 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-07-23 Thread Sam James
commit: 93229cf98d5cac6fb017ce119087c85347fcc695
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 12:23:54 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 12:23:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93229cf9

sys-libs/llvm-libunwind: Stabilize 18.1.8 amd64, #935984

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
index b6a7c9822310..19671cd9d1ac 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-07-20 Thread Michał Górny
commit: c380a68407a84499cfcfc58416cf1d21a0233358
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 20 11:33:15 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 20 13:27:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c380a684

sys-libs/llvm-libunwind: Add 19.0.0_pre20240720 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240720.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index da1a21ae2420..696909e4b68c 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
 DIST llvm-project-1bad7024561bc64ed4bfda0772b16376b475eba5.tar.gz 216657623 
BLAKE2B 
99c48a95c427e8fae5568e5f59ab9bec8b2d8bec0c5d3cf453c261a738fe1c295b34e2e10e6b08d2b02cae43e3b0cd4c8eb025d19a83ee51f47a49afadd56d3f
 SHA512 
08fc904122ab346edbfc3903cafae4f50ba57e146b2d821a568f8378c0f3ab4d413e07c5df2bf061374f9db4634b5f6b27f204fc4f2f68984303ceec9c963c0c
+DIST llvm-project-72d8c2737bb557af9d0c735b9fa30b1b03485627.tar.gz 217324958 
BLAKE2B 
d43c161ac98860e2ce03e7e2474c55766e7496200b090ebb1cb6dcf0c2ad3a32bae76249feca53cd8b56c63806a740c280e6306890cd28429c4a7e84cae5eada
 SHA512 
af3b44ec3f96d636d919906cf20547eb91d0a83d07731c9db38f28311a52011d8ec66833422fad9bb89ca9ac546e308b02015a7b365086341bee1f3de1b6c5e2

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240720.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240720.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240720.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENAB

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

2024-07-13 Thread Michał Górny
commit: a8628cb8b9d47e34d84afd97bce22c08c4baeb64
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 13 12:55:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 13 14:14:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8628cb8

sys-libs/llvm-libunwind: Add 19.0.0_pre20240712 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240712.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 19cd7967846b..da1a21ae2420 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
+DIST llvm-project-1bad7024561bc64ed4bfda0772b16376b475eba5.tar.gz 216657623 
BLAKE2B 
99c48a95c427e8fae5568e5f59ab9bec8b2d8bec0c5d3cf453c261a738fe1c295b34e2e10e6b08d2b02cae43e3b0cd4c8eb025d19a83ee51f47a49afadd56d3f
 SHA512 
08fc904122ab346edbfc3903cafae4f50ba57e146b2d821a568f8378c0f3ab4d413e07c5df2bf061374f9db4634b5f6b27f204fc4f2f68984303ceec9c963c0c

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240712.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240712.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240712.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
+

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

2024-07-13 Thread Michał Górny
commit: 348cfbec9f3b4b5515c10d968301693ddd0e8963
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 13 04:47:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 13 07:45:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=348cfbec

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   2 -
 .../llvm-libunwind-19.0.0_pre20240623.ebuild   | 128 -
 .../llvm-libunwind-19.0.0_pre20240630.ebuild   | 128 -
 3 files changed, 258 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index d8983bfac4e7..19cd7967846b 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -1,4 +1,3 @@
-DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 
BLAKE2B 
ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0
 SHA512 
7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4
 DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 
BLAKE2B 
ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4
 SHA512 
a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051edcc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
@@ -8,4 +7,3 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-3ae6755719c6dfc07761b4e9bdac8c86bcb41734.tar.gz 213487323 
BLAKE2B 
12030750fca0e7db4ae07a608874877151b2393cf58388f067b469e913ce9ac3f264440ebb3df5ea33f9f97cb87928fa746c98ba26c8d296f9e26dcbf950afc2
 SHA512 
951b70eafc8aea5b1f7847002229d89df565ca8180deef08b25966dcf070a7603a258e5fc24f9496251d23d275040724ed5e9499432ba3e19f5984f6f1c3c645

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240623.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240623.ebuild
deleted file mode 100644
index e4c76c15ebc8..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240623.ebuild
+++ /dev/null
@@ -1,128 +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 cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   )
-"
-
-LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
-LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   

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

2024-07-06 Thread Michał Górny
commit: 25789d49b0bdccb6a390aee63e7eb85a11842578
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  6 10:46:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 11:19:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25789d49

sys-libs/llvm-libunwind: Add 19.0.0_pre20240706 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240706.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 190a94518940..d8983bfac4e7 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -1,4 +1,5 @@
 DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 
BLAKE2B 
ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0
 SHA512 
7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4
+DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 
BLAKE2B 
ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4
 SHA512 
a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051edcc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240706.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240706.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240706.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_T

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

2024-06-26 Thread Michał Górny
commit: 0b9a87daceace216150e546ce8b5a8b77b264279
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 27 01:36:14 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 27 01:36:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b9a87da

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind/llvm-libunwind-18.1.7.ebuild| 129 -
 .../llvm-libunwind-19.0.0_pre20240608.ebuild   | 128 
 .../llvm-libunwind-19.0.0_pre20240615.ebuild   | 128 
 4 files changed, 389 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index c7e5f668b075..438399ced46d 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,10 +4,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B 
b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02
 SHA512 
0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8
-DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 
9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3
 SHA512 
7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
 DIST llvm-project-3ae6755719c6dfc07761b4e9bdac8c86bcb41734.tar.gz 213487323 
BLAKE2B 
12030750fca0e7db4ae07a608874877151b2393cf58388f067b469e913ce9ac3f264440ebb3df5ea33f9f97cb87928fa746c98ba26c8d296f9e26dcbf950afc2
 SHA512 
951b70eafc8aea5b1f7847002229d89df565ca8180deef08b25966dcf070a7603a258e5fc24f9496251d23d275040724ed5e9499432ba3e19f5984f6f1c3c645
-DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 
BLAKE2B 
78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26
 SHA512 
104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841
-DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 
BLAKE2B 
5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee
 SHA512 
69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.7.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.7.ebuild
deleted file mode 100644
index b6a7c9822310..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.7.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || 

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

2024-06-24 Thread Michał Górny
commit: 3cb0b66a3b3a0a5f44d310507a8b2310a7c639d6
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 24 13:27:49 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 24 13:27:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb0b66a

sys-libs/llvm-libunwind: Add 18.1.8

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-18.1.8.ebuild| 129 +
 2 files changed, 131 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index fed5022f64a4..c7e5f668b075 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,6 +6,8 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B 
b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02
 SHA512 
0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8
 DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 
9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3
 SHA512 
7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c
+DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
+DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
 DIST llvm-project-3ae6755719c6dfc07761b4e9bdac8c86bcb41734.tar.gz 213487323 
BLAKE2B 
12030750fca0e7db4ae07a608874877151b2393cf58388f067b469e913ce9ac3f264440ebb3df5ea33f9f97cb87928fa746c98ba26c8d296f9e26dcbf950afc2
 SHA512 
951b70eafc8aea5b1f7847002229d89df565ca8180deef08b25966dcf070a7603a258e5fc24f9496251d23d275040724ed5e9499432ba3e19f5984f6f1c3c645
 DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 
BLAKE2B 
78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26
 SHA512 
104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841
 DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 
BLAKE2B 
5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee
 SHA512 
69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
new file mode 100644
index ..b6a7c9822310
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.8.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[$

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

2024-06-23 Thread Michał Górny
commit: e306b91e76dd6c7924cced5161bff19323996e3b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 23 16:27:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 23 17:32:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e306b91e

sys-libs/llvm-libunwind: Add 19.0.0_pre20240623 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240623.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 0a3ba6606f4d..fed5022f64a4 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,5 +6,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B 
b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02
 SHA512 
0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8
 DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 
9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3
 SHA512 
7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c
+DIST llvm-project-3ae6755719c6dfc07761b4e9bdac8c86bcb41734.tar.gz 213487323 
BLAKE2B 
12030750fca0e7db4ae07a608874877151b2393cf58388f067b469e913ce9ac3f264440ebb3df5ea33f9f97cb87928fa746c98ba26c8d296f9e26dcbf950afc2
 SHA512 
951b70eafc8aea5b1f7847002229d89df565ca8180deef08b25966dcf070a7603a258e5fc24f9496251d23d275040724ed5e9499432ba3e19f5984f6f1c3c645
 DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 
BLAKE2B 
78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26
 SHA512 
104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841
 DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 
BLAKE2B 
5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee
 SHA512 
69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240623.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240623.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240623.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do

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

2024-06-15 Thread Michał Górny
commit: fbd1dde2eb9f0cf1eebae42c5832bd142429d419
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 15 10:17:16 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 15 11:01:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbd1dde2

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind/llvm-libunwind-18.1.6.ebuild| 129 -
 .../llvm-libunwind-19.0.0_pre20240518.ebuild   | 128 
 .../llvm-libunwind-19.0.0_pre20240525.ebuild   | 128 
 4 files changed, 389 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index b719eb13d069..0a3ba6606f4d 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,11 +4,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.6.src.tar.xz 132064976 BLAKE2B 
d38d8026068de371dc4bc288c68c8e441a126cf8e89e55a965f3b9e3a629a37d5743fd7859a60bedaddf27ff2da1e0f08c81806871ef542cb7c3f40b23b22cf5
 SHA512 
89ec276aa41bb2d76cfc3a72d8e728a9ce9176e02c085338b704790524fe329904cf311381805814faa8a6c79637620c01627bf122a51f89e0f3adb47e5df34c
-DIST llvm-project-18.1.6.src.tar.xz.sig 566 BLAKE2B 
4b4a1ec2f084b0728134b9c04775db5938e571f1d7c7aa45b985bed490dcfd2cceab2069a43d4ce7766faec703310a376b83565af317e5f60bf10bc06a732395
 SHA512 
fbae037d39f4f1c13babafd42dee719f3d79f0e2142cc319f59fb319361a1db8ce65fa736a0e2a5e702ac49e3b8323374be6cfa1003f96b0887fa1894e2b6dee
 DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B 
b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02
 SHA512 
0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8
 DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 
9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3
 SHA512 
7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c
 DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 
BLAKE2B 
78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26
 SHA512 
104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841
-DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 
BLAKE2B 
b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479
 SHA512 
b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7
-DIST llvm-project-7dc2f6602212bf0a0433c157b70e4fc0d70bb730.tar.gz 211903416 
BLAKE2B 
4a2f12e0aa234d507d2fc2136a1d98a7624147ce6e401831743e640abcaceb5152c80ba2dc312f9256e4a04be2ad065d1a57dbe5dc24f2d3edc9d65888986710
 SHA512 
c9eb99f666fc15b29f01a1b2a4b3c6edd3a726033533111e60763c6313a4af8c9dba3396856d6650ac5e666d00941efcc944fac85a4483748bbbea9475e6daf8
 DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 
BLAKE2B 
5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee
 SHA512 
69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.6.ebuild
deleted file mode 100644
index b6a7c9822310..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.6.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed un

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

2024-06-15 Thread Michał Górny
commit: 808fcd8c10695954456f3632ef3aaa9f10744fa9
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 15 10:16:24 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 15 11:01:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=808fcd8c

sys-libs/llvm-libunwind: Add 19.0.0_pre20240615 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240615.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 208843d5bdb6..b719eb13d069 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -11,3 +11,4 @@ DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 
9ae6d80eba5309ce3d5cba580df5
 DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 
BLAKE2B 
78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26
 SHA512 
104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841
 DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 
BLAKE2B 
b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479
 SHA512 
b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7
 DIST llvm-project-7dc2f6602212bf0a0433c157b70e4fc0d70bb730.tar.gz 211903416 
BLAKE2B 
4a2f12e0aa234d507d2fc2136a1d98a7624147ce6e401831743e640abcaceb5152c80ba2dc312f9256e4a04be2ad065d1a57dbe5dc24f2d3edc9d65888986710
 SHA512 
c9eb99f666fc15b29f01a1b2a4b3c6edd3a726033533111e60763c6313a4af8c9dba3396856d6650ac5e666d00941efcc944fac85a4483748bbbea9475e6daf8
+DIST llvm-project-cddb9ce04e68d876de895d39d60b6af34d569012.tar.gz 213219536 
BLAKE2B 
5aba2c1dd19d73a8691590873f1697fa32adeab7f84d1d5636e211071e64bfa5d28a49ea9cfdba5fbae77c9520c2103a9f1544d669c7948a318636557f45f6ee
 SHA512 
69ed25a0565c61cd4eb512e95b0fd2d2a3a09dbad73e7186d7fb1764193b06e522572eafb271d21469a4bfb133a62efe65e5ccd20cf05af8b43c52e195d477a9

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240615.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240615.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240615.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+  

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

2024-06-08 Thread Michał Górny
commit: b00a2b546ad7b539ab04377585d73f73f0bfa5ab
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun  8 10:25:11 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  8 10:28:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b00a2b54

sys-libs/llvm-libunwind: Add 19.0.0_pre20240608 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240608.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 3e746077c534..208843d5bdb6 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,5 +8,6 @@ DIST llvm-project-18.1.6.src.tar.xz 132064976 BLAKE2B 
d38d8026068de371dc4bc288c6
 DIST llvm-project-18.1.6.src.tar.xz.sig 566 BLAKE2B 
4b4a1ec2f084b0728134b9c04775db5938e571f1d7c7aa45b985bed490dcfd2cceab2069a43d4ce7766faec703310a376b83565af317e5f60bf10bc06a732395
 SHA512 
fbae037d39f4f1c13babafd42dee719f3d79f0e2142cc319f59fb319361a1db8ce65fa736a0e2a5e702ac49e3b8323374be6cfa1003f96b0887fa1894e2b6dee
 DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B 
b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02
 SHA512 
0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8
 DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 
9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3
 SHA512 
7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c
+DIST llvm-project-5aabbf0602c48b67bb89fd37f95bf97c95ded488.tar.gz 212582616 
BLAKE2B 
78522148bb4993bd26b16f1e3f44c2baf617705667c7fb104edc844c4330017166c783adae2f0215ca7463c05d1eef30fdf02b13241a9497aaede36bb8580a26
 SHA512 
104e0b5b4f34102f2da03cd54fe9bf5f7fb6efb3a9745d8ec85caa5f92189fde4a5c02c327243d87ff5c7d24b3790fcabdf0ef7144e79e15765785ca72dd3841
 DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 
BLAKE2B 
b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479
 SHA512 
b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7
 DIST llvm-project-7dc2f6602212bf0a0433c157b70e4fc0d70bb730.tar.gz 211903416 
BLAKE2B 
4a2f12e0aa234d507d2fc2136a1d98a7624147ce6e401831743e640abcaceb5152c80ba2dc312f9256e4a04be2ad065d1a57dbe5dc24f2d3edc9d65888986710
 SHA512 
c9eb99f666fc15b29f01a1b2a4b3c6edd3a726033533111e60763c6313a4af8c9dba3396856d6650ac5e666d00941efcc944fac85a4483748bbbea9475e6daf8

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240608.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240608.ebuild
new file mode 100644
index ..e4c76c15ebc8
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240608.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do

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

2024-06-07 Thread Michał Górny
commit: 2031d6410ed28c5f8eda6a135c8d699a9cb2a523
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun  7 18:03:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun  7 18:16:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2031d641

sys-libs/llvm-libunwind: Add 18.1.7

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-18.1.7.ebuild| 129 +
 2 files changed, 131 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 9fbdd9c8f8ba..3e746077c534 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,5 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.6.src.tar.xz 132064976 BLAKE2B 
d38d8026068de371dc4bc288c68c8e441a126cf8e89e55a965f3b9e3a629a37d5743fd7859a60bedaddf27ff2da1e0f08c81806871ef542cb7c3f40b23b22cf5
 SHA512 
89ec276aa41bb2d76cfc3a72d8e728a9ce9176e02c085338b704790524fe329904cf311381805814faa8a6c79637620c01627bf122a51f89e0f3adb47e5df34c
 DIST llvm-project-18.1.6.src.tar.xz.sig 566 BLAKE2B 
4b4a1ec2f084b0728134b9c04775db5938e571f1d7c7aa45b985bed490dcfd2cceab2069a43d4ce7766faec703310a376b83565af317e5f60bf10bc06a732395
 SHA512 
fbae037d39f4f1c13babafd42dee719f3d79f0e2142cc319f59fb319361a1db8ce65fa736a0e2a5e702ac49e3b8323374be6cfa1003f96b0887fa1894e2b6dee
+DIST llvm-project-18.1.7.src.tar.xz 132063384 BLAKE2B 
b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02
 SHA512 
0f67818267803aca9d2bc9eb89335ee6dc56269e8066a0f8a48c4a959e8805dbf6bc839b9f96a92f86ee50d72e7cc326ffe18febb5eb06751ab54a217c0221c8
+DIST llvm-project-18.1.7.src.tar.xz.sig 566 BLAKE2B 
9ae6d80eba5309ce3d5cba580df57c28dbcf429266b2ced622465e34ab2a7ae0f100d1e89c73a44abccd95a3367979344450fd53fb6a2baa029b929d3f13eee3
 SHA512 
7e5601e35f4fcaa4ed042638ae5a4fb90714c9dce58aa3f98e965568660b88294185621a4eb5547de262dca8a96f620db3f94932bb1776661e345dbe1266315c
 DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 
BLAKE2B 
b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479
 SHA512 
b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7
 DIST llvm-project-7dc2f6602212bf0a0433c157b70e4fc0d70bb730.tar.gz 211903416 
BLAKE2B 
4a2f12e0aa234d507d2fc2136a1d98a7624147ce6e401831743e640abcaceb5152c80ba2dc312f9256e4a04be2ad065d1a57dbe5dc24f2d3edc9d65888986710
 SHA512 
c9eb99f666fc15b29f01a1b2a4b3c6edd3a726033533111e60763c6313a4af8c9dba3396856d6650ac5e666d00941efcc944fac85a4483748bbbea9475e6daf8

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.7.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.7.ebuild
new file mode 100644
index ..b6a7c9822310
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.7.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CH

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

2024-05-27 Thread Michał Górny
commit: 16194d6d76d05ec7692d8dc61edab751b87bd256
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 27 17:31:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 27 17:31:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16194d6d

sys-libs/llvm-libunwind: Enable py3.13 in 19.0.0.

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
index df7d3e6095bc..e4c76c15ebc8 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
 inherit toolchain-funcs
 



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

2024-05-25 Thread Michał Górny
commit: b6c90bbc16eaebb51e68d8873730d494930b922d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 25 08:32:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 25 08:35:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c90bbc

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   3 -
 .../llvm-libunwind/llvm-libunwind-18.1.5.ebuild| 129 -
 .../llvm-libunwind-19.0.0_pre20240509.ebuild   | 128 
 3 files changed, 260 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 4b49fb70b57e..9fbdd9c8f8ba 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,10 +4,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B 
bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531
 SHA512 
9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20
-DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B 
ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9
 SHA512 
3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237
 DIST llvm-project-18.1.6.src.tar.xz 132064976 BLAKE2B 
d38d8026068de371dc4bc288c68c8e441a126cf8e89e55a965f3b9e3a629a37d5743fd7859a60bedaddf27ff2da1e0f08c81806871ef542cb7c3f40b23b22cf5
 SHA512 
89ec276aa41bb2d76cfc3a72d8e728a9ce9176e02c085338b704790524fe329904cf311381805814faa8a6c79637620c01627bf122a51f89e0f3adb47e5df34c
 DIST llvm-project-18.1.6.src.tar.xz.sig 566 BLAKE2B 
4b4a1ec2f084b0728134b9c04775db5938e571f1d7c7aa45b985bed490dcfd2cceab2069a43d4ce7766faec703310a376b83565af317e5f60bf10bc06a732395
 SHA512 
fbae037d39f4f1c13babafd42dee719f3d79f0e2142cc319f59fb319361a1db8ce65fa736a0e2a5e702ac49e3b8323374be6cfa1003f96b0887fa1894e2b6dee
 DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 
BLAKE2B 
b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479
 SHA512 
b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7
 DIST llvm-project-7dc2f6602212bf0a0433c157b70e4fc0d70bb730.tar.gz 211903416 
BLAKE2B 
4a2f12e0aa234d507d2fc2136a1d98a7624147ce6e401831743e640abcaceb5152c80ba2dc312f9256e4a04be2ad065d1a57dbe5dc24f2d3edc9d65888986710
 SHA512 
c9eb99f666fc15b29f01a1b2a4b3c6edd3a726033533111e60763c6313a4af8c9dba3396856d6650ac5e666d00941efcc944fac85a4483748bbbea9475e6daf8
-DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 
BLAKE2B 
28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11
 SHA512 
1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.5.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.5.ebuild
deleted file mode 100644
index 944fc4144f4e..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.5.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~r

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

2024-05-25 Thread Michał Górny
commit: 5a44756afe3ba643837033a1a44b2a86108f8ec4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 25 08:31:13 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 25 08:34:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a44756a

sys-libs/llvm-libunwind: Add 19.0.0_pre20240525 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240525.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 29db58ecccbf..4b49fb70b57e 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,4 +9,5 @@ DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B 
ad935db71ec3b9fc885d696af440
 DIST llvm-project-18.1.6.src.tar.xz 132064976 BLAKE2B 
d38d8026068de371dc4bc288c68c8e441a126cf8e89e55a965f3b9e3a629a37d5743fd7859a60bedaddf27ff2da1e0f08c81806871ef542cb7c3f40b23b22cf5
 SHA512 
89ec276aa41bb2d76cfc3a72d8e728a9ce9176e02c085338b704790524fe329904cf311381805814faa8a6c79637620c01627bf122a51f89e0f3adb47e5df34c
 DIST llvm-project-18.1.6.src.tar.xz.sig 566 BLAKE2B 
4b4a1ec2f084b0728134b9c04775db5938e571f1d7c7aa45b985bed490dcfd2cceab2069a43d4ce7766faec703310a376b83565af317e5f60bf10bc06a732395
 SHA512 
fbae037d39f4f1c13babafd42dee719f3d79f0e2142cc319f59fb319361a1db8ce65fa736a0e2a5e702ac49e3b8323374be6cfa1003f96b0887fa1894e2b6dee
 DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 
BLAKE2B 
b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479
 SHA512 
b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7
+DIST llvm-project-7dc2f6602212bf0a0433c157b70e4fc0d70bb730.tar.gz 211903416 
BLAKE2B 
4a2f12e0aa234d507d2fc2136a1d98a7624147ce6e401831743e640abcaceb5152c80ba2dc312f9256e4a04be2ad065d1a57dbe5dc24f2d3edc9d65888986710
 SHA512 
c9eb99f666fc15b29f01a1b2a4b3c6edd3a726033533111e60763c6313a4af8c9dba3396856d6650ac5e666d00941efcc944fac85a4483748bbbea9475e6daf8
 DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 
BLAKE2B 
28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11
 SHA512 
1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240525.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240525.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240525.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+

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

2024-05-19 Thread Michał Górny
commit: c591c272bb7378111a98a07177147d7a51a9f873
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 19 06:07:13 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 19 11:46:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c591c272

sys-libs/llvm-libunwind: Add 18.1.6

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-18.1.6.ebuild| 129 +
 2 files changed, 131 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 0d001d027304..29db58ecccbf 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,5 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B 
bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531
 SHA512 
9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20
 DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B 
ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9
 SHA512 
3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237
+DIST llvm-project-18.1.6.src.tar.xz 132064976 BLAKE2B 
d38d8026068de371dc4bc288c68c8e441a126cf8e89e55a965f3b9e3a629a37d5743fd7859a60bedaddf27ff2da1e0f08c81806871ef542cb7c3f40b23b22cf5
 SHA512 
89ec276aa41bb2d76cfc3a72d8e728a9ce9176e02c085338b704790524fe329904cf311381805814faa8a6c79637620c01627bf122a51f89e0f3adb47e5df34c
+DIST llvm-project-18.1.6.src.tar.xz.sig 566 BLAKE2B 
4b4a1ec2f084b0728134b9c04775db5938e571f1d7c7aa45b985bed490dcfd2cceab2069a43d4ce7766faec703310a376b83565af317e5f60bf10bc06a732395
 SHA512 
fbae037d39f4f1c13babafd42dee719f3d79f0e2142cc319f59fb319361a1db8ce65fa736a0e2a5e702ac49e3b8323374be6cfa1003f96b0887fa1894e2b6dee
 DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 
BLAKE2B 
b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479
 SHA512 
b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7
 DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 
BLAKE2B 
28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11
 SHA512 
1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.6.ebuild
new file mode 100644
index ..944fc4144f4e
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.6.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-c

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

2024-05-18 Thread Michał Górny
commit: 7bff128542144d7369dacf3a3ffa806c215ecc7b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 18 13:08:39 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 18 13:25:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bff1285

sys-libs/llvm-libunwind: Add 19.0.0_pre20240518 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240518.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 2d017f8f682a..0d001d027304 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B 
bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531
 SHA512 
9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20
 DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B 
ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9
 SHA512 
3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237
+DIST llvm-project-702198fc9ac5dba392f9d9ba7c56467996343c0a.tar.gz 211764675 
BLAKE2B 
b28203faf5c4e51236da3e3abac969cffe6f93ce6757a81b5a577187ec236fc0b124fe6a370d1f4e803deab781606a7caf0b411780cc84ee08a8de942c4fc479
 SHA512 
b4217403abf4166eb8eccfd304bcaa2e15d5b67c4f996d51e0745d197e4b9eda1dd5a5b1d7c384effc25f53bb1229edda9618e172abe3be1a94a9569f7c5b0b7
 DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 
BLAKE2B 
28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11
 SHA512 
1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240518.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240518.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240518.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppfla

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

2024-05-16 Thread Michał Górny
commit: 1d511fc347e551e93fb5fc02e19cd3c72abc562c
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May 16 14:16:52 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 16 14:58:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d511fc3

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind/llvm-libunwind-18.1.4.ebuild| 129 -
 .../llvm-libunwind-19.0.0_pre20240427.ebuild   | 128 
 .../llvm-libunwind-19.0.0_pre20240504.ebuild   | 128 
 4 files changed, 389 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 84158a6c4973..2d017f8f682a 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,10 +4,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
-DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
 DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B 
bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531
 SHA512 
9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20
 DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B 
ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9
 SHA512 
3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237
-DIST llvm-project-338561657685c1831a53563b1bc36ffc7470239e.tar.gz 209715501 
BLAKE2B 
49152479d4f2cae430e783784d0cfcc129134f5cc0bf12c72701cd15e59cb3e1be2f61385ba9baa93d1d1193e89374ac8877b909650c163b681d1fcd26732cdc
 SHA512 
d34bbe82e85c5b9d493029ad7b46e802f06f7e7a8a48515d0043c58c3251271f8f3e1e11c47eb91bd3db2477f819d33b43ddebb276eb9601c5ad141e463c9682
-DIST llvm-project-76aa042dde6ba9ba57c680950f5818259ee02690.tar.gz 210235525 
BLAKE2B 
fbbb8e70e0a08bde1fa2277746f692399fa15015b69693f5e8d3297abf02dfb7b36c535880f5c6924c870652dd3106936776d57c34b22234a5419f75b3561bb7
 SHA512 
9107551ceb2b28aa735006144b3344801ea861d7b49eae4881831af507314fb8da2bf5e8a3a407aeebd2eee01fbfad2ca90269d2331fe43cca5c2cc49dd257b7
 DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 
BLAKE2B 
28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11
 SHA512 
1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.4.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.4.ebuild
deleted file mode 100644
index 944fc4144f4e..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.4.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || 

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

2024-05-11 Thread Michał Górny
commit: 38cefbb75570cacbf5ccbcbf9c85c5e54ed73495
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 11 13:37:55 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 11 13:37:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38cefbb7

sys-libs/llvm-libunwind: Add 19.0.0_pre20240509 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240509.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 1eab4b42dc8e..84158a6c4973 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -10,3 +10,4 @@ DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B 
bfdd987d5992a4d94ae8b14792
 DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B 
ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9
 SHA512 
3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237
 DIST llvm-project-338561657685c1831a53563b1bc36ffc7470239e.tar.gz 209715501 
BLAKE2B 
49152479d4f2cae430e783784d0cfcc129134f5cc0bf12c72701cd15e59cb3e1be2f61385ba9baa93d1d1193e89374ac8877b909650c163b681d1fcd26732cdc
 SHA512 
d34bbe82e85c5b9d493029ad7b46e802f06f7e7a8a48515d0043c58c3251271f8f3e1e11c47eb91bd3db2477f819d33b43ddebb276eb9601c5ad141e463c9682
 DIST llvm-project-76aa042dde6ba9ba57c680950f5818259ee02690.tar.gz 210235525 
BLAKE2B 
fbbb8e70e0a08bde1fa2277746f692399fa15015b69693f5e8d3297abf02dfb7b36c535880f5c6924c870652dd3106936776d57c34b22234a5419f75b3561bb7
 SHA512 
9107551ceb2b28aa735006144b3344801ea861d7b49eae4881831af507314fb8da2bf5e8a3a407aeebd2eee01fbfad2ca90269d2331fe43cca5c2cc49dd257b7
+DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 
BLAKE2B 
28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11
 SHA512 
1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240509.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240509.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240509.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF

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

2024-05-04 Thread Michał Górny
commit: 6f863354f1519a6ef0a9121d4a3cb71a6bd99926
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May  4 19:24:57 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May  4 19:57:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f863354

sys-libs/llvm-libunwind: Add 19.0.0_pre20240504 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240504.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 7208264ba84d..1eab4b42dc8e 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb2
 DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B 
bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531
 SHA512 
9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20
 DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B 
ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9
 SHA512 
3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237
 DIST llvm-project-338561657685c1831a53563b1bc36ffc7470239e.tar.gz 209715501 
BLAKE2B 
49152479d4f2cae430e783784d0cfcc129134f5cc0bf12c72701cd15e59cb3e1be2f61385ba9baa93d1d1193e89374ac8877b909650c163b681d1fcd26732cdc
 SHA512 
d34bbe82e85c5b9d493029ad7b46e802f06f7e7a8a48515d0043c58c3251271f8f3e1e11c47eb91bd3db2477f819d33b43ddebb276eb9601c5ad141e463c9682
+DIST llvm-project-76aa042dde6ba9ba57c680950f5818259ee02690.tar.gz 210235525 
BLAKE2B 
fbbb8e70e0a08bde1fa2277746f692399fa15015b69693f5e8d3297abf02dfb7b36c535880f5c6924c870652dd3106936776d57c34b22234a5419f75b3561bb7
 SHA512 
9107551ceb2b28aa735006144b3344801ea861d7b49eae4881831af507314fb8da2bf5e8a3a407aeebd2eee01fbfad2ca90269d2331fe43cca5c2cc49dd257b7

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240504.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240504.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240504.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENAB

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

2024-05-04 Thread Michał Górny
commit: 6cc5c9da249e4724023446c8e34dd0add35b32a6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May  4 14:50:17 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May  4 14:53:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cc5c9da

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   2 -
 .../llvm-libunwind-19.0.0_pre20240410.ebuild   | 128 -
 .../llvm-libunwind-19.0.0_pre20240420.ebuild   | 128 -
 3 files changed, 258 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 6a6d8bfa1b80..7208264ba84d 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,5 +9,3 @@ DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb2
 DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B 
bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531
 SHA512 
9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20
 DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B 
ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9
 SHA512 
3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237
 DIST llvm-project-338561657685c1831a53563b1bc36ffc7470239e.tar.gz 209715501 
BLAKE2B 
49152479d4f2cae430e783784d0cfcc129134f5cc0bf12c72701cd15e59cb3e1be2f61385ba9baa93d1d1193e89374ac8877b909650c163b681d1fcd26732cdc
 SHA512 
d34bbe82e85c5b9d493029ad7b46e802f06f7e7a8a48515d0043c58c3251271f8f3e1e11c47eb91bd3db2477f819d33b43ddebb276eb9601c5ad141e463c9682
-DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1
-DIST llvm-project-f03cd2db91956456f1c5e2da86d3c50183eebd28.tar.gz 209375254 
BLAKE2B 
1d7e043d04323edb64b2ef2309fbcb4f82a959f45391e815133cc0891d5a497bbb81101aab460e9bf67e75aa906e13ad1877c3850829dcad397ed626dc8f2792
 SHA512 
6775e03a44b2133bd4a4b473ab007599321daa19dc7f3cc47f95cf9d110e83e982bf48a6b1d43038b0f0a2c0fef2f689aefd20132b25a90ef19342683e2d2e50

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240410.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240410.ebuild
deleted file mode 100644
index df7d3e6095bc..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240410.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   )
-"
-
-LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
-LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-multilib_src_configure() {
-   llvm_prepend_path "${LLVM_MAJOR}"
-
-   local libdir=$(get_libdir)
-
-   # https://github.com/llvm/llvm-project/issues/56825
-   # also separately bug #863917
-   filter-lto
-
-   if use clang; then
-   local -x CC=${CHOST}-clang
-   local -x CXX=${CHOST}-clang++
-   strip-unsupported-flags
-   fi
-
-   # link to compiler-rt
-   # https://github.com/gentoo/gentoo/pull/21516
-   local use_compiler_rt=OFF
-   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
-
-   # Respect upstream build type assumptions (bug #910436) where they do:
-   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
-   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
-   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
-   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
-   #   -UNDEBUG
-   # See also 
https://git

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

2024-05-03 Thread Michał Górny
commit: 373b424873a4dc7187890285aaac299f23257c38
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May  4 05:31:19 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May  4 05:32:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=373b4248

sys-libs/llvm-libunwind: Add 18.1.5

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-18.1.5.ebuild| 129 +
 2 files changed, 131 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 8eac54faaf48..6a6d8bfa1b80 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,6 +6,8 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
 DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
+DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B 
bfdd987d5992a4d94ae8b14792df3be67a8e8fdf1daef9834cdaa2132df1b7ddb72ba0aabbb34b171a73d0f3b2b0f61e7160f0b278a67fd4850e3f501fd21531
 SHA512 
9e2f1e251b3754a24a0b39676d78c98692887c05c85cf0bee50fd44d9635290019930d4dabd1ff4ba3c9c1067e7e0e09aa1bbcd3d76687f919a1d44ba85eee20
+DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B 
ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9
 SHA512 
3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237
 DIST llvm-project-338561657685c1831a53563b1bc36ffc7470239e.tar.gz 209715501 
BLAKE2B 
49152479d4f2cae430e783784d0cfcc129134f5cc0bf12c72701cd15e59cb3e1be2f61385ba9baa93d1d1193e89374ac8877b909650c163b681d1fcd26732cdc
 SHA512 
d34bbe82e85c5b9d493029ad7b46e802f06f7e7a8a48515d0043c58c3251271f8f3e1e11c47eb91bd3db2477f819d33b43ddebb276eb9601c5ad141e463c9682
 DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1
 DIST llvm-project-f03cd2db91956456f1c5e2da86d3c50183eebd28.tar.gz 209375254 
BLAKE2B 
1d7e043d04323edb64b2ef2309fbcb4f82a959f45391e815133cc0891d5a497bbb81101aab460e9bf67e75aa906e13ad1877c3850829dcad397ed626dc8f2792
 SHA512 
6775e03a44b2133bd4a4b473ab007599321daa19dc7f3cc47f95cf9d110e83e982bf48a6b1d43038b0f0a2c0fef2f689aefd20132b25a90ef19342683e2d2e50

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.5.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.5.ebuild
new file mode 100644
index ..944fc4144f4e
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.5.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHO

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

2024-04-27 Thread Michał Górny
commit: ad590b02557af01b44d6aca0afd5bef91fc1d3d6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 27 10:34:14 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 27 10:42:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad590b02

sys-libs/llvm-libunwind: Add 19.0.0_pre20240427 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240427.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index bd71f2e58a68..8eac54faaf48 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,5 +6,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
 DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
+DIST llvm-project-338561657685c1831a53563b1bc36ffc7470239e.tar.gz 209715501 
BLAKE2B 
49152479d4f2cae430e783784d0cfcc129134f5cc0bf12c72701cd15e59cb3e1be2f61385ba9baa93d1d1193e89374ac8877b909650c163b681d1fcd26732cdc
 SHA512 
d34bbe82e85c5b9d493029ad7b46e802f06f7e7a8a48515d0043c58c3251271f8f3e1e11c47eb91bd3db2477f819d33b43ddebb276eb9601c5ad141e463c9682
 DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1
 DIST llvm-project-f03cd2db91956456f1c5e2da86d3c50183eebd28.tar.gz 209375254 
BLAKE2B 
1d7e043d04323edb64b2ef2309fbcb4f82a959f45391e815133cc0891d5a497bbb81101aab460e9bf67e75aa906e13ad1877c3850829dcad397ed626dc8f2792
 SHA512 
6775e03a44b2133bd4a4b473ab007599321daa19dc7f3cc47f95cf9d110e83e982bf48a6b1d43038b0f0a2c0fef2f689aefd20132b25a90ef19342683e2d2e50

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240427.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240427.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240427.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do

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

2024-04-20 Thread Michał Górny
commit: 8f58c7157cf611adc3cdbce4fb524696a98272ba
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 20 09:38:42 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 20 09:38:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f58c715

sys-libs/llvm-libunwind: Add 19.0.0_pre20240420 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240420.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 89fe4a982fb8..bd71f2e58a68 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
 DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
 DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1
+DIST llvm-project-f03cd2db91956456f1c5e2da86d3c50183eebd28.tar.gz 209375254 
BLAKE2B 
1d7e043d04323edb64b2ef2309fbcb4f82a959f45391e815133cc0891d5a497bbb81101aab460e9bf67e75aa906e13ad1877c3850829dcad397ed626dc8f2792
 SHA512 
6775e03a44b2133bd4a4b473ab007599321daa19dc7f3cc47f95cf9d110e83e982bf48a6b1d43038b0f0a2c0fef2f689aefd20132b25a90ef19342683e2d2e50

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240420.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240420.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240420.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENAB

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

2024-04-19 Thread Michał Górny
commit: 1a444c0d98977b5457fd59c42aa62d7774fb
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 20 04:24:03 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 20 04:29:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a444c0d

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind/llvm-libunwind-18.1.3.ebuild| 129 -
 .../llvm-libunwind-19.0.0_pre20240330.ebuild   | 128 
 .../llvm-libunwind-19.0.0_pre20240404.ebuild   | 128 
 4 files changed, 389 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 6dab866d637b..89fe4a982fb8 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -1,13 +1,9 @@
-DIST llvm-project-12735916bd3a63aa9f316af8eebfe9420cfec489.tar.gz 208645973 
BLAKE2B 
4a64dcaa15cb592634eceb384ecfc11173dbf0285402c32be2b8056374bb8ecef8fa1055fbe353a0836c84b75736cc05f3a14428bc431c18362cfaa7bf96a50a
 SHA512 
ee42f7db322c84dfae3c67ffcfff2ee8d56d6bd4a0412b6bd4f8952ac1da4d57d18fa38011fe514631363b4cc143327be887792dd2e9562942261c99e655d948
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
-DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
 DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
 DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
-DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748

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

2024-04-18 Thread Michał Górny
commit: 20d379dcf3aaf5ba6974667fd2d569e116761ee7
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 18 11:29:35 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 18 18:13:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d379dc

sys-libs/llvm-libunwind: Add 18.1.4

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-18.1.4.ebuild| 129 +
 2 files changed, 131 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 5f8ec851a9f6..6dab866d637b 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,5 +7,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
 DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
+DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
+DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.4.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.4.ebuild
new file mode 100644
index ..944fc4144f4e
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.4.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-c

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

2024-04-10 Thread Michał Górny
commit: a3b6f7c561a086807c8dd57db130a2aef2340727
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 10 09:52:52 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 10 11:09:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b6f7c5

sys-libs/llvm-libunwind: Add 19.0.0_pre20240410 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240410.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 2023c0295326..5f8ec851a9f6 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
 DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
+DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240410.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240410.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240410.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENAB

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

2024-04-06 Thread Michał Górny
commit: d66ca38f9016971fa8c3f1d95304c3ad0057244b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 13:04:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 13:44:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d66ca38f

sys-libs/llvm-libunwind: Add 19.0.0_pre20240404 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240404.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 1b7e8e5bb72e..2023c0295326 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -1,3 +1,4 @@
+DIST llvm-project-12735916bd3a63aa9f316af8eebfe9420cfec489.tar.gz 208645973 
BLAKE2B 
4a64dcaa15cb592634eceb384ecfc11173dbf0285402c32be2b8056374bb8ecef8fa1055fbe353a0836c84b75736cc05f3a14428bc431c18362cfaa7bf96a50a
 SHA512 
ee42f7db322c84dfae3c67ffcfff2ee8d56d6bd4a0412b6bd4f8952ac1da4d57d18fa38011fe514631363b4cc143327be887792dd2e9562942261c99e655d948
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240404.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240404.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240404.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
+   -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
+   -DLIBUN

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

2024-04-05 Thread Michał Górny
commit: a29496b6bd3a29bc9d874cb340235dc7cca76540
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 04:55:01 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 04:55:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a29496b6

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind/llvm-libunwind-18.1.2.ebuild| 129 -
 .../llvm-libunwind-19.0.0_pre20240316.ebuild   | 128 
 .../llvm-libunwind-19.0.0_pre20240322.ebuild   | 128 
 4 files changed, 389 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 4c7a1bdae9bd..1b7e8e5bb72e 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,10 +4,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
-DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
 DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
-DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
-DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.2.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.2.ebuild
deleted file mode 100644
index 944fc4144f4e..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.2.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || 

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

2024-04-04 Thread Michał Górny
commit: aa8a9921b06febfc8a009642b63fb62c1910c476
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  4 17:44:58 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  4 18:08:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8a9921

sys-libs/llvm-libunwind: Add 18.1.3

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-18.1.3.ebuild| 129 +
 2 files changed, 131 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 68777e30fb2b..4c7a1bdae9bd 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,6 +6,8 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
+DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
+DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.3.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.3.ebuild
new file mode 100644
index ..944fc4144f4e
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.3.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHO

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

2024-03-30 Thread Michał Górny
commit: 5f000443342668f83e1ea0f7629b0cf1c561bab7
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 30 10:21:43 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 30 10:27:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f000443

sys-libs/llvm-libunwind: Add 19.0.0_pre20240330 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240330.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index beaf87582ac7..68777e30fb2b 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,4 +7,5 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
+DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240330.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240330.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240330.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+

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

2024-03-23 Thread Michał Górny
commit: 6aaec767fa30c59e2df4dd1b3a6a37e1d5355f5a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 16:07:51 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 17:03:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aaec767

sys-libs/llvm-libunwind: Add 19.0.0_pre20240322 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240322.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index ddcd0b8e3d77..beaf87582ac7 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
+DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240322.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240322.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240322.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENAB

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

2024-03-23 Thread Sam James
commit: d61f5ba26a5c37e1a04dcc9260920264e7e29742
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 16:21:24 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 16:21:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d61f5ba2

sys-libs/llvm-libunwind: Stabilize 17.0.6 sparc, #920044

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
index aeceedd95185..e61b9836b074 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86 ~arm64-macos 
~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv sparc x86 ~arm64-macos 
~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-03-23 Thread Sam James
commit: 4b12120640b94010e1d5f2915c9abdc00beb2867
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 16:20:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 16:20:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b121206

sys-libs/llvm-libunwind: Stabilize 17.0.6 ppc64, #920044

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
index 763691dc7f65..aeceedd95185 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~arm64-macos 
~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86 ~arm64-macos 
~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-03-22 Thread Michał Górny
commit: 9385cae92078b187a924970da0070ffe7ae7b08d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 06:48:49 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 06:48:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9385cae9

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind/llvm-libunwind-18.1.0.ebuild| 129 -
 .../llvm-libunwind-19.0.0_pre20240302.ebuild   | 128 
 .../llvm-libunwind-19.0.0_pre20240309.ebuild   | 128 
 4 files changed, 389 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 897babe9b1ec..ddcd0b8e3d77 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,10 +4,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46c46f9b78fe764dc6c45e016b3d39006dac40af4cae2e01d07131785711913f311d944e9817036b20b08366382e83f3d4093814
 SHA512 
b94f837ff0e1aafdd4939e6e50740c8ab6af602b182357ae495359301a6d5fadaa997014895b90e0c91a715c713218396bb10687167ef30b17ebeccf310f2adf
-DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
-DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
-DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0.ebuild
deleted file mode 100644
index 944fc4144f4e..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || 

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

2024-03-20 Thread Michał Górny
commit: 303907f8edce50ac5f0dc5231923952d7fd6f201
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 20 06:36:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 20 12:50:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=303907f8

sys-libs/llvm-libunwind: Add 18.1.2

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-18.1.2.ebuild| 129 +
 2 files changed, 131 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index c195e0b4d1a8..897babe9b1ec 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,6 +6,8 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46c46f9b78fe764dc6c45e016b3d39006dac40af4cae2e01d07131785711913f311d944e9817036b20b08366382e83f3d4093814
 SHA512 
b94f837ff0e1aafdd4939e6e50740c8ab6af602b182357ae495359301a6d5fadaa997014895b90e0c91a715c713218396bb10687167ef30b17ebeccf310f2adf
 DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
+DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
+DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
 DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.2.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.2.ebuild
new file mode 100644
index ..944fc4144f4e
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.2.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHO

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

2024-03-16 Thread Michał Górny
commit: 2314f15c49992a7bd209b782622c71ae1593eade
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 16 16:19:18 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 16 16:25:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2314f15c

sys-libs/llvm-libunwind: Add 19.0.0_pre20240316 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240316.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 8dfb3ed4088b..c195e0b4d1a8 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46
 DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
 DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
 DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
+DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240316.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240316.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240316.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+

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

2024-03-09 Thread Michał Górny
commit: e2dbd085f5cf1480011d55e0241dfd5ab4502c8e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  9 15:12:45 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  9 15:51:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2dbd085

sys-libs/llvm-libunwind: Add 19.0.0_pre20240309 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240309.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 8cc41013f55a..8dfb3ed4088b 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46c46f9b78fe764dc6c45e016b3d39006dac40af4cae2e01d07131785711913f311d944e9817036b20b08366382e83f3d4093814
 SHA512 
b94f837ff0e1aafdd4939e6e50740c8ab6af602b182357ae495359301a6d5fadaa997014895b90e0c91a715c713218396bb10687167ef30b17ebeccf310f2adf
 DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
+DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
 DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240309.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240309.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240309.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppfla

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

2024-03-06 Thread Michał Górny
commit: fffecd42c91d1153302072ee4fcf3267b737dd17
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  6 16:37:34 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  6 17:03:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fffecd42

sys-libs/llvm-libunwind: Rekeyword 18.1.0

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

 sys-libs/llvm-libunwind/llvm-libunwind-18.1.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0.ebuild
index df7d3e6095bc..944fc4144f4e 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0.ebuild
@@ -12,7 +12,8 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-IUSE="+clang +debug static-libs test"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~arm64-macos ~x64-macos"
+IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"
 



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

2024-03-02 Thread Michał Górny
commit: 7f9c1d9ab01ea785a32192900b20fcaf8ca52a2d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  2 11:53:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  2 13:24:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9c1d9a

sys-libs/llvm-libunwind: Add 19.0.0_pre20240302 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240302.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 1180df60ba55..8da4a3e96a05 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,4 +8,5 @@ DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-18.1.0rc4.src.tar.xz 132041940 BLAKE2B 
1379efd68f765a70e088ac356f69d792c210003c76b15f28b40273aa64825d7a7c7aa03d2d5016b2607626fd63f656ad88402506f23e836c72474be2032d3224
 SHA512 
3018a843f8e615ee0a4c742d5fafcc67eb6d6a40f81212ce045bdff7012b5acec006ee89c321baf59209daabe66b838709cdaed4e11a34c34b821cfdb77e8a61
 DIST llvm-project-18.1.0rc4.src.tar.xz.sig 566 BLAKE2B 
cc089aadc50d874b575c23b8c22a5472c8507acd3352786d3ac2ee0ec06f07e99eee81b94c6b5bdca569ccffa8b867eb2265b57d5d07b8ec31e3cfce89bf8fc1
 SHA512 
2ce82201b7c673884815898069f18cf1e4ab13a0a9ed535339d9c4132b7b0edb6b748b03499e383f8f0268d904589e6aebb9a204ef95d14f56a3fb9dca24571c
+DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
 DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240302.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240302.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240302.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || appe

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

2024-02-28 Thread Michał Górny
commit: 2814ef84f385c1ce6e8792c5ffd84954590f7d3a
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 28 20:08:46 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 28 20:40:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2814ef84

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind-18.1.0_rc2.ebuild   | 128 -
 .../llvm-libunwind-19.0.0_pre20240210.ebuild   | 128 -
 .../llvm-libunwind-19.0.0_pre20240218.ebuild   | 128 -
 4 files changed, 388 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 4cbd0bee0bc4..1180df60ba55 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,12 +4,8 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
-DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-18.1.0rc4.src.tar.xz 132041940 BLAKE2B 
1379efd68f765a70e088ac356f69d792c210003c76b15f28b40273aa64825d7a7c7aa03d2d5016b2607626fd63f656ad88402506f23e836c72474be2032d3224
 SHA512 
3018a843f8e615ee0a4c742d5fafcc67eb6d6a40f81212ce045bdff7012b5acec006ee89c321baf59209daabe66b838709cdaed4e11a34c34b821cfdb77e8a61
 DIST llvm-project-18.1.0rc4.src.tar.xz.sig 566 BLAKE2B 
cc089aadc50d874b575c23b8c22a5472c8507acd3352786d3ac2ee0ec06f07e99eee81b94c6b5bdca569ccffa8b867eb2265b57d5d07b8ec31e3cfce89bf8fc1
 SHA512 
2ce82201b7c673884815898069f18cf1e4ab13a0a9ed535339d9c4132b7b0edb6b748b03499e383f8f0268d904589e6aebb9a204ef95d14f56a3fb9dca24571c
-DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078
-DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/sys

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

2024-02-28 Thread Michał Górny
commit: 7c1e0a093fa32d6c89aa82b9086b5f039a9a38b7
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 28 20:04:38 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 28 20:40:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c1e0a09

sys-libs/llvm-libunwind: Add 18.1.0_rc4

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-18.1.0_rc4.ebuild   | 128 +
 2 files changed, 130 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 4fd527c4d3eb..4cbd0bee0bc4 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,6 +8,8 @@ DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
+DIST llvm-project-18.1.0rc4.src.tar.xz 132041940 BLAKE2B 
1379efd68f765a70e088ac356f69d792c210003c76b15f28b40273aa64825d7a7c7aa03d2d5016b2607626fd63f656ad88402506f23e836c72474be2032d3224
 SHA512 
3018a843f8e615ee0a4c742d5fafcc67eb6d6a40f81212ce045bdff7012b5acec006ee89c321baf59209daabe66b838709cdaed4e11a34c34b821cfdb77e8a61
+DIST llvm-project-18.1.0rc4.src.tar.xz.sig 566 BLAKE2B 
cc089aadc50d874b575c23b8c22a5472c8507acd3352786d3ac2ee0ec06f07e99eee81b94c6b5bdca569ccffa8b867eb2265b57d5d07b8ec31e3cfce89bf8fc1
 SHA512 
2ce82201b7c673884815898069f18cf1e4ab13a0a9ed535339d9c4132b7b0edb6b748b03499e383f8f0268d904589e6aebb9a204ef95d14f56a3fb9dca24571c
 DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc4.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc4.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc4.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prep

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

2024-02-24 Thread Michał Górny
commit: 6b9a543c44e9a17ccd17d05c1e14b3ce38c14324
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 24 14:53:16 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 24 14:53:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9a543c

sys-libs/llvm-libunwind: Add 19.0.0_pre20240224 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240224.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 6a1f511c358d..4fd527c4d3eb 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,4 +9,5 @@ DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be
 DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
+DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240224.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240224.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240224.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668

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

2024-02-21 Thread Michał Górny
commit: 5a048e1213f1d961a445ca1815f80912476c5c2c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 21 20:39:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 22 04:23:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a048e12

sys-libs/llvm-libunwind: Add 18.1.0_rc3

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-18.1.0_rc3.ebuild   | 128 +
 2 files changed, 130 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 43c0a4f8c567..6a1f511c358d 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,5 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
+DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
+DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc3.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc3.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc3.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+

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

2024-02-18 Thread Michał Górny
commit: 05ea97804b2a8ef6d90da97eb6512f3d1f6e8bc0
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 18 19:55:52 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 18 20:22:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ea9780

sys-libs/llvm-libunwind: Add 19.0.0_pre20240218 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240218.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 820a3cb5dd77..43c0a4f8c567 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
+DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240218.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240218.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240218.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-

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

2024-02-17 Thread Michał Górny
commit: f045abf1449bd20d4cbee3864c19083e354e606f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 17 19:18:02 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 17 19:18:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f045abf1

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   1 -
 .../llvm-libunwind-19.0.0_pre20240203.ebuild   | 128 -
 2 files changed, 129 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 8331df891e0b..820a3cb5dd77 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,5 +6,4 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
-DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild
deleted file mode 100644
index df7d3e6095bc..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
-inherit toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   )
-"
-
-LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
-LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-multilib_src_configure() {
-   llvm_prepend_path "${LLVM_MAJOR}"
-
-   local libdir=$(get_libdir)
-
-   # https://github.com/llvm/llvm-project/issues/56825
-   # also separately bug #863917
-   filter-lto
-
-   if use clang; then
-   local -x CC=${CHOST}-clang
-   local -x CXX=${CHOST}-clang++
-   strip-unsupported-flags
-   fi
-
-   # link to compiler-rt
-   # https://github.com/gentoo/gentoo/pull/21516
-   local use_compiler_rt=OFF
-   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
-
-   # Respect upstream build type assumptions (bug #910436) where they do:
-   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
-   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
-   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
-   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
-   #   -UNDEBUG
-   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
-   use debug || append-cppflags -DNDEBUG

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

2024-02-10 Thread Michał Górny
commit: 8c5fcdeb2adcc5322998da8f8416f3465875c342
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 10 17:15:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 10 17:27:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c5fcdeb

sys-libs/llvm-libunwind: Add 19.0.0_pre20240210 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240210.ebuild   | 128 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 49ffe8b82468..8331df891e0b 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a
+DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240210.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240210.ebuild
new file mode 100644
index ..df7d3e6095bc
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240210.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIN

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

2024-02-10 Thread Michał Górny
commit: dd916f880b1e74f0db27ccfcaa0272edb406856a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 10 11:14:03 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 10 11:14:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd916f88

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   3 -
 .../llvm-libunwind-18.1.0_rc1.ebuild   | 131 -
 .../llvm-libunwind-19.0.0_pre20240127.ebuild   | 131 -
 3 files changed, 265 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 5ae0120ba5e2..49ffe8b82468 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,9 +4,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
-DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
-DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc1.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc1.ebuild
deleted file mode 100644
index 73ad1389deb4..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc1.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
-   toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_gen_any_de

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

2024-02-10 Thread Michał Górny
commit: 63d895fc4513a2e417c3de47bd08e1f88ca4c13f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 10 11:03:24 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 10 11:13:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d895fc

sys-libs/llvm-libunwind: Migrate to llvm-utils

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

 sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc2.ebuild  | 11 ---
 sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild | 11 ---
 .../llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild   | 11 ---
 3 files changed, 12 insertions(+), 21 deletions(-)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc2.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc2.ebuild
index 73ad1389deb4..df7d3e6095bc 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc2.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc2.ebuild
@@ -4,8 +4,8 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
-   toolchain-funcs
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
 
 DESCRIPTION="C++ runtime stack unwinder from LLVM"
 HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
@@ -43,12 +43,9 @@ python_check_deps() {
python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
 }
 
-pkg_setup() {
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
 multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
local libdir=$(get_libdir)
 
# https://github.com/llvm/llvm-project/issues/56825

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
index 73ad1389deb4..df7d3e6095bc 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
@@ -4,8 +4,8 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
-   toolchain-funcs
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
 
 DESCRIPTION="C++ runtime stack unwinder from LLVM"
 HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
@@ -43,12 +43,9 @@ python_check_deps() {
python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
 }
 
-pkg_setup() {
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
 multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
local libdir=$(get_libdir)
 
# https://github.com/llvm/llvm-project/issues/56825

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild
index 73ad1389deb4..df7d3e6095bc 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild
@@ -4,8 +4,8 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
-   toolchain-funcs
+inherit cmake-multilib flag-o-matic llvm.org llvm-utils python-any-r1
+inherit toolchain-funcs
 
 DESCRIPTION="C++ runtime stack unwinder from LLVM"
 HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
@@ -43,12 +43,9 @@ python_check_deps() {
python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
 }
 
-pkg_setup() {
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
 multilib_src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
local libdir=$(get_libdir)
 
# https://github.com/llvm/llvm-project/issues/56825



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

2024-02-07 Thread Michał Górny
commit: ecb292b910032dda44e2db09e50bb40b4bb1ef19
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 15:48:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 16:11:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecb292b9

sys-libs/llvm-libunwind: Add 18.1.0_rc2

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-18.1.0_rc2.ebuild   | 131 +
 2 files changed, 133 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 017a314d9e9f..5ae0120ba5e2 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,5 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
 DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
+DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
+DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc2.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc2.ebuild
new file mode 100644
index ..73ad1389deb4
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc2.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   

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

2024-02-03 Thread Michał Górny
commit: 5783741f00f6f79087ceee628b50ce60dcb8bf91
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  3 14:49:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  3 15:01:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5783741f

sys-libs/llvm-libunwind: Add 19.0.0_pre20240203 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240203.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 4e313c2acf54..017a314d9e9f 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
 DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
+DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild
new file mode 100644
index ..73ad1389deb4
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240203.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+

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

2024-01-30 Thread Michał Górny
commit: 0aa2ab5538f24efa4f1fce22e2d2d20fdef680b4
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 30 20:17:26 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 30 21:21:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa2ab55

sys-libs/llvm-libunwind: Remove 18.0.0*

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

 sys-libs/llvm-libunwind/Manifest   |   3 -
 .../llvm-libunwind-18.0.0..ebuild  | 131 -
 .../llvm-libunwind-18.0.0_pre20240106.ebuild   | 131 -
 .../llvm-libunwind-18.0.0_pre20240113.ebuild   | 131 -
 .../llvm-libunwind-18.0.0_pre20240120.ebuild   | 131 -
 5 files changed, 527 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 3721aff80256..4e313c2acf54 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,6 +7,3 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
 DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
-DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
-DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347
-DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild
deleted file mode 100644
index 8f54197f0751..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
-   toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   )
-"
-
-LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
-LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir=$(get_libdir)
-
-   # https://github.com/llvm/llvm-project/issues/56825
-   # also separately bug #863917
-   filter-lto
-
-   if use clang; then
-   local -x CC=${CHOST}-clang
-   local -x CXX=${CHOST}-clang++
-   strip

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

2024-01-30 Thread Michał Górny
commit: a193f6d7960fc56fcd95d4fa7f8d277ad093bf34
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 30 20:16:20 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 30 21:21:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a193f6d7

sys-libs/llvm-libunwind: Add 18.1.0_rc1

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-18.1.0_rc1.ebuild   | 131 +
 2 files changed, 133 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 921b26789062..3721aff80256 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,6 +4,8 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
+DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
+DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
 DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc1.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc1.ebuild
new file mode 100644
index ..73ad1389deb4
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.1.0_rc1.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg

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

2024-01-28 Thread Sam James
commit: 12dbee9e68afd185da7cea260722d70710d14315
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sat Jan 27 00:09:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 28 08:55:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12dbee9e

sys-libs/llvm-libunwind: keyword ~arm64-macos

Bug: https://bugs.gentoo.org/758167
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/35031
Signed-off-by: Sam James  gentoo.org>

 sys-libs/llvm-libunwind/llvm-libunwind-16.0.6-r1.ebuild | 4 ++--
 sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild| 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6-r1.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6-r1.ebuild
index 18d5066e295f..e61b9836b074 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6-r1.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv sparc x86 ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv sparc x86 ~arm64-macos 
~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
index 3018bd80dc4f..e5a99b01218b 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~arm64-macos 
~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-01-27 Thread Michał Górny
commit: 7ed60feaab9bfc71e615471eaa74d6da90cc38aa
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 27 15:18:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 27 20:33:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed60fea

sys-libs/llvm-libunwind: Add 19.0.0_pre20240127 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-19.0.0_pre20240127.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index eaf4dd1b1bc7..921b26789062 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,6 +4,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
+DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
 DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240127.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240127.ebuild
new file mode 100644
index ..73ad1389deb4
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0_pre20240127.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then

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

2024-01-23 Thread Michał Górny
commit: e94ec7be99a5ba780fa310c948dc21bb52a6f446
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 24 05:44:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 24 06:32:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e94ec7be

sys-libs/llvm-libunwind: Add 19.x live ebuild

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

 .../llvm-libunwind-19.0.0..ebuild  | 131 +
 1 file changed, 131 insertions(+)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
new file mode 100644
index ..73ad1389deb4
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-19.0.0..ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLLVM_INCLUDE_TESTS=OFF
+   -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
+   -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
+   -DLIBUNWIND_INCLUDE_TESTS=$(usex test)
+   -DLIBUNWIND_INSTALL_HEADERS=ON
+
+   # support non-native unwinding; given it's small enough,
+   # enable it unconditionally
+   -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON
+
+   # avoid dependency on libgcc_s if compiler-rt is used
+   -DLIBUNWIND_USE_COMPILER_RT=${use_compiler_rt}
+   )
+   if use test; then
+   mycmakeargs+=(
+   -DLLVM_ENABLE_RUNTIMES="libunwind;libcxxabi;libcxx"
+   -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+   -DLLVM_LIT_ARGS="$(get_lit_flags)"
+   -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
+
+   -DLIBCXXABI_LIBDIR_SUFFIX=
+   -DLIBCXXABI_ENABLE_SHARED=OFF
+   -DLIBCXXABI_ENABLE_STATIC=ON
+   -DLIBCXXABI_USE_LLVM_UNWINDER=ON
+   -DLIBCXXABI_INCLUDE_TESTS=OFF
+
+   -DLIBCXX_LIBDIR_SUFFIX=
+   -DLIBCXX_ENABLE_SHARED=OFF
+   -DLIBCXX_ENABLE_STATIC=ON
+   -DLIBCXX_CXX_ABI=libcxxabi
+   -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
+   -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
+   -DLIBCXX_HAS_GCC_S_LIB=OFF
+   -DLIBCXX_INCLUDE_TESTS=OFF
+   -DLIBCXX_INCLUDE_BENCHMARKS=OFF
+   )
+   fi
+
+   cmake_src_configure
+}
+
+multilib_src_test() {
+   

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

2024-01-22 Thread Michał Górny
commit: dc064ad7c490b8fe9c793e0b72f2a70a8fa9f54c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 22 12:58:19 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 22 14:07:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc064ad7

sys-libs/llvm-libunwind: Add 18.0.0_pre20240120 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20240120.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 8ddfd7e4f2e8..eaf4dd1b1bc7 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -5,4 +5,5 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
+DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20240120.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20240120.ebuild
new file mode 100644
index ..73ad1389deb4
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20240120.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/

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

2024-01-13 Thread Michał Górny
commit: 9a55dccdb9ec7fee815ab8050f6bdea01164076f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 13 16:15:05 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 13 17:49:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a55dccd

sys-libs/llvm-libunwind: Add 18.0.0_pre20240113 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20240113.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 216581af7dd4..8ddfd7e4f2e8 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,4 +4,5 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
+DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20240113.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20240113.ebuild
new file mode 100644
index ..73ad1389deb4
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20240113.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issue

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

2024-01-13 Thread Joonas Niilola
commit: 7c5bf69198a5b75345a940d4c6500e1a4433bbc1
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Jan 13 11:28:28 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jan 13 11:28:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5bf691

sys-libs/llvm-libunwind: Stabilize 17.0.6 x86, #920044

Signed-off-by: Joonas Niilola  gentoo.org>

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
index 946ebf04d3b0..3018bd80dc4f 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-01-12 Thread Michał Górny
commit: dd348d76b2696dc262be288b6cbb0f0cc375d086
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 12 19:33:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 12 19:35:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd348d76

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   3 -
 .../llvm-libunwind-18.0.0_pre20231215.ebuild   | 131 -
 .../llvm-libunwind-18.0.0_pre20231222.ebuild   | 131 -
 .../llvm-libunwind-18.0.0_pre20231228.ebuild   | 131 -
 4 files changed, 396 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 7388a81349e0..216581af7dd4 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,7 +4,4 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-17858ce6f3d24f994f6ad8c899bfa4eed39f739d.tar.gz 204267841 
BLAKE2B 
05232178574de9f7e6d4c2e5eb59cabc70670d14b5f92010a42aa3ab6087abd992672044857e6f8d21cd9d2c3d8129b47420f5e3ec746b50e82a3cac5352e824
 SHA512 
e7836fc56d7121d762cd714a4cd5e28c8b068ff375928d3b5cd32d7e4488b5cf59b21e16250b4f12a973ada3f73ce246af2cc3cd83efca17dc9c3da5b458196d
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d
-DIST llvm-project-a700298b3d538452915703268ca18f7f8f7537e6.tar.gz 204307149 
BLAKE2B 
70c7bdf9694343145d12fe494bceb7e4c4325136a4d8eecaec0a53cb6193d42a6ce47e048569f4fe3bc1754e6a114cbc97225344f9cfc4f39935323d4cb64f68
 SHA512 
76b2c621a97ec3fffe504f4e7c9c5af4db1ee63556291078d302c2c88596b7d07d07d607226361d4272f7757cd8246faff64f4ad36b86cde141ded65fd0b7a62
-DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231215.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231215.ebuild
deleted file mode 100644
index 8f54197f0751..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231215.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
-   toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   )
-"
-
-LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
-LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir=$(get_libdir)
-
-   

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

2024-01-12 Thread Sam James
commit: 908442ab8ca5eae7e17c7f62f757ea303749ed42
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 12 09:22:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 12 09:22:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908442ab

sys-libs/llvm-libunwind: Stabilize 17.0.6 arm64, #920044

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
index 808322aec302..946ebf04d3b0 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-01-12 Thread Sam James
commit: 64da7ca0e54ab940b763123248eb0dab801e51ff
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 12 09:22:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 12 09:22:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64da7ca0

sys-libs/llvm-libunwind: Stabilize 17.0.6 amd64, #920044

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
index b91c683ce070..808322aec302 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
 IUSE="+clang debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2024-01-06 Thread Michał Górny
commit: 181a958161d2f2d8b54288fe3259f19934bb153b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 21:49:49 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 21:52:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=181a9581

sys-libs/llvm-libunwind: Add 18.0.0_pre20240106 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20240106.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index f965bc2d68e1..7388a81349e0 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -5,5 +5,6 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-17858ce6f3d24f994f6ad8c899bfa4eed39f739d.tar.gz 204267841 
BLAKE2B 
05232178574de9f7e6d4c2e5eb59cabc70670d14b5f92010a42aa3ab6087abd992672044857e6f8d21cd9d2c3d8129b47420f5e3ec746b50e82a3cac5352e824
 SHA512 
e7836fc56d7121d762cd714a4cd5e28c8b068ff375928d3b5cd32d7e4488b5cf59b21e16250b4f12a973ada3f73ce246af2cc3cd83efca17dc9c3da5b458196d
+DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d
 DIST llvm-project-a700298b3d538452915703268ca18f7f8f7537e6.tar.gz 204307149 
BLAKE2B 
70c7bdf9694343145d12fe494bceb7e4c4325136a4d8eecaec0a53cb6193d42a6ce47e048569f4fe3bc1754e6a114cbc97225344f9cfc4f39935323d4cb64f68
 SHA512 
76b2c621a97ec3fffe504f4e7c9c5af4db1ee63556291078d302c2c88596b7d07d07d607226361d4272f7757cd8246faff64f4ad36b86cde141ded65fd0b7a62
 DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20240106.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20240106.ebuild
new file mode 100644
index ..73ad1389deb4
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20240106.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compile

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

2023-12-28 Thread Michał Górny
commit: 326752f3903f4d5a2943338401188b0af856a51f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec 28 13:50:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 28 15:06:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326752f3

sys-libs/llvm-libunwind: Add 18.0.0_pre20231228 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20231228.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 38beb262d814..f965bc2d68e1 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -5,4 +5,5 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-17858ce6f3d24f994f6ad8c899bfa4eed39f739d.tar.gz 204267841 
BLAKE2B 
05232178574de9f7e6d4c2e5eb59cabc70670d14b5f92010a42aa3ab6087abd992672044857e6f8d21cd9d2c3d8129b47420f5e3ec746b50e82a3cac5352e824
 SHA512 
e7836fc56d7121d762cd714a4cd5e28c8b068ff375928d3b5cd32d7e4488b5cf59b21e16250b4f12a973ada3f73ce246af2cc3cd83efca17dc9c3da5b458196d
+DIST llvm-project-a700298b3d538452915703268ca18f7f8f7537e6.tar.gz 204307149 
BLAKE2B 
70c7bdf9694343145d12fe494bceb7e4c4325136a4d8eecaec0a53cb6193d42a6ce47e048569f4fe3bc1754e6a114cbc97225344f9cfc4f39935323d4cb64f68
 SHA512 
76b2c621a97ec3fffe504f4e7c9c5af4db1ee63556291078d302c2c88596b7d07d07d607226361d4272f7757cd8246faff64f4ad36b86cde141ded65fd0b7a62
 DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231228.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231228.ebuild
new file mode 100644
index ..8f54197f0751
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231228.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/

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

2023-12-15 Thread Michał Górny
commit: 9e59d71e60bbd451187f683e3d50756aba682362
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 15 17:49:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 15 17:51:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e59d71e

sys-libs/llvm-libunwind: Add 18.0.0_pre20231215 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20231215.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 1dff6636ab84..bbf3c61e611c 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
 DIST llvm-project-6a4489a73337907d52e7eaf3716f3de9008e6e53.tar.gz 201703120 
BLAKE2B 
7de783df15ff30ab85aad2f02a5a043d09b18dd7b212c19e21b045870497e2b17a53527523cd533c4ef61b22d605026a9322d2f8d02f0d4f76ed26ab693b788c
 SHA512 
ffc31d7037255d608717faff84e858d63b37abed5659d66599864ae44ed00fc5902e9851eb1b8c848b500623681ef5782b39ad2bf8bcf96ac4f35032efde1490
+DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231215.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231215.ebuild
new file mode 100644
index ..8f54197f0751
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231215.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${

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

2023-12-09 Thread Michał Górny
commit: b6399eb2a0ee423b9620e08ecaeae4f73462e584
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 18:25:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 18:25:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6399eb2

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   2 -
 .../llvm-libunwind/llvm-libunwind-17.0.5.ebuild| 132 -
 2 files changed, 134 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 8af9207eb1ab..1dff6636ab84 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,8 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
-DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.5.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.5.ebuild
deleted file mode 100644
index b91c683ce070..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.5.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
-   toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
-IUSE="+clang debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   )
-"
-
-LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
-LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_set

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

2023-11-29 Thread Michał Górny
commit: cc2c205126412a1ac553858be0e2effa42cc5013
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 12:47:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 15:14:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc2c2051

sys-libs/llvm-libunwind: Add 18.0.0_pre20231129 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20231129.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 14182ad604eb..8af9207eb1ab 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5c
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
+DIST llvm-project-6a4489a73337907d52e7eaf3716f3de9008e6e53.tar.gz 201703120 
BLAKE2B 
7de783df15ff30ab85aad2f02a5a043d09b18dd7b212c19e21b045870497e2b17a53527523cd533c4ef61b22d605026a9322d2f8d02f0d4f76ed26ab693b788c
 SHA512 
ffc31d7037255d608717faff84e858d63b37abed5659d66599864ae44ed00fc5902e9851eb1b8c848b500623681ef5782b39ad2bf8bcf96ac4f35032efde1490

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231129.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231129.ebuild
new file mode 100644
index ..8f54197f0751
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231129.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DL

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

2023-11-28 Thread Michał Górny
commit: 16e9f67e57792d752dec9d4c39696144b9a9ce28
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 07:43:01 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 07:44:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e9f67e

sys-libs/llvm-libunwind: Bump to 17.0.6

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-17.0.6.ebuild| 132 +
 2 files changed, 134 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 12ada98c6c6b..14182ad604eb 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,4 +6,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
 DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
+DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
+DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
new file mode 100644
index ..b91c683ce070
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.6.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #91043

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

2023-11-25 Thread Michał Górny
commit: 2cc5af84b6710c1b8c81ac402662d152f34ee3a6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 25 11:19:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 25 11:21:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cc5af84

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind/llvm-libunwind-17.0.4.ebuild| 132 -
 .../llvm-libunwind-18.0.0_pre20231104.ebuild   | 131 
 .../llvm-libunwind-18.0.0_pre2023.ebuild   | 131 
 4 files changed, 398 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index a1ddcbd2429b..12ada98c6c6b 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,10 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-167b598648dfcee2f23426bfa972e53f8ac16722.tar.gz 201158314 
BLAKE2B 
908d42b0148f04eeab8d05d46736c570ffdea7d66273aa428375f944deaaf1c0ca885ef0fbe04588d838e4f831ff9823365f9df700f9e9de08c700f0135f2e59
 SHA512 
7da16df850245ba70e4ddf318a0e7322ed68b076337325c3d3702bb428358d11137b6254051cc6a34d047789f107fd96065cd169c9b2684f78b3a54c4f566a78
-DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
-DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
 DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
-DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4.ebuild
deleted file mode 100644
index b91c683ce070..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
-   toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI

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

2023-11-19 Thread Michał Górny
commit: b17e82c0d47461b14568f23ac52f5e9f40eb17d4
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 19 09:45:41 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 19 11:10:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17e82c0

sys-libs/llvm-libunwind: Add 18.0.0_pre20231119 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20231119.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index ee507a828566..a1ddcbd2429b 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,4 +9,5 @@ DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
 DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
+DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231119.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231119.ebuild
new file mode 100644
index ..8f54197f0751
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231119.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issue

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

2023-11-14 Thread Michał Górny
commit: 9458a75ebf15f85be8ae2f57f899559c1f40287a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 14 17:06:28 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 14 18:26:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9458a75e

sys-libs/llvm-libunwind: Bump to 17.0.5

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-17.0.5.ebuild| 132 +
 2 files changed, 134 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 9b46ca981c1d..ee507a828566 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,4 +7,6 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-167b598648dfcee2f23426bfa972e53f8ac16722.tar.gz 201158314 
BLAKE2B 
908d42b0148f04eeab8d05d46736c570ffdea7d66273aa428375f944deaaf1c0ca885ef0fbe04588d838e4f831ff9823365f9df700f9e9de08c700f0135f2e59
 SHA512 
7da16df850245ba70e4ddf318a0e7322ed68b076337325c3d3702bb428358d11137b6254051cc6a34d047789f107fd96065cd169c9b2684f78b3a54c4f566a78
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
+DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
+DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.5.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.5.ebuild
new file mode 100644
index ..b91c683ce070
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.5.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream b

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

2023-11-14 Thread Michał Górny
commit: 6c0d523c630867151866ea5c1f83503a720265da
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 14 13:04:48 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 14 13:04:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c0d523c

sys-libs/llvm-libunwind: Remove 17.0.4. (live)

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

 .../llvm-libunwind-17.0.4..ebuild  | 131 -
 1 file changed, 131 deletions(-)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4..ebuild
deleted file mode 100644
index 8f54197f0751..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4..ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
-   toolchain-funcs
-
-DESCRIPTION="C++ runtime stack unwinder from LLVM"
-HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="0"
-IUSE="+clang +debug static-libs test"
-REQUIRED_USE="test? ( clang )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !sys-libs/libunwind
-"
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-"
-BDEPEND="
-   clang? (
-   sys-devel/clang:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-   test? (
-   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
-   )
-"
-
-LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
-LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-multilib_src_configure() {
-   local libdir=$(get_libdir)
-
-   # https://github.com/llvm/llvm-project/issues/56825
-   # also separately bug #863917
-   filter-lto
-
-   if use clang; then
-   local -x CC=${CHOST}-clang
-   local -x CXX=${CHOST}-clang++
-   strip-unsupported-flags
-   fi
-
-   # link to compiler-rt
-   # https://github.com/gentoo/gentoo/pull/21516
-   local use_compiler_rt=OFF
-   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
-
-   # Respect upstream build type assumptions (bug #910436) where they do:
-   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
-   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
-   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
-   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
-   #   -UNDEBUG
-   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
-   use debug || append-cppflags -DNDEBUG
-
-   local mycmakeargs=(
-   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
-   -DPython3_EXECUTABLE="${PYTHON}"
-   -DLLVM_ENABLE_RUNTIMES="libunwind"
-   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-   -DLLVM_INCLUDE_TESTS=OFF
-   -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
-   -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
-   -DLIBUNWIND_INCLUDE_TESTS=$(usex test)
-   -DLIBUNWIND_INSTALL_HEADERS=ON
-
-   # support non-native unwinding; given it's small enough,
-   # enable it unconditionally
-   -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON
-
-   # avoid dependency on libgcc_s if compiler-rt is used
-   -DLIBUNWIND_USE_COMPILER_RT=${use_compiler_rt}
-   )
-   if use test; then
-   mycmakeargs+=(
-   -DLLVM_ENABLE_RUNTIMES="libunwind;libcxxabi;libcxx"
-   -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-   -DLLVM_LIT_ARGS="$(get_lit_flags)"
-   -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
-
-   -DLIBCXXABI_LIBDIR_SUFFIX=
-   -DLIBCXXABI_ENABLE_SHARED=OFF
-   -DLIBCXXABI_ENABLE_STATIC=ON
-   -DLIBCXXABI_USE_LLVM_UNWINDER=ON
-   -DLIBCXXABI_INCLUDE_TESTS=OFF
-
-   -DLIBCXX_LIBDIR_SUFFIX=
-   -DLIBCXX_ENABLE_SHARED=OFF
-   -DLIBCXX_ENABLE_STATIC=ON
-   -DLIBCXX_CXX_ABI=libcxxabi
-   -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
-   -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
-   -DLIBCXX_HAS_GCC_S_LIB=OFF
-   -DLIBCXX_INCLUDE_TESTS=OFF
-   -DLIBCXX_INCLUDE_BENCHMARKS=OFF
-   )
-   fi
-
-   cmake_src_configure
-}
-
-multilib_src_test(

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

2023-11-11 Thread Michał Górny
commit: 8a5a1e038991f3d7956e16697432db011c442830
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 11 19:01:34 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 11 20:23:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5a1e03

sys-libs/llvm-libunwind: Add 18.0.0_pre2023 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre2023.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index db6bc21c0cb1..9b46ca981c1d 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,6 +4,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
+DIST llvm-project-167b598648dfcee2f23426bfa972e53f8ac16722.tar.gz 201158314 
BLAKE2B 
908d42b0148f04eeab8d05d46736c570ffdea7d66273aa428375f944deaaf1c0ca885ef0fbe04588d838e4f831ff9823365f9df700f9e9de08c700f0135f2e59
 SHA512 
7da16df850245ba70e4ddf318a0e7322ed68b076337325c3d3702bb428358d11137b6254051cc6a34d047789f107fd96065cd169c9b2684f78b3a54c4f566a78
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre2023.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre2023.ebuild
new file mode 100644
index ..8f54197f0751
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre2023.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local

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

2023-11-11 Thread Michał Górny
commit: 275a57374d76159a81f3e1c5757927034cb2251e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 11 09:23:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 11 10:36:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275a5737

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   5 -
 .../llvm-libunwind/llvm-libunwind-17.0.3.ebuild| 132 -
 .../llvm-libunwind-18.0.0_pre20231013.ebuild   | 131 
 .../llvm-libunwind-18.0.0_pre20231019.ebuild   | 131 
 .../llvm-libunwind-18.0.0_pre20231025.ebuild   | 131 
 5 files changed, 530 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 8a547e85b6d5..db6bc21c0cb1 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,11 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
-DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
-DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509
-DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
-DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3.ebuild
deleted file mode 100644
index b91c683ce070..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3.ebuild
+++ /dev

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

2023-11-04 Thread Michał Górny
commit: 8083021026d39418284673384591b13d2df04537
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov  4 08:50:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov  4 18:03:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80830210

sys-libs/llvm-libunwind: Add 18.0.0_pre20231104 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20231104.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 7df7743194f4..8a547e85b6d5 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,5 +9,6 @@ DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
+DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509
 DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
 DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231104.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231104.ebuild
new file mode 100644
index ..8f54197f0751
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231104.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compile

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

2023-10-31 Thread Michał Górny
commit: bebfe92754033fee74351d42aa321100ea55a13d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 31 08:39:34 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 31 19:12:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bebfe927

sys-libs/llvm-libunwind: Bump to 17.0.4

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-17.0.4.ebuild| 132 +
 2 files changed, 134 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 781040d23486..7df7743194f4 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,6 +6,8 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
+DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
+DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
 DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4.ebuild
new file mode 100644
index ..b91c683ce070
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+IUSE="+clang debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}

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

2023-10-31 Thread Michał Górny
commit: 9701a933ebcbf247c564c5d15222f08f761d09fa
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 31 08:37:29 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 31 08:37:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9701a933

sys-libs/llvm-libunwind: 17.x is now 17.0.4.

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

 ...lvm-libunwind-17.0.3..ebuild => llvm-libunwind-17.0.4..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.4..ebuild
similarity index 100%
rename from sys-libs/llvm-libunwind/llvm-libunwind-17.0.3..ebuild
rename to sys-libs/llvm-libunwind/llvm-libunwind-17.0.4..ebuild



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

2023-10-25 Thread Michał Górny
commit: 8ca4dde792643d7d684d5cdc73dbf413afe8e1e0
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 25 18:57:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 26 02:10:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca4dde7

sys-libs/llvm-libunwind: Add 18.0.0_pre20231025 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20231025.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index ce67cad96b48..781040d23486 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,4 +7,5 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
+DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
 DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231025.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231025.ebuild
new file mode 100644
index ..8f54197f0751
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231025.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/

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

2023-10-19 Thread Michał Górny
commit: d9f26648bb42354798e7d532d6293a3436c64f75
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 18:52:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 19:50:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9f26648

sys-libs/llvm-libunwind: Add 18.0.0_pre20231019 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20231019.ebuild   | 131 +
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index cdb85c1e880f..ce67cad96b48 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
+DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231019.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231019.ebuild
new file mode 100644
index ..8f54197f0751
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231019.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
+   toolchain-funcs
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html";
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+IUSE="+clang +debug static-libs test"
+REQUIRED_USE="test? ( clang )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !sys-libs/libunwind
+"
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+"
+BDEPEND="
+   clang? (
+   sys-devel/clang:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+   test? (
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+   )
+"
+
+LLVM_COMPONENTS=( runtimes libunwind libcxx llvm/cmake cmake )
+LLVM_TEST_COMPONENTS=( libcxxabi llvm/utils/llvm-lit )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   # https://github.com/llvm/llvm-project/issues/56825
+   # also separately bug #863917
+   filter-lto
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   # link to compiler-rt
+   # https://github.com/gentoo/gentoo/pull/21516
+   local use_compiler_rt=OFF
+   [[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON
+
+   # Respect upstream build type assumptions (bug #910436) where they do:
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=ON =>
+   #   -DCMAKE_BUILD_TYPE=DEBUG  => -UNDEBUG
+   #   -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG
+   # -DLIBUNWIND_ENABLE_ASSERTIONS=OFF =>
+   #   -UNDEBUG
+   # See also 
https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826.
+   use debug || append-cppflags -DNDEBUG
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DLLVM_ENABLE_RUNTIMES="libunwind"
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DL

  1   2   3   4   5   6   >