diff options
author | Rob Clark <[email protected]> | 2017-10-24 11:07:52 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-10-24 15:33:40 -0400 |
commit | 2207af032b0b7326341e974f3b2e0b802e231fa0 (patch) | |
tree | 13d3167a5a647739910602047e6e4e024b03cc28 /src | |
parent | 0ca8d53215a8e2991430dbcbc13fbaf5b442318c (diff) |
meson: extract out variable for nir_algebraic.py
Also needed in freedreno/ir3.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/nir/meson.build | 2 | ||||
-rw-r--r-- | src/intel/compiler/meson.build | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/nir/meson.build b/src/compiler/nir/meson.build index 144cf01d2c4..cb88effa628 100644 --- a/src/compiler/nir/meson.build +++ b/src/compiler/nir/meson.build @@ -193,6 +193,8 @@ libnir = static_library( build_by_default : false, ) +nir_algebraic_py = files('nir_algebraic.py') + if with_tests nir_control_flow_test = executable( 'nir_control_flow_test', diff --git a/src/intel/compiler/meson.build b/src/intel/compiler/meson.build index e29e1d39e2a..d6fb8f4a648 100644 --- a/src/intel/compiler/meson.build +++ b/src/intel/compiler/meson.build @@ -122,7 +122,7 @@ brw_nir_trig = custom_target( output : 'brw_nir_trig_workarounds.c', command : [prog_python2, '@INPUT@', '-p', join_paths(meson.source_root(), 'src/compiler/nir/')], - depend_files : files('../../compiler/nir/nir_algebraic.py'), + depend_files : nir_algebraic_py, capture : true, ) |