mirror of https://github.com/python/cpython
bpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177)
This commit is contained in:
parent
a306bdd39f
commit
6aedfa6b9a
|
@ -36,7 +36,7 @@ jobs:
|
|||
Write-Host '##vso[task.setvariable variable=Py_IntDir]$(Build.BinariesDirectory)\obj'
|
||||
# UNDONE: Do not build to a different directory because of broken tests
|
||||
Write-Host '##vso[task.setvariable variable=Py_OutDir]$(Build.SourcesDirectory)\PCbuild'
|
||||
Write-Host '##vso[task.setvariable variable=EXTERNAL_DIR]$(Build.BinariesDirectory)\externals'
|
||||
Write-Host '##vso[task.setvariable variable=EXTERNALS_DIR]$(Build.BinariesDirectory)\externals'
|
||||
displayName: Update build locations
|
||||
|
||||
- script: PCbuild\build.bat -e $(buildOpt)
|
||||
|
|
|
@ -8,7 +8,7 @@ steps:
|
|||
Write-Host '##vso[task.setvariable variable=Py_IntDir]$(Build.BinariesDirectory)\obj'
|
||||
# UNDONE: Do not build to a different directory because of broken tests
|
||||
Write-Host '##vso[task.setvariable variable=Py_OutDir]$(Build.SourcesDirectory)\PCbuild'
|
||||
Write-Host '##vso[task.setvariable variable=EXTERNAL_DIR]$(Build.BinariesDirectory)\externals'
|
||||
Write-Host '##vso[task.setvariable variable=EXTERNALS_DIR]$(Build.BinariesDirectory)\externals'
|
||||
displayName: Update build locations
|
||||
|
||||
- script: PCbuild\build.bat -e $(buildOpt)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
:begin_search
|
||||
@set PYTHON=
|
||||
|
||||
@set _Py_EXTERNALS_DIR=%EXTERNAL_DIR%
|
||||
@set _Py_EXTERNALS_DIR=%EXTERNALS_DIR%
|
||||
@if "%_Py_EXTERNALS_DIR%"=="" (set _Py_EXTERNALS_DIR=%~dp0\..\externals)
|
||||
|
||||
@rem If we have Python in externals, use that one
|
||||
|
|
Loading…
Reference in New Issue