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 D68B2158128 for ; Sun, 15 Jun 2025 01:51:20 +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 C052334236C for ; Sun, 15 Jun 2025 01:51:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 515211104E2; Sun, 15 Jun 2025 01:51:12 +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 4784B1104E2 for ; Sun, 15 Jun 2025 01:51:12 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E94AA34229C for ; Sun, 15 Jun 2025 01:51:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59C5029B3 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: <1749951885.e42ca51709b1e421f73c00ff1790168e76c4210f.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-18.1.13.ebuild X-VCS-Directories: dev-util/spirv-llvm-translator/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e42ca51709b1e421f73c00ff1790168e76c4210f 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: bd8b0597-306c-4c62-9348-4cdef1aef114 X-Archives-Hash: fdb01bfa82632a5e95a0a167aaafc743 commit: e42ca51709b1e421f73c00ff1790168e76c4210f Author: Sam James gentoo org> AuthorDate: Sun Jun 15 01:44:45 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 15 01:44:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42ca517 dev-util/spirv-llvm-translator: add 18.1.13 Signed-off-by: Sam James gentoo.org> dev-util/spirv-llvm-translator/Manifest | 1 + .../spirv-llvm-translator-18.1.13.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-util/spirv-llvm-translator/Manifest b/dev-util/spirv-llvm-translator/Manifest index 861c820493ba..7bad9d9d4370 100644 --- a/dev-util/spirv-llvm-translator/Manifest +++ b/dev-util/spirv-llvm-translator/Manifest @@ -10,6 +10,7 @@ DIST spirv-llvm-translator-17.0.11.tar.gz 1656784 BLAKE2B ffd2711ca4b05bf1715333 DIST spirv-llvm-translator-17.0.13.tar.gz 1657697 BLAKE2B 3a71c165d0f4d737aad3632cd30023972be990604963ba323f0fe0785eb81c07c1a135e5dba0e061526f6877b87f7a19784fb9bbc9ae17f34aa07b8d9d725733 SHA512 1acd1dab79bcec7fed4a3902a858583e9ae91d3f585c2888918b301ca50816bb87016e191e8ecc4730ad0c2cc2438411a7669b05247cd95b6bb0a119d886cbc5 DIST spirv-llvm-translator-18.1.10.tar.gz 1720925 BLAKE2B e6b454bb20e2f05f3ccdaed8066da630b1da6f3a7b54e7d93b1fbbeda620da90d75897c90c0cfa354ea5cea57b97fe03bdf539c425439c2d7e4719a8a32e9314 SHA512 b722b161e480517bb7b5c9f13f6b1b314bd14b3c8c47ad2877fbaaf1d9288e537ff29f6e12a44b13f5f73563730020dcc60064c2b2ee222b73a952ae579397dc DIST spirv-llvm-translator-18.1.11.tar.gz 1724756 BLAKE2B 039fca1689b26adb43053d4983a198694211b9c21502d665f0a66bf86b244618401ef1be12f24bf28aa1ec7e75710f8ce03b967e25acd7392e5649e2769d1cc1 SHA512 c631706f7b37134b858f619bd9aa739be639744ff5afa5c1e12e6086726b42c47ff3ce3bbc3cbe93ed3ed5a09bd81265a647e3cd126b3065d2608f2182722d5f +DIST spirv-llvm-translator-18.1.13.tar.gz 1725819 BLAKE2B cbb78ca1117a902f044060c22b56e896836298ad53df02d40d0ec000233d97417f5f72304e04a8a787cc83c42d78157eea1daaf29339150f60e88e3333a1ed3c SHA512 af31bf8ed8f240eecb96dc408ecce3b757928cf078a6a881eb559ce5b6bbee8339b6e9258f5624c30b943e9fb15ee21e5ea2b7e2a157b791bf175981fc400b4f DIST spirv-llvm-translator-19.1.5.tar.gz 1770088 BLAKE2B f74d4c0d9d7268e84c36e9087059707e73f22b1ccf23ea2f243068aa93446c710002b3cb0506e9c1ac649ecf74a6cb8703efe1fc3cd6b5cf3a58feec4af987c0 SHA512 28b2ace524830b943489cc973d364c0ecd8d9ee83c08c855f8364460d9287b23a82ab4f95891cf0b9a83a476b3e613a8f246195cd7c6e866177db47d591ca25f DIST spirv-llvm-translator-19.1.6.tar.gz 1771001 BLAKE2B 63265f97c85883602604819a9cd017eab8c289ddf492f3a791842690b93981182cea056a56e83c4461ae0f55830fe28c36d42dca01b7169bc779cd347bffddb2 SHA512 8b6589741a964ecfaf0f4cc8cb5e3165e03e76dbf310d4f5b29968b1ceffd32081a2f7c94544f8772619cf5963b31e308f1067506c0b7e8b9e04b8c174fce9a5 DIST spirv-llvm-translator-19.1.8.tar.gz 1778352 BLAKE2B 1207b75af1282d3207db2a07e90175575cc16a60959ab54d89c3965e577f5527eeb91b11b59fbe687b35703def1739c02338bed710ffce4882e83e54d425b661 SHA512 4372c5c155c0b84f86955469f72151e42b5e62b33e9b24b2b60b7ecd41d417cc43c2dda3e02f40e61c837045f3b65d6291bd995500572859ed047c11fe0377d6 diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.13.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.13.ebuild new file mode 100644 index 000000000000..f973a01d8d5a --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.13.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 18 ) +MY_PN="SPIRV-LLVM-Translator" +MY_P="${MY_PN}-${PV}" + +inherit cmake-multilib flag-o-matic llvm-r2 multiprocessing + +DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" +HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" +SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +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.309.0 +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + llvm-core/clang:${SLOT} + ) +" + +src_prepare() { + append-flags -fPIC + cmake_src_prepare + + # https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2555 + sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die +} + +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 +}