at master 1.3 kB view raw
1diff --git a/meson.build b/meson.build 2index 393f3ac1b93..fbc90b5645e 100644 3--- a/meson.build 4+++ b/meson.build 5@@ -1836,7 +1836,7 @@ endif 6 7 dep_clang = null_dep 8 if with_clc 9- llvm_libdir = dep_llvm.get_variable(cmake : 'LLVM_LIBRARY_DIR', configtool: 'libdir') 10+ llvm_libdir = get_option('clang-libdir') 11 12 dep_clang = cpp.find_library('clang-cpp', dirs : llvm_libdir, required : false) 13 14diff --git a/meson.options b/meson.options 15index b1cdb06fcc9..3e8861979ae 100644 16--- a/meson.options 17+++ b/meson.options 18@@ -856,3 +856,10 @@ option( 19 value : false, 20 description : 'Build virtgpu_kumquat (only useful with gfxstream currently)' 21 ) 22+ 23+option( 24+ 'clang-libdir', 25+ type : 'string', 26+ value : '', 27+ description : 'Locations to search for clang libraries.' 28+) 29diff --git a/src/gallium/targets/rusticl/meson.build b/src/gallium/targets/rusticl/meson.build 30index 2b214adbbf5..7f919397ad5 100644 31--- a/src/gallium/targets/rusticl/meson.build 32+++ b/src/gallium/targets/rusticl/meson.build 33@@ -64,7 +64,7 @@ configure_file( 34 configuration : _config, 35 input : 'rusticl.icd.in', 36 output : 'rusticl.icd', 37- install : true, 38+ install : false, 39 install_tag : 'runtime', 40 install_dir : join_paths(get_option('sysconfdir'), 'OpenCL', 'vendors'), 41 )