This is an archive of the discontinued LLVM Phabricator instance.

[lit] Pass the USERPROFILE variable through on Windows
ClosedPublic

Authored by mstorsjo on Mar 18 2021, 5:20 AM.

Details

Summary

When running in a Windows Container, the Git for Windows Unix tools
(C:\Program Files\Git\usr\bin) just hang if this variable isn't
passed through.

Currently, running the LLVM/clang tests in a Windows Container fails
if that directory is added to the path, but succeeds after this change.
(After this change, the previously used GnuWin tools can be left out
entirely, too, as lit automatically picks up the Git for Windows tools
if necessary.)

Diff Detail

Event Timeline

mstorsjo created this revision.Mar 18 2021, 5:20 AM
mstorsjo requested review of this revision.Mar 18 2021, 5:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2021, 5:20 AM
goncharov accepted this revision.Mar 19 2021, 12:37 AM
This revision is now accepted and ready to land.Mar 19 2021, 12:37 AM
This revision was automatically updated to reflect the committed changes.