X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2FSConscript.nir;h=41c67941f51b4b60512c27d1763536ada10f8750;hb=5eacaa95a782eb1e63f6c51dc3f1ace1960ab958;hp=3c685a2dc5f35048094169d4b184d52f3b5f06ce;hpb=7d6af9e59935959689ac9611f17abc06c6837f16;p=mesa.git diff --git a/src/compiler/SConscript.nir b/src/compiler/SConscript.nir index 3c685a2dc5f..41c67941f51 100644 --- a/src/compiler/SConscript.nir +++ b/src/compiler/SConscript.nir @@ -59,6 +59,22 @@ env.CodeGenerate( command = python_cmd + ' $SCRIPT > $TARGET' ) +bldroot = Dir('.').abspath + +env.CodeGenerate( + target = 'nir/nir_intrinsics.h', + script = 'nir/nir_intrinsics_h.py', + source = [], + command = python_cmd + ' $SCRIPT --outdir ' + bldroot + '/nir' +) + +env.CodeGenerate( + target = 'nir/nir_intrinsics.c', + script = 'nir/nir_intrinsics_c.py', + source = [], + command = python_cmd + ' $SCRIPT --outdir ' + bldroot + '/nir' +) + # parse Makefile.sources source_lists = env.ParseSourceList('Makefile.sources')