You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of ordering all environ hooks based on their basename across packages on Windows I will update the Linux behavior to source the environment of each package in topological order of the packages.
If we invoke Python for this the prefix level setup file will be a bit slower. But the result will be the same environment as for an isolated build. We can refactor the ordering into shell / batch code if the performance improvement is worth it.
Since the overhead for calling Python is only linear in the number of unique parent prefix paths and not with the number of upstream packages I won't implement the ordering in shell code for now.
Activity
dirk-thomas commentedon Oct 26, 2015
Instead of ordering all environ hooks based on their basename across packages on Windows I will update the Linux behavior to source the environment of each package in topological order of the packages.
If we invoke Python for this the prefix level setup file will be a bit slower. But the result will be the same environment as for an isolated build. We can refactor the ordering into shell / batch code if the performance improvement is worth it.
.sh.batimprove performance buy generating topological order in the shell script instead of in Python[-]Fix sorting of environment hooks on Windows[/-][+]Change sorting of environment hooks[/+]dirk-thomas commentedon Oct 27, 2015
Since the overhead for calling Python is only linear in the number of unique parent prefix paths and not with the number of upstream packages I won't implement the ordering in shell code for now.