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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 77B0F15806E for ; Wed, 17 May 2023 23:35:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3460E07EF; Wed, 17 May 2023 23:35:39 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85156E07EF for ; Wed, 17 May 2023 23:35:39 +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 9B0BE335DA3 for ; Wed, 17 May 2023 23:35:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5836A68 for ; Wed, 17 May 2023 23:35:36 +0000 (UTC) From: "Nick Sarnie" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nick Sarnie" Message-ID: <1684365001.02de5cbf828a8bb44657fca60571e8a9b5163ed9.sarnex@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.246.ebuild X-VCS-Directories: dev-util/spirv-tools/ X-VCS-Committer: sarnex X-VCS-Committer-Name: Nick Sarnie X-VCS-Revision: 02de5cbf828a8bb44657fca60571e8a9b5163ed9 X-VCS-Branch: master Date: Wed, 17 May 2023 23:35:36 +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: 0e257c3b-4c5a-47ed-aca1-ea32cfbfa2a1 X-Archives-Hash: d3adfb3f36f34c56f27b14ff9fd62c98 commit: 02de5cbf828a8bb44657fca60571e8a9b5163ed9 Author: Nick Sarnie gentoo org> AuthorDate: Wed May 17 23:10:01 2023 +0000 Commit: Nick Sarnie gentoo org> CommitDate: Wed May 17 23:10:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02de5cbf dev-util/spirv-tools: add 1.3.246 Signed-off-by: Nick Sarnie gentoo.org> dev-util/spirv-tools/Manifest | 1 + dev-util/spirv-tools/spirv-tools-1.3.246.ebuild | 42 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-util/spirv-tools/Manifest b/dev-util/spirv-tools/Manifest index db9f4c923e76..20d1cd6d79a4 100644 --- a/dev-util/spirv-tools/Manifest +++ b/dev-util/spirv-tools/Manifest @@ -1 +1,2 @@ DIST spirv-tools-1.3.243.tar.gz 3102102 BLAKE2B c871a1e152423a1e09d228cc91df86df5c81e62aaecf140c57b95929bec63142384f3908deff51735b520e31261514124c0063c67a80fff688a054b3364f31df SHA512 6a3ad537d74892fb3418bb11dd7bd174b59edfb99029128dddde18a02d677d485a704d11cbdd3a3f1df3a18f8c534ab081b461cc82b5bc00c5a5c0601102bd65 +DIST spirv-tools-1.3.246.tar.gz 3102137 BLAKE2B b0532e5eb489cdd12c0c58dda5a6aca743d3a1de8a1cf255da55375224fd407037696d73f792e6a3758c9fdc222b8d820285c9d8fa0908597d9223299b597be6 SHA512 9308be180e7dcfc10c06d84fd8f7998fddc0d9bdaf06d0d150f645ab3cf8fa7551dee8014bb245019afa05bd9439eaf58ddfc0ed197226d11b111904119e310b diff --git a/dev-util/spirv-tools/spirv-tools-1.3.246.ebuild b/dev-util/spirv-tools/spirv-tools-1.3.246.ebuild new file mode 100644 index 000000000000..9b7c8253a4ff --- /dev/null +++ b/dev-util/spirv-tools/spirv-tools-1.3.246.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=SPIRV-Tools +PYTHON_COMPAT=( python3_{9..11} ) +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="sdk-${PV}.0" + 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 +}