This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Make build.py use uname to set platform
ClosedPublic

Authored by omjavaid on Aug 31 2022, 4:38 AM.

Details

Summary

This patch makes build helper script build.py to use platform.uname for
machine/architecture detection. Visual studio environment when set using
various batch files like vcvars*.bat set PLATFORM environment variable
however VsDevCmd.bat does not set PLATFORM variable.

Diff Detail

Event Timeline

omjavaid created this revision.Aug 31 2022, 4:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 31 2022, 4:38 AM
omjavaid requested review of this revision.Aug 31 2022, 4:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 31 2022, 4:38 AM
This revision is now accepted and ready to land.Aug 31 2022, 5:32 AM
This revision was automatically updated to reflect the committed changes.