1# Copyright 2017 Intel Corporation 2# SPDX-License-Identifier: MIT 3 4prog_asahi_clc = executable( 5 'asahi_clc', 6 ['asahi_clc.c'], 7 link_with : [libasahi_compiler], 8 include_directories : [inc_include, inc_src], 9 c_args : [pre_args, no_override_init_args], 10 link_args : [ld_args_build_id], 11 dependencies : [idep_mesaclc, dep_llvm, dep_spirv_tools, idep_nir, idep_mesautil], 12 # If we can run host binaries directly, just build asahi_clc for the host. 13 # Most commonly this happens when doing a cross compile from an x86_64 build 14 # machine to an x86 host 15 native : not meson.can_run_host_binaries(), 16) 17