From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04C351581D3 for ; Thu, 16 May 2024 14:53:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC13FE2A44; Thu, 16 May 2024 14:53:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B48E8E2A44 for ; Thu, 16 May 2024 14:53:57 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1C3A340775 for ; Thu, 16 May 2024 14:53:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8860C1ACD for ; Thu, 16 May 2024 14:53:55 +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: <1715871222.f9997b69829ab24c91247ce6ec635b7a6c0aa019.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.3.283.0.ebuild X-VCS-Directories: dev-util/spirv-tools/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: f9997b69829ab24c91247ce6ec635b7a6c0aa019 X-VCS-Branch: master Date: Thu, 16 May 2024 14:53:55 +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: dcbc0293-5264-46f9-8d0d-028bb41a67cf X-Archives-Hash: c1cbaae7b091ce75d617fd4e778253be commit: f9997b69829ab24c91247ce6ec635b7a6c0aa019 Author: Matt Turner gentoo org> AuthorDate: Thu May 16 14:24:14 2024 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu May 16 14:53:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9997b69 dev-util/spirv-tools: Version bump to 1.3.283.0 Signed-off-by: Matt Turner gentoo.org> dev-util/spirv-tools/Manifest | 1 + dev-util/spirv-tools/spirv-tools-1.3.283.0.ebuild | 42 +++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-util/spirv-tools/Manifest b/dev-util/spirv-tools/Manifest index 85a33708176d..20b49f15995e 100644 --- a/dev-util/spirv-tools/Manifest +++ b/dev-util/spirv-tools/Manifest @@ -1,2 +1,3 @@ DIST spirv-tools-1.3.275.tar.gz 3153781 BLAKE2B 963504946f9e7b89959da8e280c15027ebe330877e6878d1c03ee163ed5b464f62f3203bd9efc1fcfd85842ff9acfb939ee89029642ac304de44395861a402f3 SHA512 f17692509ecfbd753a853eaa01d559c06b06fa15b287971da814044418da71a94813606acfe536fa519e8aeba92bdfc80971acb749dab6e7cc395773c4f05693 DIST spirv-tools-1.3.280.0.tar.gz 3173979 BLAKE2B 6037dc8d3868c03d87a79390018b32a08ebb28034d1e33e1328f111d24de0d37c8152aa7e6065129e9d8f8a6003cbfade25dc5b24e72749f5896dd598f96fe87 SHA512 3ccab3118e0a1d6f20d031cd1f90f2546b618370b90aacc468fc598d523463452f65ed2c89c1de4e2bb8933b9757eb8123363483bcd853e92d41c95ea419e79f +DIST spirv-tools-1.3.283.0.tar.gz 3177854 BLAKE2B 385ee01d6559d84711c1ba1a0256ecb91472bdfce920560011678e042df1a921378b234812a446ce49d46697549f202309382d10d69b1e29e53d0394ebbd3f23 SHA512 45c521307c8df2d74bdf811a50ff37028a45a77f58dcac910924f3490dfe3f8e9dacace77dab989d8d261528cd0f0a8e36ca7627dda608b9b09afb2e374736e5 diff --git a/dev-util/spirv-tools/spirv-tools-1.3.283.0.ebuild b/dev-util/spirv-tools/spirv-tools-1.3.283.0.ebuild new file mode 100644 index 000000000000..8c5305b6b291 --- /dev/null +++ b/dev-util/spirv-tools/spirv-tools-1.3.283.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 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 ~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 + ) + + cmake_src_configure +}