[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1] automation: use PYTHON for qemu-deps-check.py
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Olaf Hering <olaf@xxxxxxxxx>
- Date: Mon, 7 Oct 2024 17:22:45 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1728314586; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=ZLyyPyY21XH/g5GFUA65N9ZAMMYv+X479puQnKzqNyI=; b=toYD0Qi5HfCahP/N4HQW87XGlg1VN+Ej9wIzrm9LNhbzqx14OFd0FzudaVpmeelfUh x3eFLk5ghFpPgYzc/3ZmaeAW3HEpG2kFDDt/402BoIiHDtg2zEJhxojwhH+DQMeDXnGI iT7TeZD9hs3kV60UiBSg2lVVfQU/J4iw38U3fFnb/+86o4HKLTDr/3SlS9nsQcZ9c+5c ZthCeiKBDTVYmmz387vSlATKo87Y+sgBZiBqILyvivt1Y4y7yM6YR3rsEF/FBBZRQJR2 DrqQlGhh2z5oaImIA/aCu+6ncZmFXV/Xn/9XYaXOabU9x8Cmgm+I7QV/lBbZKb9K4FNb ZIlA==
- Arc-seal: i=1; a=rsa-sha256; t=1728314586; cv=none; d=strato.com; s=strato-dkim-0002; b=M02XMiykRRo7bGwbbi6boN4cikEwYjx765x9X//8zAPm/h/+W7MP/thEie6L0CKB3l /9NJvHrhoHUAo4+jO00xyfJr3/06eosoWVoM6OXHV+uEU4vj0emAHqt/J2SkaZsptmYn 23mD/mQfhmuE7/RqSW8FqnKovw+HGFOKlO8YUChA4FzsdlfXcgv3i4+TBy+21UHk5Zjz XgwncErIoyFvf2GxPD0hkZuh9OIs0p4LRCQTDja3rHHmI1i7L448rUZAU03PeyHkdPhQ 4KvJUDv2lv6hVxYXnNgrIoJLTQFCHQB8QOF50sqnypxYClnSvb+W24fM8Cjm6NurtBFq gSjg==
- Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
- Delivery-date: Mon, 07 Oct 2024 15:23:27 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
This enables use of something else than the system 'python3' binary.
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
automation/scripts/build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/automation/scripts/build b/automation/scripts/build
index 34416297a4..5d806c235a 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -93,7 +93,7 @@ else
# Qemu requires Python 3.8 or later, and ninja
# and Clang 10 or later
- if ! type python3 || ! python3 automation/scripts/qemu-deps-check.py \
+ if ! type "${PYTHON:-python3}" || ! "${PYTHON:-python3}"
automation/scripts/qemu-deps-check.py \
|| [[ "$cc_is_clang" == y && "$cc_ver" -lt 0x0a0000 ]] \
|| ! type ninja; then
cfgargs+=("--with-system-qemu=/bin/false")
|