intel: use a flag instead of setting PYTHONPATH
authorDylan Baker <dylan@pnwbakers.com>
Tue, 19 Sep 2017 18:46:16 +0000 (11:46 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 27 Sep 2017 16:07:28 +0000 (09:07 -0700)
commit848da662224326ccfbe6647bc82f4f89ca22c762
treee5779521af3f18afb6fb639a42f5b8561e0aea64
parenta65db0ad1c3ace58fbc81b6860e28c0a7645257c
intel: use a flag instead of setting PYTHONPATH

Meson doesn't allow setting environment variables for custom targets, so
we either need to not pass this as an environment variable or use a
shell script to wrap the invocation. The chosen solution has the
advantage of working for both autotools and meson.

v2: - put rules back in top scope (Ken)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
src/intel/Makefile.compiler.am
src/intel/compiler/brw_nir_trig_workarounds.py