Intel clc dependency

Brian Paul brian.paul at broadcom.com
Fri Apr 5 22:29:52 UTC 2024


Thanks, Mike.  That works as I don't need RT functionality.

BTW, I was looking at a stale meson_options.txt file so ignore my 
comments about that.

-Brian


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


-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.


More information about the mesa-dev mailing list