mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
rusticl: meson devenv support
This gets 'meson devenv -C build clinfo' working on iris for me. Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19451>
This commit is contained in:
parent
a71d068fd0
commit
b78afc2c73
1 changed files with 8 additions and 0 deletions
|
|
@ -61,3 +61,11 @@ configure_file(
|
|||
install : true,
|
||||
install_dir : join_paths(get_option('sysconfdir'), 'OpenCL', 'vendors'),
|
||||
)
|
||||
|
||||
if meson.version().version_compare('>= 0.58')
|
||||
# .so is hardcoded in the icd as well
|
||||
devenv.prepend(
|
||||
'OCL_ICD_VENDORS',
|
||||
meson.current_build_dir() / 'libRusticlOpenCL.so.@0@'.format(opencl_version)
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue