From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1729132-garchives=archives.gentoo.org@lists.gentoo.org> 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E8AC1584F2 for <garchives@archives.gentoo.org>; Tue, 18 Mar 2025 15:30:15 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 81E2E34312E for <garchives@archives.gentoo.org>; Tue, 18 Mar 2025 15:30:15 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7ECCE11037F; Tue, 18 Mar 2025 15:30:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 6C5A911037F for <gentoo-commits@lists.gentoo.org>; Tue, 18 Mar 2025 15:30:14 +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 26118343134 for <gentoo-commits@lists.gentoo.org>; Tue, 18 Mar 2025 15:30:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81CB52144 for <gentoo-commits@lists.gentoo.org>; Tue, 18 Mar 2025 15:30:12 +0000 (UTC) From: "Matt Turner" <mattst88@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org> Message-ID: <1742311610.ac79606d5d08df5bcc5b52ec4520268cf2185d2f.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/spirv-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/spirv-tools/Manifest dev-util/spirv-tools/spirv-tools-1.4.309.0.ebuild X-VCS-Directories: dev-util/spirv-tools/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: ac79606d5d08df5bcc5b52ec4520268cf2185d2f X-VCS-Branch: master Date: Tue, 18 Mar 2025 15:30:12 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 67c9c719-1d9d-4707-b138-0366cbe0540c X-Archives-Hash: 3a5fa50927e6f929de7a1a55226a3ced commit: ac79606d5d08df5bcc5b52ec4520268cf2185d2f Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Tue Mar 18 14:48:12 2025 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Tue Mar 18 15:26:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac79606d dev-util/spirv-tools: Version bump to 1.4.309.0 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> dev-util/spirv-tools/Manifest | 1 + dev-util/spirv-tools/spirv-tools-1.4.309.0.ebuild | 44 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-util/spirv-tools/Manifest b/dev-util/spirv-tools/Manifest index 8bb8bb066e17..07717d004d8f 100644 --- a/dev-util/spirv-tools/Manifest +++ b/dev-util/spirv-tools/Manifest @@ -1 +1,2 @@ DIST spirv-tools-1.4.304.0.tar.gz 3203635 BLAKE2B e4a80a5de07d62f3544d165ea5f7fe4c0bdaf389e56e93cd2b6ccbcaff759dbda90be99fd07a136112e7e53b7c220819fe4da56f46bc68ab84b441748c74e6aa SHA512 5824e8ee1360fccab6f41afb0d1f297fd044f4237448de49906349f745522f3208f2960e7ddf5396c3e2ea4e35b6e0e3e61e7855f4599ee22a0c9829daab3156 +DIST spirv-tools-1.4.309.0.tar.gz 3244450 BLAKE2B 99ed29c131b8ef93e8081376c268b71aaf6309112b7e5d02d325cc4c93a831bf56d55ca64edd2c5aecc458ea5a6716f2d2147ee8770cc5055de4e7fb85bf082a SHA512 aa8163ad79eb5e60b8b373cbb49f1a140426f6346d5cb8e8a9aa2c72d6feaa528a9d690e0c52b44f3e4b2f60206050601441351f777752d6bf6c1b143f55589d diff --git a/dev-util/spirv-tools/spirv-tools-1.4.309.0.ebuild b/dev-util/spirv-tools/spirv-tools-1.4.309.0.ebuild new file mode 100644 index 000000000000..29b34eaf79c8 --- /dev/null +++ b/dev-util/spirv-tools/spirv-tools-1.4.309.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=SPIRV-Tools +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="xml(+)" +inherit cmake-multilib python-any-r1 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" + inherit git-r3 +else + EGIT_COMMIT="vulkan-sdk-${PV}" + SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + S="${WORKDIR}"/${MY_PN}-${EGIT_COMMIT} +fi + +DESCRIPTION="Provides an API and commands for processing SPIR-V modules" +HOMEPAGE="https://github.com/KhronosGroup/SPIRV-Tools" + +LICENSE="Apache-2.0" +SLOT="0" +# Tests fail upon finding symbols that do not match a regular expression +# in the generated library. Easily hit with non-standard compiler flags +RESTRICT="test" + +DEPEND="~dev-util/spirv-headers-${PV}" +# RDEPEND="" +BDEPEND="${PYTHON_DEPS}" + +multilib_src_configure() { + local mycmakeargs=( + -DSPIRV-Headers_SOURCE_DIR="${ESYSROOT}"/usr/ + -DSPIRV_WERROR=OFF + -DSPIRV_TOOLS_BUILD_STATIC=OFF + -DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" + -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" + ) + + cmake_src_configure +}