You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:30:27 UTC
[buildstream] 19/21: WIP: win32: sandboxnone: pass-through env for
now
This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a commit to branch aevri/win32
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit b9a93e48be367f274cf2c093d7ebfe5fdd7a6cf0
Author: Angelos Evripiotis <je...@bloomberg.net>
AuthorDate: Wed Apr 17 16:34:39 2019 +0100
WIP: win32: sandboxnone: pass-through env for now
Rely on the user running "Developer Command Prompt for VS2017", so that
we get the correct environment variables for building.
---
src/buildstream/sandbox/_sandboxnone.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/buildstream/sandbox/_sandboxnone.py b/src/buildstream/sandbox/_sandboxnone.py
index e95a7b9..f8a2bda 100644
--- a/src/buildstream/sandbox/_sandboxnone.py
+++ b/src/buildstream/sandbox/_sandboxnone.py
@@ -59,7 +59,8 @@ class SandboxNone(Sandbox):
path = pathlib.Path(self.get_directory()) / cwd
print('run', command, 'in', path)
- result = subprocess.run(command, cwd=path, env=env)
+ #result = subprocess.run(command, cwd=path, env=env)
+ result = subprocess.run(command, cwd=path)
# out = pathlib.Path(self.get_directory()) / 'buildstream-install'
# out.mkdir(exist_ok=True)