[PATCH] D95604: Explicitly use python3 for lit sandbox
Oliver Stannard (Linaro) via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 28 02:46:47 PST 2021
ostannard created this revision.
ostannard added reviewers: serge-sans-paille, dblaikie, maxim-kuvyrkov.
Herald added a subscriber: kristof.beyls.
Herald added a reviewer: gkistanova.
ostannard requested review of this revision.
Without this, virtualenv defaults to python2 (at least on Ubuntu 18.04), which causes problems on the ARM/AArch64 bots which no longer have python2 installed.
Repository:
rZORG LLVM Github Zorg
https://reviews.llvm.org/D95604
Files:
zorg/buildbot/builders/ClangBuilder.py
Index: zorg/buildbot/builders/ClangBuilder.py
===================================================================
--- zorg/buildbot/builders/ClangBuilder.py
+++ zorg/buildbot/builders/ClangBuilder.py
@@ -532,7 +532,7 @@
workdir='test',
env=env))
f.addStep(ShellCommand(name='recreate sandbox',
- command=['virtualenv', 'sandbox'],
+ command=['virtualenv', '--python=python3', 'sandbox'],
haltOnFailure=True,
description='recreating sandbox',
workdir='test',
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95604.319805.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210128/2d91b60b/attachment.bin>
More information about the llvm-commits
mailing list