[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/5] hexagon: use env keyword argument to pass PYTHONPATH
From: |
Paolo Bonzini |
Subject: |
[PATCH 3/5] hexagon: use env keyword argument to pass PYTHONPATH |
Date: |
Mon, 4 Oct 2021 11:30:51 +0200 |
This feature is new in meson 0.57 and allows getting rid of the "env" wrapper.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
target/hexagon/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build
index 6fd9360b74..c6d858ffb2 100644
--- a/target/hexagon/meson.build
+++ b/target/hexagon/meson.build
@@ -156,7 +156,8 @@ dectree_generated = custom_target(
'dectree_generated.h.inc',
output: 'dectree_generated.h.inc',
depends: [iset_py],
- command: ['env', 'PYTHONPATH=' + meson.current_build_dir(),
files('dectree.py'), '@OUTPUT@'],
+ env: {'PYTHONPATH': meson.current_build_dir()},
+ command: [python, files('dectree.py'), '@OUTPUT@'],
)
hexagon_ss.add(dectree_generated)
--
2.31.1
- [PATCH 0/5] Upgrade minimum Meson version to 0.58.2, recommended to 0.59.2, Paolo Bonzini, 2021/10/04
- [PATCH 1/5] meson: bump submodule to 0.59.2, Paolo Bonzini, 2021/10/04
- [PATCH 2/5] meson: switch minimum meson version to 0.58.2, minimum recommended to 0.59.2, Paolo Bonzini, 2021/10/04
- [PATCH 4/5] target/xtensa: list cores in a text file, Paolo Bonzini, 2021/10/04
- [PATCH 3/5] hexagon: use env keyword argument to pass PYTHONPATH,
Paolo Bonzini <=
- [PATCH 5/5] meson: show library versions in the summary, Paolo Bonzini, 2021/10/04