From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DDFC4158128 for ; Sun, 15 Jun 2025 01:51:21 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C8C903424BB for ; Sun, 15 Jun 2025 01:51:21 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6BEE61104E7; Sun, 15 Jun 2025 01:51:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 60A001104E7 for ; Sun, 15 Jun 2025 01:51:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B80A335DBA for ; Sun, 15 Jun 2025 01:51:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A19B29B9 for ; Sun, 15 Jun 2025 01:51:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1749952220.c2aa25e087383ad10ffbd5b9b03bcee604286b9c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/spirv-llvm-translator/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/spirv-llvm-translator/Manifest dev-util/spirv-llvm-translator/spirv-llvm-translator-21.0.0_pre20250613.ebuild X-VCS-Directories: dev-util/spirv-llvm-translator/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c2aa25e087383ad10ffbd5b9b03bcee604286b9c X-VCS-Branch: master Date: Sun, 15 Jun 2025 01:51:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a4d05702-e70c-4784-a9d8-97e9620a9843 X-Archives-Hash: 0754bfc960afa1d2828c8ab86168df60 commit: c2aa25e087383ad10ffbd5b9b03bcee604286b9c Author: Sam James gentoo org> AuthorDate: Sun Jun 15 01:50:20 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 15 01:50:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2aa25e0 dev-util/spirv-llvm-translator: add 21.0.0_pre20250613 Closes: https://bugs.gentoo.org/956811 Signed-off-by: Sam James gentoo.org> dev-util/spirv-llvm-translator/Manifest | 1 + ...spirv-llvm-translator-21.0.0_pre20250613.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-util/spirv-llvm-translator/Manifest b/dev-util/spirv-llvm-translator/Manifest index 2c6447a9c29d..9c55d136b174 100644 --- a/dev-util/spirv-llvm-translator/Manifest +++ b/dev-util/spirv-llvm-translator/Manifest @@ -1,3 +1,4 @@ +DIST SPIRV-LLVM-Translator-37a91c7eedcb46e7b022833a4b6ec68ac1bbd9c1.tar.gz 1816381 BLAKE2B f347df35744586d7743ef84becc94f8e0050de921e80d195d971e421832a7d272d39cde67d3ba240610d71f3bf0252485ee61d56f5078c70ce2e7781d18fbf7e SHA512 fe40e5b921a5fd299650f1fee1b882e15a2b2d075bf0376499ecde027bfc569e23af58fd3af5877fcf0b8bbf6632506e36c842eec3c6712ab90a4a07376bc725 DIST SPIRV-LLVM-Translator-cedb8ae2e22102ef85999e0732c3447a307141db.tar.gz 1810220 BLAKE2B 04fe26b7da6178e28016097d524bfb2530c85039d7e0457e25290f30d8ec08768d506794cf287f4a04f71a3dc9d6f11814f9153f2c66d90dd5ea3950270e0991 SHA512 cd2d9fcdc15124052c9cf648b1da307c51cef293b0f7397a7c55e4dd93c917979b3f8d6f1a13dfd66e1c619ee31d1a970fe4704e7e524a7cfb2ae020ef115226 DIST spirv-llvm-translator-15.0.10.tar.gz 1623782 BLAKE2B 53da8de0d57b1723e2fb879456ac18e6cc0c11ca931d7d4379cea9b130819b5297a80615ad5d06d780d5cd6ce1b24c5dcf96ba5e6e82e4bd1017b1f78b393842 SHA512 b22df95fbbeee569a8711807fe860839dad7127208a6ffffbe38b2973dc426046a16a7c600df75e9741d3b7296baa3458b5762c35333eedb80215252a1b69c8e DIST spirv-llvm-translator-15.0.11.tar.gz 1632016 BLAKE2B 3ac06065e3043e37b6ac0b925ea4688edc6ed87d0eb91aff2bfa2c0a3a0fb2f457aa643ef7a125d58dc9af354c34d2ac96da0a457e19792d140c9a7c1ad67d90 SHA512 99c8633f0406788106141999e27380cd65172b255dfcf5b17572eee4f4e8e270656171702de95b8eb69c97ce7bc4bd56b1c4aec6bffe7708f60484b05ba38315 diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-21.0.0_pre20250613.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-21.0.0_pre20250613.ebuild new file mode 100644 index 000000000000..0e195991a20d --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-21.0.0_pre20250613.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 21 ) + +inherit cmake-multilib flag-o-matic llvm-r2 multiprocessing + +EGIT_COMMIT=37a91c7eedcb46e7b022833a4b6ec68ac1bbd9c1 +MY_P=SPIRV-LLVM-Translator-${EGIT_COMMIT} +DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" +HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" +SRC_URI=" + https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/${EGIT_COMMIT}.tar.gz + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/spirv-tools[${MULTILIB_USEDEP}] + llvm-core/llvm:${SLOT}=[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=dev-util/spirv-headers-1.4.305 +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + llvm-core/clang:${SLOT} + ) +" + +src_prepare() { + append-flags -fPIC + cmake_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DCCACHE_ALLOWED="OFF" + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" + -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv" + -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") + -Wno-dev + ) + + cmake_src_configure +} + +multilib_src_test() { + lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die +}