The flag --root here is a workaround for buggy behavior in pip install where pip would ignore the --prefix setting when --global-option was supplied. As it turns out, --global-option is deprecated anyway so we removed in Legion. As a result, this is no longer required; the prefix is already set in the upstream project and the need for --root goes away with the removal of --global-option.
The flag
--root
here is a workaround for buggy behavior inpip install
where pip would ignore the--prefix
setting when--global-option
was supplied. As it turns out,--global-option
is deprecated anyway so we removed in Legion. As a result, this is no longer required; the prefix is already set in the upstream project and the need for--root
goes away with the removal of--global-option
.See this Legion MR for details:
https://gitlab.com/StanfordLegion/legion/-/merge_requests/1072
I'm not sure which branch to send this patch to so if I'm set the wrong one, let me know and I'll update it.