<div dir="auto">This doesn't solve the problem about missing CLC, but I pass -Dintel_rt=disabled to avoid the whole thing.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 5, 2024, 6:05 PM Brian Paul <<a href="mailto:brian.paul@broadcom.com">brian.paul@broadcom.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to build the Intel Vulkan driver. First time in a few <br>
months. I'm having build problems related to clc. I'm on Ubuntu 22.04<br>
<br>
<br>
[...]<br>
[1347/3181] Generating src/intel/vulkan/...om command (wrapped by meson <br>
to set env)<br>
FAILED: <br>
src/intel/vulkan/grl/gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable.h<br>
env MESA_SHADER_CACHE_DISABLE=true MESA_SPIRV_LOG_LEVEL=error <br>
/home/brianp/build3/mesa/build/src/intel/compiler/intel_clc -p dg2 <br>
--prefix gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable -e <br>
BFS_pass1_indexed_batchable --in <br>
../src/intel/vulkan/grl/gpu/bvh_build_BFS.cl --in <br>
/home/brianp/build3/mesa/src/intel/vulkan/grl/gpu/libs/<a href="http://lsc_intrinsics_fallback.cl" rel="noreferrer noreferrer" target="_blank">lsc_intrinsics_fallback.cl</a> <br>
-o <br>
src/intel/vulkan/grl/gfx125_bvh_build_BFS_BFS_pass1_indexed_batchable.h <br>
-- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 <br>
-DMAX_WORKGROUP_SIZE=16 <br>
-I/home/brianp/build3/mesa/src/intel/vulkan/grl/gpu <br>
-I/home/brianp/build3/mesa/src/intel/vulkan/grl/include<br>
ERROR: libclc shader missing. Consider installing the libclc package<br>
Aborted (core dumped)<br>
<br>
I've installed every clc-related package I could find. I've tried <br>
several options for the 'intel-clc' option without luck.<br>
<br>
BTW, the description of intel-clc in meson_options.txt looks suspect:<br>
<br>
option(<br>
'intel-clc',<br>
type : 'combo',<br>
deprecated: {'true': 'enabled', 'false': 'disabled'},<br>
value : 'disabled',<br>
choices : [<br>
'enabled', 'disabled', 'system',<br>
],<br>
description : 'Build the intel-clc compiler (enables Vulkan Intel ' +<br>
'Ray Tracing on supported hardware).'<br>
)<br>
<br>
The default is 'disabled' but that's deprecated? Choices include <br>
'enabled' but that's deprecated too?<br>
<br>
Any tips for building the ToT Intel Vulkan driver?<br>
<br>
-Brian<br>
<br>
-- <br>
This electronic communication and the information and any files transmitted <br>
with it, or attached to it, are confidential and are intended solely for <br>
the use of the individual or entity to whom it is addressed and may contain <br>
information that is confidential, legally privileged, protected by privacy <br>
laws, or otherwise restricted from disclosure to anyone else. If you are <br>
not the intended recipient or the person responsible for delivering the <br>
e-mail to the intended recipient, you are hereby notified that any use, <br>
copying, distributing, dissemination, forwarding, printing, or copying of <br>
this e-mail is strictly prohibited. If you received this e-mail in error, <br>
please return the e-mail to the sender, delete it from your computer, and <br>
destroy any printed copy of it.<br>
</blockquote></div>