~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/intel/compiler/meson.build

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
  'brw_ir_performance.cpp',
79
79
  'brw_ir_vec4.h',
80
80
  'brw_isa_info.h',
81
 
  'brw_kernel.c',
82
81
  'brw_lower_logical_sends.cpp',
83
82
  'brw_mesh.cpp',
84
83
  'brw_nir.h',
92
91
  'brw_nir_lower_cs_intrinsics.c',
93
92
  'brw_nir_lower_alpha_to_coverage.c',
94
93
  'brw_nir_lower_intersection_shader.c',
 
94
  'brw_nir_lower_non_uniform_resource_intel.c',
95
95
  'brw_nir_lower_ray_queries.c',
96
96
  'brw_nir_lower_rt_intrinsics.c',
97
97
  'brw_nir_lower_shader_calls.c',
161
161
  [libintel_compiler_files, brw_nir_trig, ir_expression_operation_h],
162
162
  include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_intel],
163
163
  c_args : [no_override_init_args],
164
 
  override_options: ['cpp_std=c++17'],
165
164
  gnu_symbol_visibility : 'hidden',
166
165
  dependencies : [idep_nir_headers, idep_mesautil, idep_intel_dev],
167
166
  build_by_default : false,
168
167
)
169
168
 
170
169
# For now this tool is only going to be used by Anv
171
 
if with_intel_clc
 
170
if get_option('intel-clc') == 'system'
 
171
  prog_intel_clc = find_program('intel_clc', native : true)
 
172
  dep_prog_intel_clc = []
 
173
elif with_intel_clc
172
174
  prog_intel_clc = executable(
173
175
    'intel_clc',
174
 
    ['intel_clc.c'],
 
176
    ['intel_clc.c', 'brw_kernel.c'],
175
177
    link_with : [
176
178
      libintel_compiler, libintel_common,libisl,
177
179
    ],
178
180
    include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_intel],
179
181
    c_args : [pre_args, no_override_init_args],
180
182
    link_args : [ld_args_build_id],
181
 
    dependencies : [idep_nir, idep_clc, idep_mesautil, idep_intel_dev],
 
183
    dependencies : [idep_nir, idep_vtn, idep_mesaclc, idep_mesautil, idep_intel_dev],
182
184
    native : true,
183
185
  )
 
186
  dep_prog_intel_clc = [prog_intel_clc]
184
187
endif
185
188
 
186
189
if with_tests
207
210
      link_with : [
208
211
        libintel_compiler, libintel_common, libisl
209
212
      ],
210
 
      override_options: ['cpp_std=c++17'],
211
213
      dependencies : [idep_gtest, idep_nir, idep_mesautil, idep_intel_dev],
212
214
    ),
213
215
    suite : ['intel'],