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 B5ABF158287 for ; Fri, 16 May 2025 03:16: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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 96FD434384D for ; Fri, 16 May 2025 03:16:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 57E0D11036D; Fri, 16 May 2025 03:16:17 +0000 (UTC) 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 bobolink.gentoo.org (Postfix) with ESMTPS id 487A41103C0 for ; Fri, 16 May 2025 03:16:17 +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 F2C5D3436A1 for ; Fri, 16 May 2025 03:16:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D4D31E64 for ; Fri, 16 May 2025 03:16:15 +0000 (UTC) From: "Matt Turner" 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" Message-ID: <1747365366.4954b9f64f467b2931e87ab99760e6f71248c3a1.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.313.0.ebuild X-VCS-Directories: dev-util/spirv-tools/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 4954b9f64f467b2931e87ab99760e6f71248c3a1 X-VCS-Branch: master Date: Fri, 16 May 2025 03:16:15 +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: d2e2e82f-cbf7-4a5e-ae96-80a6e2ee11f2 X-Archives-Hash: c55bee6ff652f06d765309165748c851 commit: 4954b9f64f467b2931e87ab99760e6f71248c3a1 Author: Matt Turner gentoo org> AuthorDate: Fri May 16 02:48:04 2025 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri May 16 03:16:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4954b9f6 dev-util/spirv-tools: Version bump to 1.4.313.0 Signed-off-by: Matt Turner gentoo.org> dev-util/spirv-tools/Manifest | 1 + dev-util/spirv-tools/spirv-tools-1.4.313.0.ebuild | 44 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-util/spirv-tools/Manifest b/dev-util/spirv-tools/Manifest index 9fd7f611518a..ba0aa12737fa 100644 --- a/dev-util/spirv-tools/Manifest +++ b/dev-util/spirv-tools/Manifest @@ -1 +1,2 @@ DIST spirv-tools-1.4.309.0.tar.gz 3244450 BLAKE2B 99ed29c131b8ef93e8081376c268b71aaf6309112b7e5d02d325cc4c93a831bf56d55ca64edd2c5aecc458ea5a6716f2d2147ee8770cc5055de4e7fb85bf082a SHA512 aa8163ad79eb5e60b8b373cbb49f1a140426f6346d5cb8e8a9aa2c72d6feaa528a9d690e0c52b44f3e4b2f60206050601441351f777752d6bf6c1b143f55589d +DIST spirv-tools-1.4.313.0.tar.gz 3285887 BLAKE2B ab716bd0f243bc9f519f08443b7394bcddd45eb708d53e255981f762c42e9ce9f030bbf7a16147b2a8cd33f66c64600b8df2646f34c060346cc14d4c85528529 SHA512 2e0cffc9550fa95da8622424012e1fa2decbc6b981e30114ac0b7a332d7a9abed9a2138dc83ff6eb0b6d3946c1f1b43679de0754ccb98380d4981e8130a5e248 diff --git a/dev-util/spirv-tools/spirv-tools-1.4.313.0.ebuild b/dev-util/spirv-tools/spirv-tools-1.4.313.0.ebuild new file mode 100644 index 000000000000..bc8bcafacacd --- /dev/null +++ b/dev-util/spirv-tools/spirv-tools-1.4.313.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_{11..14} ) +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~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 +}