[Mesa-dev] [PATCH v10 12/20] configure.ac, meson: Check for SPIRV-Tools and llvm-spirv

Dylan Baker dylan at pnwbakers.com
Wed Jan 9 20:46:55 UTC 2019


Quoting Pierre Moreau (2019-01-09 11:24:12)
> > thanks! Just FYI, our meson build uses - in option names, not _. And, I'd prefer
> > just "opencl-spirv".
> 
> Err right, I meant with '-' in the option name.  I am fine with "opencl-spirv";
> I was initially going with "gallium-opencl-spirv" since the other
> clover-related command was named "gallium-opencl".
> 
> 
> > When I make the command line "gallium-opencl", we (Intel)
> > were still firmly in the not gallium world, now that we have iris and are moving
> > toward gallium I'm not sure I made the right decision :/
> 
> Easy: Intel can just drop all of its OpenCL drivers and embrace clover as the
> true one, that way everything is in the gallium word and there aren’t any
> confusions. :-D

Clover is at least much easier to build, and uses upstream LLVM :)

Unfortunately it seems like everyone is doing their own thing for OpenCL, since
we have our two different OpenCL drivers, there's the AMD ROCm one, and
obviously nvidia just does what they want.

> By the way, you made me spot an error in the root meson.build file:
> ```with_opencl_icd = _opencl == 'icd'```
> and a bit further down
> ```with_gallium_icd = false```
> I guess you were still hesitating on how to name it? ;-)
> I’ll send a separate patch to fix this.

oops! Although that looks more like copy-n-pasta too me :)

> 
> Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190109/d3173183/attachment.sig>


More information about the mesa-dev mailing list