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
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Add support for building CoreCLR using python3 (#28087)
This is a combined fix from 3 different PRs and one additional fix for
2.1:
- #19043
- #19356
- #22145
The 2.1-specific fix is that python is is only used as a fallback, in
case all other python program names dont work.
As for the original PRs, they perform these changes:
build.sh and build.cmd contain logic to identify a working version of
python to use. System.Private.CoreLib ignores that and directly invokes
'python', which may not work, or even execute a different program. Fix
that.
The windows build scripts try finding python in order of python3,
python2 and then python. The unix build scripts dont. They just try
python2 variants and then fail. This change makes brings them closer
together by letting users build using only python3.
Use the same logic in CMakeLists.txt that's used in build.sh/build.cmd
to lookup python.
0 commit comments