diff options
Diffstat (limited to 'dev-util/spirv-llvm-translator/spirv-llvm-translator-13.0.0-r2.ebuild')
-rw-r--r-- | dev-util/spirv-llvm-translator/spirv-llvm-translator-13.0.0-r2.ebuild | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-13.0.0-r2.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-13.0.0-r2.ebuild deleted file mode 100644 index c3d768a3bbcc..000000000000 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-13.0.0-r2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_MAX_SLOT="13" -MY_PN="SPIRV-LLVM-Translator" -MY_P="${MY_PN}-${PV}" - -inherit cmake flag-o-matic llvm - -DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" -HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" -SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-rename-OpConstFunctionPointerINTEL.patch.bz2" -S="${WORKDIR}/${MY_P}" - -LICENSE="UoI-NCSA" -SLOT="$(ver_cut 1)" -KEYWORDS="amd64" -IUSE="test +tools" -REQUIRED_USE="test? ( tools )" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/spirv-headers - sys-devel/clang:${SLOT} - sys-devel/llvm:${SLOT} -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - virtual/pkgconfig - test? ( dev-python/lit ) -" - -PATCHES=( "${WORKDIR}"/${P}-rename-OpConstFunctionPointerINTEL.patch ) - -src_prepare() { - append-flags -fPIC - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCCACHE_ALLOWED="OFF" - -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" - -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${BROOT}/usr/include/spirv" - -DLLVM_BUILD_TOOLS=$(usex tools "ON" "OFF") - -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") - -Wno-dev - ) - - cmake_src_configure -} - -src_test() { - lit "${BUILD_DIR}/test" || die -} |