- For CoreCLR
- For CPython
- Git
- TortoiseSVN (required to get external dependencies)
- Visual Studio
Run GetDeps.bat
to use git to download CoreCLR and Python. It will also patch Python to have JIT support and CoreCLR to disable COM support.
Run BuildDeps.cmd
to build CoreCLR and Python (which includes downloading Python's dependencies).
- From Visual Studio
- Open the
pyjion.sln
file - Build the solution
- Open the
- Run
CopyFiles.bat
to copy files to key locations
- From Visual Studio
4. Set the
Test
solution as the StartUp project 5. Run the solution (i.e., press F5) - From Powershell
4. Run
x64\Debug\Test.exe
If the output window closes and return an exit code of 0 then the tests passed.
- Copy
x64\Debug\pyjit.dll
toPython\PCbuild\amd64\
(initially done byCopyFiles.bat
, so only do as necessary after rebuilding Pyjion) - Go into the
Python
directory and launchpython.bat
You'll need to run git clean -d -f -x
in CoreCLR when switching between release and debug builds.