File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,14 @@ jobs:
108
108
ref : ${{ env.PYPERFORMANCE_HASH }}
109
109
- name : Build Python
110
110
if : ${{ steps.should_run.outputs.should_run != 'false' }}
111
+ # The build.bat script is much easier to use from cmd
112
+ shell : cmd
111
113
run : |
112
114
cd cpython
113
- PCbuild\build.bat ($env:BUILD_FLAGS -split ' ') ${{ inputs.pgo == true && '--pgo' || '' }} ${{ inputs.jit == true && '--experimental-jit' || '' }} ${{ inputs.tier2 == true && '--experimental-jit-interpreter' || '' }} ${{ inputs.nogil == true && '--disable-gil' || '' }} -c Release ${{ inputs.clang == true && '\"/p:PlatformToolset=clangcl\"' }} ${{ inputs.clang == true && '\"/p:LLVMInstallDir=C:\Program Files\LLVM\"' }} ${{ inputs.clang == true && '\"/p:LLVMToolsVersion=19.1.6\"' }}
115
+ PCbuild\build.bat %BUILD_FLAGS% ${{ inputs.pgo == true && '--pgo' || '' }} ${{ inputs.jit == true && '--experimental-jit' || '' }} ${{ inputs.tier2 == true && '--experimental-jit-interpreter' || '' }} ${{ inputs.nogil == true && '--disable-gil' || '' }} -c Release ${{ inputs.clang == true && '"/p:PlatformToolset=clangcl"' }} ${{ inputs.clang == true && '"/p:LLVMInstallDir=C:\Program Files\LLVM"' }} ${{ inputs.clang == true && '"/p:LLVMToolsVersion=19.1.6"' }}
116
+ - name : Copy Python to different location
117
+ if : ${{ steps.should_run.outputs.should_run != 'false' }}
118
+ run : |
114
119
# Copy the build products to a place that libraries can find them.
115
120
Copy-Item -Path $env:BUILD_DEST -Destination "libs" -Recurse
116
121
- name : Install pyperformance
You can’t perform that action at this time.
0 commit comments