Lines Matching +full:microsoft +full:- +full:clc
1 # Copyright © Microsoft Corporation
2 # SPDX-License-Identifier: MIT
5 'clc.c',
11 _libmesaclc_cpp_args = ['-DLLVM_LIB_DIR="@0@"'.format(llvm_libdir)]
26 'opencl-c-base.h',
27 input : [files_xxd, join_paths(clang_resource_dir, 'opencl-c-base.h')],
28 output : 'opencl-c-base.h.h',
29 command : [prog_python, '@INPUT@', '@OUTPUT@', '-n', 'opencl_c_base_source'],
33 'opencl-c.h',
34 input : [files_xxd, join_paths(clang_resource_dir, 'opencl-c.h')],
35 output : 'opencl-c.h.h',
36 command : [prog_python, '@INPUT@', '@OUTPUT@', '-n', 'opencl_c_source'],
40 _libmesaclc_cpp_args += ['-DUSE_STATIC_OPENCL_C_H=1']
45 _static_libclc = get_option('static-libclc')
53 _libmesaclc_c_args += '-DHAVE_STATIC_LIBCLC_ZSTD'
56 _libmesaclc_c_args += '-DHAVE_STATIC_LIBCLC_@0@'.format(s.to_upper())
57 f = '@0@-mesa3d-.spv'.format(s)
62 command : [prog_zstd, '-f', '@INPUT@', '-o', '@OUTPUT@'],
70 prog_python, files_xxd, '-b', '@INPUT@', '@OUTPUT@',
71 '-n', 'libclc_@0@_mesa3d_spv'.format(s),
79 _libmesaclc_c_args += ['-DDYNAMIC_LIBCLC_PATH="@0@/"'.format(_basedir)]
89 '#include <spirv-tools/linker.hpp>',
94 error('SPIRV-Tools doesn\'t contain https://github.com/KhronosGroup/SPIRV-Tools/pull/5534\n')
98 _libmesaclc_c_args += ['-DHAS_SPIRV_LINK_LLVM_WORKAROUND=1']
114 _idep_mesaclc_link_args += cc.get_supported_link_arguments('-fPIC')
123 if get_option('mesa-clc') != 'system' and (with_gallium_asahi or \
127 get_option('install-mesa-clc'))
139 install : get_option('install-mesa-clc'),