[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 

[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
+   

[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)
+   

[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 

[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
+   

[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-23 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 

[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 || 

[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 || 

[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 

[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() {
+   

[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 

[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 || 

[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
+   

[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? (
-   

[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++
-   

[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} 

[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 

[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 

[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 ]] && 

[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 

[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"
+   

[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} 

[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}
+   

[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 

[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 || ( 

[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 

[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 

[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
-}
-

[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
+++ 

[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 ]] && 

[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 

[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}
+   

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

2023-10-19 Thread Michał Górny
commit: 6aeb6df0ebd85b044e9f53914e6f380dd5ef
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 15:04:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 15:13:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aeb6eee

sys-libs/llvm-libunwind: Fix EmptyGlobalAssignment

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

 sys-libs/llvm-libunwind/llvm-libunwind-17.0.3..ebuild| 1 -
 sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild| 1 -
 sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231013.ebuild | 1 -
 3 files changed, 3 deletions(-)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3..ebuild
index 94ec81df1452..8f54197f0751 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3..ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3..ebuild
@@ -12,7 +12,6 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS=""
 IUSE="+clang +debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild
index 94ec81df1452..8f54197f0751 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild
@@ -12,7 +12,6 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS=""
 IUSE="+clang +debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231013.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231013.ebuild
index 94ec81df1452..8f54197f0751 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231013.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231013.ebuild
@@ -12,7 +12,6 @@ HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0"
-KEYWORDS=""
 IUSE="+clang +debug static-libs test"
 REQUIRED_USE="test? ( clang )"
 RESTRICT="!test? ( test )"



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

2023-10-19 Thread Michał Górny
commit: 0df1fb49f084f16f66db55d1feea685924e1e0f7
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 15:00:32 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 15:02:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df1fb49

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   6 -
 .../llvm-libunwind/llvm-libunwind-17.0.1.ebuild| 132 -
 .../llvm-libunwind/llvm-libunwind-17.0.2.ebuild| 132 -
 .../llvm-libunwind-18.0.0_pre20230925.ebuild   | 132 -
 .../llvm-libunwind-18.0.0_pre20231002.ebuild   | 132 -
 5 files changed, 534 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 1989f0fc579d..cdb85c1e880f 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,12 +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.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
-DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
-DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
-DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
 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-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
-DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 

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

2023-10-17 Thread Michał Górny
commit: 823fcd3b8221f52cbe0a9620364c176056818a8c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 14:58:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 15:11:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823fcd3b

sys-libs/llvm-libunwind: Bump to 17.0.3

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

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

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 1647f45a2bb4..1989f0fc579d 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,6 +8,8 @@ DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccf
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
 DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
 DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
+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-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3.ebuild
new file mode 100644
index ..b91c683ce070
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.3.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-13 Thread Michał Górny
commit: 080e994ba8c299dd1d22ac588487db4e7b132d1d
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 13 15:50:30 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 13 15:50:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=080e994b

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

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

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

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 36e3001ed1e9..1647f45a2bb4 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,4 +9,5 @@ DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b
 DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
 DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
+DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231013.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231013.ebuild
new file mode 100644
index ..94ec81df1452
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231013.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=""
+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 

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

2023-10-13 Thread Michał Górny
commit: 038ff33f30b56d6157415938c0d3f52afd41ab8a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 13 12:15:45 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 13 12:15:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038ff33f

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

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

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

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



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

2023-10-04 Thread Michał Górny
commit: 85031e1a94e6a70aaf4325625da2e271ecbb0804
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 08:24:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 08:44:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85031e1a

sys-libs/llvm-libunwind: Bump to 17.0.2

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

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

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 0f39c1ae5665..36e3001ed1e9 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,5 +6,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.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
+DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
+DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.2.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.2.ebuild
new file mode 100644
index ..b91c683ce070
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.2.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 

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

2023-10-02 Thread Michał Górny
commit: 061b71ac9bc3530ae88111e80a20bdc85002c7ae
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 18:28:04 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 19:39:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061b71ac

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

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

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

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 2c20684b235e..0f39c1ae5665 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,4 +6,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.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
+DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231002.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231002.ebuild
new file mode 100644
index ..94ec81df1452
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20231002.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=""
+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 

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

2023-10-02 Thread Michał Górny
commit: 8cb222b58d1cb35b836a9b544c6ab1a573e25fc8
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 15:22:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 15:22:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cb222b5

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

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

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

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



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

2023-10-02 Thread Michał Górny
commit: 65651c6f386b71be7f04d56bc6b710158a3ff7b7
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 15:18:02 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 15:18:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65651c6f

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   3 -
 .../llvm-libunwind-17.0.0_rc4-r1.ebuild| 132 -
 .../llvm-libunwind-18.0.0_pre20230906-r1.ebuild| 132 -
 3 files changed, 267 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 908f8400d4ca..2c20684b235e 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,9 +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.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
-DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
-DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc4-r1.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc4-r1.ebuild
deleted file mode 100644
index 94ec81df1452..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc4-r1.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=""
-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? (
-   

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

2023-09-25 Thread Michał Górny
commit: 83a1bdffaba6732d5bbf5fed035cd2f9bed78327
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 25 18:43:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 25 18:43:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a1bdff

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

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

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

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 5e4409ff769c..908f8400d4ca 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
 DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
+DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230925.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230925.ebuild
new file mode 100644
index ..94ec81df1452
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230925.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=""
+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/

2023-09-19 Thread Michał Górny
commit: 4b91ac726b374e27bb4303f82ed9b2c21b453315
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 19 19:37:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 19 19:47:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b91ac72

sys-libs/llvm-libunwind: Bump to 17.0.1

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

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

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 2b156dc34b4d..5e4409ff769c 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.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
 DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
+DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
+DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
 DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.1.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.1.ebuild
new file mode 100644
index ..b91c683ce070
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.1.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 

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

2023-09-19 Thread Michał Górny
commit: b76901255ab28bff408a904e9c31129bdecbdc10
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 19 11:45:25 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 19 12:42:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7690125

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

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

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

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



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

2023-09-10 Thread Sam James
commit: f8fa80bed10eacdc4269f6d8a08985a6cf6df1dc
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 10 14:16:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 10 14:16:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8fa80be

sys-libs/llvm-libunwind: avoid spurious assertions with USE=-debug

Respect upstream build type assumptions 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.

Bug: https://github.com/libunwind/libunwind/issues/138
Bug: https://github.com/llvm/llvm-project/issues/86
Bug: https://github.com/llvm/llvm-project/issues/55584
Closes: https://bugs.gentoo.org/910436
Signed-off-by: Sam James  gentoo.org>

 ...m-libunwind-16.0.6.ebuild => llvm-libunwind-16.0.6-r1.ebuild} | 9 +
 sys-libs/llvm-libunwind/llvm-libunwind-17.0.0..ebuild| 9 +
 0_pre20230906.ebuild => llvm-libunwind-17.0.0_rc4-r1.ebuild} | 9 +
 sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild| 9 +
 0_rc4.ebuild => llvm-libunwind-18.0.0_pre20230906-r1.ebuild} | 9 +
 5 files changed, 45 insertions(+)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6-r1.ebuild
similarity index 88%
rename from sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
rename to sys-libs/llvm-libunwind/llvm-libunwind-16.0.6-r1.ebuild
index 9d53bcd51939..18d5066e295f 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6-r1.ebuild
@@ -67,6 +67,15 @@ multilib_src_configure() {
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}"

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0..ebuild
index 43f8868fc308..94ec81df1452 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0..ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0..ebuild
@@ -67,6 +67,15 @@ multilib_src_configure() {
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}"

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230906.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc4-r1.ebuild
similarity index 88%
rename from sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230906.ebuild
rename to sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc4-r1.ebuild
index 43f8868fc308..94ec81df1452 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230906.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc4-r1.ebuild
@@ -67,6 +67,15 @@ multilib_src_configure() {
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}"

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild
index 43f8868fc308..94ec81df1452 100644
--- 

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

2023-09-08 Thread Michał Górny
commit: 6f9ac5275a1040a52e9bdfa92a08e9542d08bc60
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep  8 11:36:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep  8 11:36:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f9ac527

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   4 -
 .../llvm-libunwind-17.0.0_rc3.ebuild   | 123 -
 .../llvm-libunwind-18.0.0_pre20230825.ebuild   | 123 -
 .../llvm-libunwind-18.0.0_pre20230829.ebuild   | 123 -
 4 files changed, 373 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index f93f9da98f29..2b156dc34b4d 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-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
-DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
 DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
 DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
-DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
-DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc3.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc3.ebuild
deleted file mode 100644
index 43f8868fc308..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc3.ebuild
+++ /dev/null
@@ -1,123 +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;
-

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

2023-09-06 Thread Michał Górny
commit: ac5ce6d62751884ab487f2005ff260cdad501da6
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep  6 17:56:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep  6 18:12:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5ce6d6

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

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20230906.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index aa50ad835c53..f93f9da98f29 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,5 +8,6 @@ DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
 DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
+DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
 DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230906.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230906.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230906.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+ 

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

2023-09-05 Thread Michał Górny
commit: ce7d5f1db4c7aace50c02fa297808acb48119219
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  5 15:52:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  5 19:58:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce7d5f1d

sys-libs/llvm-libunwind: Bump to 17.0.0_rc4

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-17.0.0_rc4.ebuild   | 123 +
 2 files changed, 125 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index aefca5c7ae38..aa50ad835c53 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,5 +6,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.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
+DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
+DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
 DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc4.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc4.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc4.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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 

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

2023-08-29 Thread Michał Górny
commit: 60cf9c2c52cda60ed70f210e78192c03c26e5062
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 29 10:49:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 29 11:20:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60cf9c2c

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

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20230829.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 55018810e8e8..aefca5c7ae38 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.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
+DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230829.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230829.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230829.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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
+
+ 

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

2023-08-28 Thread Michał Górny
commit: 42e3918c8448709e16ed70935fb629e4dbc94f1c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 29 05:47:13 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 29 05:48:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42e3918c

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   7 --
 .../llvm-libunwind-17.0.0_rc1.ebuild   | 123 -
 .../llvm-libunwind-17.0.0_rc2.ebuild   | 123 -
 .../llvm-libunwind-18.0.0_pre20230803.ebuild   | 123 -
 .../llvm-libunwind-18.0.0_pre20230810.ebuild   | 123 -
 .../llvm-libunwind-18.0.0_pre20230820.ebuild   | 123 -
 6 files changed, 622 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 7033d4698c18..55018810e8e8 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,13 +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.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
-DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
-DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
-DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
 DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
-DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
-DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 

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

2023-08-25 Thread Michał Górny
commit: 4b131ba45fd6465a31d4aa87e4fb224132736472
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Aug 25 18:25:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Aug 25 19:17:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b131ba4

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

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20230825.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 00502f5488e5..7033d4698c18 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -12,4 +12,5 @@ DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
+DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
 DIST llvm-project-fe42682e7818d44cbe19f98ef34caa4e414aa937.tar.gz 196564445 
BLAKE2B 
056e6622b38009e34392c1d1755086e008bc85e9b4c00126e7ca92ddaee2ede7f31bafbc6ca04c5008983ce843d19fb152d75ce01e6ece4c2d891cc38604532c
 SHA512 
8245f8a50f77e9ac9c0309a0025fde8407bb82d82277e3edba0a995debff50940e9500d4ad65060a330e6c19e2e1332d700ea040ca382ef4b75282a4566cbf72

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230825.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230825.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230825.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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/

2023-08-23 Thread Michał Górny
commit: 27661a7d49e6fb78d92191773ed1f263f111cab9
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Aug 23 05:12:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Aug 23 10:17:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27661a7d

sys-libs/llvm-libunwind: Add 17.0.0_rc3

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-17.0.0_rc3.ebuild   | 123 +
 2 files changed, 125 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 78c6850f5907..00502f5488e5 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,6 +8,8 @@ DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd2
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
 DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
 DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
+DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
+DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
 DIST llvm-project-fe42682e7818d44cbe19f98ef34caa4e414aa937.tar.gz 196564445 
BLAKE2B 
056e6622b38009e34392c1d1755086e008bc85e9b4c00126e7ca92ddaee2ede7f31bafbc6ca04c5008983ce843d19fb152d75ce01e6ece4c2d891cc38604532c
 SHA512 
8245f8a50f77e9ac9c0309a0025fde8407bb82d82277e3edba0a995debff50940e9500d4ad65060a330e6c19e2e1332d700ea040ca382ef4b75282a4566cbf72

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc3.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc3.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc3.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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() {
+   

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

2023-08-20 Thread Michał Górny
commit: 3ff9d273f5a008485808a7793c54c0ab491fe170
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 20 12:01:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 20 12:02:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ff9d273

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

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20230820.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 285b67868f2e..78c6850f5907 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -10,3 +10,4 @@ DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d57
 DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
 DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
+DIST llvm-project-fe42682e7818d44cbe19f98ef34caa4e414aa937.tar.gz 196564445 
BLAKE2B 
056e6622b38009e34392c1d1755086e008bc85e9b4c00126e7ca92ddaee2ede7f31bafbc6ca04c5008983ce843d19fb152d75ce01e6ece4c2d891cc38604532c
 SHA512 
8245f8a50f77e9ac9c0309a0025fde8407bb82d82277e3edba0a995debff50940e9500d4ad65060a330e6c19e2e1332d700ea040ca382ef4b75282a4566cbf72

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230820.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230820.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230820.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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
+   

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

2023-08-10 Thread Michał Górny
commit: 230a00547610b62ef907f0ec661c276abeee7ba0
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 10 12:53:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 10 17:49:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=230a0054

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

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20230810.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 839ce3fd55e7..285b67868f2e 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,4 +8,5 @@ DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd2
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
 DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
 DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
+DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230810.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230810.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230810.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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/

2023-08-08 Thread Michał Górny
commit: 8ae6fb9903f13d0c4854cb6c45e665e4e4853bd1
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug  8 12:28:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug  8 18:31:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae6fb99

sys-libs/llvm-libunwind: Add 17.0.0_rc2

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-17.0.0_rc2.ebuild   | 123 +
 2 files changed, 125 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index c6c293dd1492..839ce3fd55e7 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.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
+DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
+DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc2.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc2.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc2.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   

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

2023-08-03 Thread Michał Górny
commit: f54b6154e0e3e84c2589bbe131d2dd99afb47368
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  3 09:21:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  3 15:43:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f54b6154

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

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-18.0.0_pre20230803.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 5dbccdb8ee1a..c6c293dd1492 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,3 +6,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.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
+DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230803.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230803.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0_pre20230803.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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 

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

2023-08-03 Thread Michał Górny
commit: 874de2ccc8a7ea88ab1dd8ed212aa06633bd988d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  3 09:13:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  3 09:13:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874de2cc

sys-libs/llvm-libunwind: Remove 17.x snapshots

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

 sys-libs/llvm-libunwind/Manifest   |   1 -
 .../llvm-libunwind-17.0.0_pre20230722.ebuild   | 123 -
 2 files changed, 124 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 2e05a04b6e37..5dbccdb8ee1a 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,4 +6,3 @@ 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.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
-DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 
BLAKE2B 
d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0
 SHA512 
b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230722.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230722.ebuild
deleted file mode 100644
index 43f8868fc308..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230722.ebuild
+++ /dev/null
@@ -1,123 +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=""
-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
-
-   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 

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

2023-08-02 Thread Sam James
commit: 42a3363bf3cb99f0420b39fb748a8b15cd61eb45
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  2 16:08:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  2 16:08:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42a3363b

sys-libs/llvm-libunwind: Stabilize 16.0.6 sparc, #908385

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
index 460a4f8ee07b..9d53bcd51939 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.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/

2023-07-29 Thread Michał Górny
commit: 516824418c940623197ca070100b19ee2841f140
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 29 14:18:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 29 19:25:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51682441

sys-libs/llvm-libunwind: Add 17.0.0_rc1

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind-17.0.0_rc1.ebuild   | 123 +
 2 files changed, 125 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index a119694951c6..2e05a04b6e37 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,4 +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.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
+DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
 DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 
BLAKE2B 
d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0
 SHA512 
b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc1.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc1.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_rc1.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   local mycmakeargs=(
+   -DCMAKE_CXX_COMPILER_TARGET="${CHOST}"
+   

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

2023-07-25 Thread Michał Górny
commit: 2f0675b27aef9b14f8453e35c49be87be9ff7648
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 25 16:09:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 25 16:11:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f0675b2

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

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

 .../llvm-libunwind-18.0.0..ebuild  | 123 +
 1 file changed, 123 insertions(+)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-18.0.0..ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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 check-unwind
+}
+
+multilib_src_install() {
+   DESTDIR=${D} cmake_build install-unwind
+}



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

2023-07-22 Thread Michał Górny
commit: 33b556790f84c45e8c31e84f248b4b5aea1f97fa
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 22 06:03:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 22 13:01:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b55679

sys-libs/llvm-libunwind: Add 17.0.0_pre20230722 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-17.0.0_pre20230722.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 5c52d83a5f97..a3024e906654 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,3 +6,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-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.gz 194446197 
BLAKE2B 
ba2ac8334f90fddfd9b8f97abd2f77bd1f1ad00c97f2b7daf6b799fe49755a9bd07e017e93cc634163ad7499e70d886556715e26e9d7ed9017018861c3522735
 SHA512 
b12d02a7b4df08e8decf99ac86875bef72ff2fa546699e7a94bfd2b2ad1e1256aec66185f9e2f7c2f5d06b1eeb3faae44a2c457b33e5c7416d3bd9921759b39d
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc
+DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 
BLAKE2B 
d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0
 SHA512 
b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230722.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230722.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230722.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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
+   

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

2023-07-17 Thread Michał Górny
commit: 3c6f5bfe537371ca8eeb15be50d97314b400219f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 17 10:46:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 17 14:14:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c6f5bfe

sys-libs/llvm-libunwind: Add 17.0.0_pre20230717 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-17.0.0_pre20230717.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 84d6ade02dbb..5c52d83a5f97 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,4 +4,5 @@ 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-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.gz 194446197 
BLAKE2B 
ba2ac8334f90fddfd9b8f97abd2f77bd1f1ad00c97f2b7daf6b799fe49755a9bd07e017e93cc634163ad7499e70d886556715e26e9d7ed9017018861c3522735
 SHA512 
b12d02a7b4df08e8decf99ac86875bef72ff2fa546699e7a94bfd2b2ad1e1256aec66185f9e2f7c2f5d06b1eeb3faae44a2c457b33e5c7416d3bd9921759b39d
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230717.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230717.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230717.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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/

2023-07-14 Thread Michał Górny
commit: df92c98ad509cb3d471326448751114c07c7a214
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 14 16:08:34 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 14 16:17:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df92c98a

sys-libs/llvm-libunwind: Remove old

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

 sys-libs/llvm-libunwind/Manifest   |   2 -
 .../llvm-libunwind/llvm-libunwind-16.0.5.ebuild| 123 -
 2 files changed, 125 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 7f17af10c5ea..84d6ade02dbb 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -2,8 +2,6 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 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.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
-DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 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-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.ebuild
deleted file mode 100644
index 4fb8c306c7fd..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-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

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

2023-07-14 Thread Arthur Zamarin
commit: 515271752ea27c999445e0d28c373789453a86e9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 14 15:50:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 14 15:52:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51527175

sys-libs/llvm-libunwind: Stabilize 16.0.6 x86, #908385

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
index 1595ab8334ff..a4d099ce4cde 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.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/

2023-07-14 Thread Arthur Zamarin
commit: f4290011cb620aeee2257d14326b8d4cb9f57286
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 14 15:49:47 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 14 15:51:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4290011

sys-libs/llvm-libunwind: Stabilize 16.0.6 ppc64, #908385

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
index dc211607082f..1595ab8334ff 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.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/

2023-07-11 Thread Michał Górny
commit: f86eab45a98c468a12e887f3de78bb3421555b8c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 11 10:23:41 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 11 10:25:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f86eab45

sys-libs/llvm-libunwind: Remove 17.0.0_pre20230630

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

 sys-libs/llvm-libunwind/Manifest   |   1 -
 .../llvm-libunwind-17.0.0_pre20230630.ebuild   | 123 -
 2 files changed, 124 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 61837531aef7..7f17af10c5ea 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,4 +7,3 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c33
 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-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc
-DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230630.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230630.ebuild
deleted file mode 100644
index 43f8868fc308..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230630.ebuild
+++ /dev/null
@@ -1,123 +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=""
-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
-
-   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
-
-  

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

2023-07-05 Thread Michał Górny
commit: 3553b55436d22d5b94961ab5678b8f5ab00e1c1b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  5 15:29:45 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 15:31:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3553b554

sys-libs/llvm-libunwind: Add 17.0.0_pre20230705 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-17.0.0_pre20230705.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index dac5477b548d..61837531aef7 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afb
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 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-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc
 DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230705.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230705.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230705.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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/

2023-07-05 Thread Michał Górny
commit: b4d94caa644de4bb46aba40c17ab3739641d823e
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  5 08:21:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 08:38:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d94caa

sys-libs/llvm-libunwind: Remove old snapshots

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

 sys-libs/llvm-libunwind/Manifest   |   2 -
 .../llvm-libunwind-17.0.0_pre20230615.ebuild   | 123 -
 .../llvm-libunwind-17.0.0_pre20230620.ebuild   | 123 -
 3 files changed, 248 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index e99aeb91e935..dac5477b548d 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -1,4 +1,3 @@
-DIST llvm-project-0e08374abb2c61a3ae5c24d5f60be3b548da9778.tar.gz 191661586 
BLAKE2B 
05e5328d8eb9972bd6399e8c0f5ab241a78e6591e63ee520180c4ff154df432ad96f49ddc615a2208f69ffbec539b201fffeaf4906011b7a961cbc3860126ffa
 SHA512 
1d4429ecb2292e419ed6172cf251ba4a1448ed51424552ac48a159d0e3d3414777f7821382d1839b56f0c906fb0a147b1df4eecb071f8a5c11b0fc1d0d40d339
 DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99
 SHA512 
6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
@@ -7,5 +6,4 @@ DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afb
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 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-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2
 DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230615.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230615.ebuild
deleted file mode 100644
index 43f8868fc308..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230615.ebuild
+++ /dev/null
@@ -1,123 +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=""
-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? (
-

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

2023-06-30 Thread Michał Górny
commit: 90473ee60c314ca7c8b80684a296e8b081617ca6
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 30 18:55:26 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 30 19:42:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90473ee6

sys-libs/llvm-libunwind: Add 17.0.0_pre20230630 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-17.0.0_pre20230630.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 3b9db6c543a3..e99aeb91e935 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c33
 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-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2
+DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230630.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230630.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230630.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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
+
+   

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

2023-06-20 Thread Michał Górny
commit: bcb39d40735da342b202ebb8f98fbf4070a1609c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 20 14:25:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 20 17:53:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb39d40

sys-libs/llvm-libunwind: Enable py3.12 in 16.0.6

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
index 049f6bc1cc17..2d3feb7a328e 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
toolchain-funcs
 



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

2023-06-20 Thread Michał Górny
commit: 01e8e5784a3c9d658f004763787698a8b69ab06c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 20 14:21:32 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 20 14:23:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e8e578

sys-libs/llvm-libunwind: Remove 17.0.0_pre20230609

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

 sys-libs/llvm-libunwind/Manifest   |   1 -
 .../llvm-libunwind-17.0.0_pre20230609.ebuild   | 123 -
 2 files changed, 124 deletions(-)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index f13d0a4b01ed..3b9db6c543a3 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -7,5 +7,4 @@ DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afb
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 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-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0
 DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230609.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230609.ebuild
deleted file mode 100644
index 51cf06f1cda3..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230609.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-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=""
-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
-
-   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/

2023-06-20 Thread Michał Górny
commit: 42ff9fe7c3b177899ae60a3c127d1e4f448e04dd
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 20 14:09:52 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 20 14:20:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42ff9fe7

sys-libs/llvm-libunwind: Add 17.0.0_pre20230620 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-17.0.0_pre20230620.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 7f33f2723a8e..f13d0a4b01ed 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c33
 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-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0
+DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230620.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230620.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230620.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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
+
+   

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

2023-06-17 Thread Sam James
commit: 945795c40b27a55bf5fdee65a32576b2d3b7b204
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 17 23:21:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 17 23:21:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945795c4

sys-libs/llvm-libunwind: Stabilize 16.0.5 amd64, #908385

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.ebuild
index 4c3db89b2fb2..4fb8c306c7fd 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.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/

2023-06-17 Thread Michał Górny
commit: 6a1c70398a3fd741d480b4b9f1c4785c013e345a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 17 11:27:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 17 19:10:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a1c7039

sys-libs/llvm-libunwind: Add 17.0.0_pre20230615 snapshot

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

 sys-libs/llvm-libunwind/Manifest   |   1 +
 .../llvm-libunwind-17.0.0_pre20230615.ebuild   | 123 +
 2 files changed, 124 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index cfa36c645444..7f33f2723a8e 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -1,3 +1,4 @@
+DIST llvm-project-0e08374abb2c61a3ae5c24d5f60be3b548da9778.tar.gz 191661586 
BLAKE2B 
05e5328d8eb9972bd6399e8c0f5ab241a78e6591e63ee520180c4ff154df432ad96f49ddc615a2208f69ffbec539b201fffeaf4906011b7a961cbc3860126ffa
 SHA512 
1d4429ecb2292e419ed6172cf251ba4a1448ed51424552ac48a159d0e3d3414777f7821382d1839b56f0c906fb0a147b1df4eecb071f8a5c11b0fc1d0d40d339
 DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99
 SHA512 
6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230615.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230615.ebuild
new file mode 100644
index ..43f8868fc308
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0_pre20230615.ebuild
@@ -0,0 +1,123 @@
+# 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=""
+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
+
+   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
+   

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

2023-06-17 Thread Michał Górny
commit: aaef8e9b50444281a70fca4cb2bbc4ce75ee3c21
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 17 11:04:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 17 19:10:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaef8e9b

sys-libs/llvm-libunwind: Enable py3.12 in 17.0.0.

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0..ebuild
index 51cf06f1cda3..43f8868fc308 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0..ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-17.0.0..ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \
toolchain-funcs
 



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

2023-06-14 Thread Michał Górny
commit: 2bcd5ebb3dd6c6cf41ff2878a4c9a990a154e5b3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 14 10:02:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 14 10:31:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bcd5ebb

sys-libs/llvm-libunwind: Bump to 16.0.6

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

 sys-libs/llvm-libunwind/Manifest   |   2 +
 .../llvm-libunwind/llvm-libunwind-16.0.6.ebuild| 123 +
 2 files changed, 125 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index f6932dd317dc..cfa36c645444 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -4,4 +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.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
+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-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
new file mode 100644
index ..049f6bc1cc17
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+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
+
+   local mycmakeargs=(
+   

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

2023-06-13 Thread Michał Górny
commit: 7cfb27b7a4fa1ae39f0384e0402175eb812837bd
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 14 04:56:41 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 14 05:34:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cfb27b7

sys-libs/llvm-libunwind: Remove 16.0.6. (branch is closed)

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

 .../llvm-libunwind-16.0.6..ebuild  | 123 -
 1 file changed, 123 deletions(-)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6..ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6..ebuild
deleted file mode 100644
index 6ffa6c4f81b8..
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6..ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-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=""
-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
-
-   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 check-unwind
-}
-
-multilib_src_install() {
-   DESTDIR=${D} cmake_build install-unwind
-}



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

2023-06-13 Thread Arthur Zamarin
commit: 8c4372b1550af21f7472b0f55d2328937e5ddcf2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 13 18:27:52 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 13 18:27:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4372b1

sys-libs/llvm-libunwind: Stabilize 16.0.5 ppc64, #908385

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.ebuild
index 049f6bc1cc17..4c3db89b2fb2 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.5.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 )"



  1   2   3   4   5   6   >