Build fixes for vmsilo

This commit is contained in:
Davíð Steinn Geirsson 2026-03-23 13:52:04 +00:00
parent 760ac320be
commit 5d37cfc281
3 changed files with 9 additions and 2 deletions

View file

@ -1990,7 +1990,7 @@ endif
dep_clang = null_dep
if with_clc
llvm_libdir = dep_llvm.get_variable(cmake : 'LLVM_LIBRARY_DIR', configtool: 'libdir')
llvm_libdir = get_option('clang-libdir')
dep_clang = cpp.find_library('clang-cpp', dirs : llvm_libdir, required : false)

View file

@ -879,3 +879,10 @@ option(
value : false,
description : 'use experimental virtio backend for intel driver',
)
option(
'clang-libdir',
type : 'string',
value : '',
description : 'Locations to search for clang libraries.'
)

View file

@ -64,7 +64,7 @@ configure_file(
configuration : _config,
input : 'rusticl.icd.in',
output : 'rusticl.icd',
install : true,
install : false,
install_tag : 'runtime',
install_dir : join_paths(get_option('sysconfdir'), 'OpenCL', 'vendors'),
)