mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-util/spirv-tools: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST spirv-tools-1.4.313.0.tar.gz 3285887 BLAKE2B ab716bd0f243bc9f519f08443b7394bcddd45eb708d53e255981f762c42e9ce9f030bbf7a16147b2a8cd33f66c64600b8df2646f34c060346cc14d4c85528529 SHA512 2e0cffc9550fa95da8622424012e1fa2decbc6b981e30114ac0b7a332d7a9abed9a2138dc83ff6eb0b6d3946c1f1b43679de0754ccb98380d4981e8130a5e248
|
||||
DIST spirv-tools-1.4.321.0.tar.gz 3336926 BLAKE2B a7a5d9c8ccd8c224ceb4199fe03eb393cf0b931a8b060d825fc91fecc43f5444e63e8f8ea5d00589acda5981b8a8a51b53bc054f590a133bba20a607b303f7cf SHA512 ae133c7b27b2a4f472ecb2928120a3beec01fb306abfe5c1e315982d8ad98f67be8639e646c1172a5257d4a9010b000e6a5924b567d7878bf942a7b87cac4abc
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# 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"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( 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_SKIP_TESTS=$(usex !test)
|
||||
-DSPIRV_TOOLS_BUILD_STATIC=OFF
|
||||
-DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG"
|
||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# Not relevant for us downstream
|
||||
spirv-tools-copyrights
|
||||
# Tests fail upon finding symbols that do not match a regular expression
|
||||
# in the generated library. Easily hit with non-standard compiler flags
|
||||
spirv-tools-symbol-exports.*
|
||||
)
|
||||
|
||||
multilib-minimal_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user