media-libs/mesa: Limit Vulkan ray tracing deps to amd64

To match the upstream meson.build.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2023-07-01 20:06:48 -07:00
parent cf47917c99
commit 713b6396d6
2 changed files with 4 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ PER_SLOT_DEPSTR="
!opencl? ( sys-devel/llvm:@SLOT@[${LLVM_USE_DEPS}] )
opencl? ( sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}] )
opencl? ( dev-util/spirv-llvm-translator:@SLOT@ )
vulkan? ( video_cards_intel? ( dev-util/spirv-llvm-translator:@SLOT@ ) )
vulkan? ( video_cards_intel? ( amd64? ( dev-util/spirv-llvm-translator:@SLOT@ ) ) )
)
"
LLVM_DEPSTR="
@@ -194,7 +194,7 @@ llvm_check_deps() {
if use opencl; then
has_version "sys-devel/clang:${LLVM_SLOT}[${LLVM_USE_DEPS}]" || return 1
fi
if use opencl || { use vulkan && use video_cards_intel; }; then
if use opencl || { use vulkan && use video_cards_intel && use amd64; }; then
has_version "dev-util/spirv-llvm-translator:${LLVM_SLOT}" || return 1
fi
has_version "sys-devel/llvm:${LLVM_SLOT}[${LLVM_USE_DEPS}]"

View File

@@ -132,7 +132,7 @@ PER_SLOT_DEPSTR="
!opencl? ( sys-devel/llvm:@SLOT@[${LLVM_USE_DEPS}] )
opencl? ( sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}] )
opencl? ( dev-util/spirv-llvm-translator:@SLOT@ )
vulkan? ( video_cards_intel? ( dev-util/spirv-llvm-translator:@SLOT@ ) )
vulkan? ( video_cards_intel? ( amd64? ( dev-util/spirv-llvm-translator:@SLOT@ ) ) )
)
"
LLVM_DEPSTR="
@@ -194,7 +194,7 @@ llvm_check_deps() {
if use opencl; then
has_version "sys-devel/clang:${LLVM_SLOT}[${LLVM_USE_DEPS}]" || return 1
fi
if use opencl || { use vulkan && use video_cards_intel; }; then
if use opencl || { use vulkan && use video_cards_intel && use amd64; }; then
has_version "dev-util/spirv-llvm-translator:${LLVM_SLOT}" || return 1
fi
has_version "sys-devel/llvm:${LLVM_SLOT}[${LLVM_USE_DEPS}]"