summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-04-29 22:19:27 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-04-29 22:19:27 +0200
commitfc043f55a905146dacb5c737c1f31f442176f41d (patch)
treea556896503cdea3aafe65564822fc1268f005ee2 /dev-util
parentdev-libs/opencl-clang: add 12.0.0 (diff)
downloadgentoo-fc043f55a905146dacb5c737c1f31f442176f41d.tar.gz
gentoo-fc043f55a905146dacb5c737c1f31f442176f41d.tar.bz2
gentoo-fc043f55a905146dacb5c737c1f31f442176f41d.zip
dev-util/spirv-llvm-translator: disable ccache
Closes: https://bugs.gentoo.org/841518 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/spirv-llvm-translator/spirv-llvm-translator-13.0.0-r2.ebuild4
-rw-r--r--dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.ebuild4
2 files changed, 6 insertions, 2 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
index 149afed3b91d..c3d768a3bbcc 100644
--- 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
@@ -16,7 +16,7 @@ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-rename-O
S="${WORKDIR}/${MY_P}"
LICENSE="UoI-NCSA"
-SLOT="13"
+SLOT="$(ver_cut 1)"
KEYWORDS="amd64"
IUSE="test +tools"
REQUIRED_USE="test? ( tools )"
@@ -44,10 +44,12 @@ 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
diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.ebuild
index d28f7c33dc4c..7d086c197318 100644
--- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.ebuild
+++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-14.0.0-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.
S="${WORKDIR}/${MY_P}"
LICENSE="UoI-NCSA"
-SLOT="14"
+SLOT="$(ver_cut 1)"
KEYWORDS="~amd64"
IUSE="test +tools"
REQUIRED_USE="test? ( tools )"
@@ -41,10 +41,12 @@ 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