mesa update to 24.1.x (VIDEO_CARDS=i915) it selects intel_clc and its bdeps even if opencl is disabled. intel_clc is used by opencl, should not be enabled when opencl is disabled. thus llvm will build when mesa update. [ebuild N ] sys-devel/llvm-common-17.0.6::gentoo USE="-emacs -verify-sig" 124843 KiB [ebuild N ] sys-devel/clang-common-17.0.6-r5::gentoo USE="cet -bootstrap-prefix -default-compiler-rt -default-libcxx -default-lld -hardened -llvm-libunwind -verify-sig" 0 KiB [ebuild N ] sys-libs/binutils-libs-2.42-r1:0/2.42.0::gentoo USE="cet nls -64-bit-bfd -multitarget -static-libs -test" ABI_X86="(64) -32 (-x32)" 26956 KiB [ebuild N ] sys-libs/libomp-17.0.6:0/17::gentoo USE="-debug -gdb-plugin -hwloc -offload -ompt -test -verify-sig" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(-AMDGPU) -NVPTX" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 0 KiB [ebuild N ] sys-devel/llvm-17.0.6:17::gentoo USE="binutils-plugin libffi ncurses zstd -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -xar -xml -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa" 259 KiB [ebuild N ] sys-devel/llvm-toolchain-symlinks-17:17::gentoo USE="native-symlinks -multilib-symlinks" 0 KiB [ebuild N ] sys-devel/llvmgold-17::gentoo 0 KiB [ebuild N ] sys-devel/clang-17.0.6:17::gentoo USE="extra (pie) static-analyzer -debug -doc (-ieee-long-double) -test -verify-sig -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 3 KiB [ebuild N ] sys-devel/clang-toolchain-symlinks-17:17::gentoo USE="native-symlinks -gcc-symlinks -multilib-symlinks" 0 KiB [ebuild N ] sys-libs/compiler-rt-17.0.6:17::gentoo USE="clang -debug -test -verify-sig" ABI_X86="32 (64)" 0 KiB [ebuild N ] sys-libs/compiler-rt-sanitizers-17.0.6:17::gentoo USE="asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan orc profile safestack scudo tsan ubsan xray -debug (-shadowcallstack) -test -verify-sig" ABI_X86="32 (64)" 0 KiB [ebuild N ] sys-devel/clang-runtime-17.0.6:17::gentoo USE="compiler-rt openmp sanitize -libcxx" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild N ] dev-util/spirv-llvm-translator-17.0.0-r2:17::gentoo USE="-test" 1564 KiB [ebuild N ] dev-libs/libclc-17.0.6::gentoo USE="spirv -verify-sig" VIDEO_CARDS="-nvidia -r600 -radeonsi" 0 KiB [ebuild N ] dev-util/intel_clc-24.1.3::gentoo USE="-debug" LLVM_SLOT="17 -16 (-18)" 28405 KiB [ebuild U ] media-libs/mesa-24.1.3::gentoo [24.0.9::gentoo] USE="(opengl) proprietary-codecs vaapi zstd -X -d3d9 -debug -llvm -lm-sensors -opencl -osmesa (-selinux) -test -unwind -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa (-gles1%) (-gles2%*) (-zink%)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="17 -15 -16 (-18)" VIDEO_CARDS="intel -d3d12 (-freedreno) -lavapipe (-lima) -nouveau (-nvk) (-panfrost) -r300 -r600 -radeon -radeonsi (-v3d) (-vc4) -virgl (-vivante) -vmware -zink%" 369 KiB ``` video_cards_intel? ( ~dev-util/intel_clc-${PV} dev-libs/libclc[spirv(-)] $(python_gen_any_dep "dev-python/ply[\${PYTHON_USEDEP}]") ) ``` this block should be under opencl? () block, to avoid this issue. Reproducible: Always
No, it's actually required even without USE=opencl. See: commit f21a150abe95c332adf035356dede1c54cce5da2 Author: Matt Turner <mattst88@gentoo.org> Date: Tue Feb 13 17:03:20 2024 -0500 media-libs/mesa: Depend on intel_clc for VIDEO_CARDS=intel New requirement added by upstream commit a512c2a8b57 ("meson: enforce build of intel-clc with anv/iris"). And now that `-Dintel_clc=system` is required for more than just ray-tracing support, set the new `-Dintel-rt=` option as well. Signed-off-by: Matt Turner <mattst88@gentoo.org>