'bifrost_compile.c',
)
+bifrost_nir_algebraic_c = custom_target(
+ 'bifrost_nir_algebraic.c',
+ input : 'bifrost_nir_algebraic.py',
+ output : 'bifrost_nir_algebraic.c',
+ command : [
+ prog_python, '@INPUT@',
+ '-p', join_paths(meson.source_root(), 'src/compiler/nir/'),
+ ],
+ capture : true,
+ depend_files : nir_algebraic_py,
+)
+
libpanfrost_bifrost = static_library(
'panfrost_bifrost',
- [libpanfrost_bifrost_files],
+ [libpanfrost_bifrost_files, bifrost_nir_algebraic_c],
include_directories : [inc_common, inc_include, inc_src],
dependencies: [idep_nir],
link_with: [libpanfrost_util],