mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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:
@@ -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}]"
|
||||
|
||||
@@ -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}]"
|
||||
|
||||
Reference in New Issue
Block a user