executorch
executorch copied to clipboard
Only unset HOME when running cmake as root
This hack is required to work around pytorch/test-infra#5091, which runs some CI jobs as root, which buck2 doesn't like.
But we saw in #3502 that this can break things for some normal users.
Reduce the blast radius of this hack, only modifying HOME when actually running as root.
Cherry-pick #3507
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3512
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
:white_check_mark: No Failures
As of commit 9904f7331c2f6324b54e02ff98fe4f0605bd9bef with merge base d3326a2073dee7baf78044fb3afd0772edbc616a ():
:green_heart: Looks good so far! There are no failures yet. :green_heart:
This comment was automatically generated by Dr. CI and updates every 15 minutes.