• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright © 2020 Google, Inc
2# SPDX-License-Identifier: MIT
3
4computerator_files = [
5  'a4xx.cc',
6  'a6xx.cc',
7  'ir3_asm.cc',
8  'main.cc',
9  freedreno_xml_header_files,
10  ir3_parser[1],
11]
12
13computerator_cpp_args = cpp.get_supported_arguments([
14  '-Wno-array-bounds',
15  '-Wno-sign-compare',
16])
17
18computerator = executable(
19  'computerator',
20  computerator_files,
21  include_directories : [
22    inc_freedreno,
23    inc_include,
24    inc_src,
25  ],
26  link_with : [
27    libfreedreno_drm,
28    libfreedreno_ir3,
29    libfreedreno_perfcntrs,
30    libfreedreno_common,
31  ],
32  dependencies : [
33    dep_libdrm,
34    idep_mesautil,
35    # We don't actually use nir, but ir3 wants some nir headers:
36    idep_nir,
37  ],
38  cpp_args : [computerator_cpp_args],
39  build_by_default : with_tools.contains('freedreno'),
40  install : with_tools.contains('freedreno'),
41)
42