mirror of https://github.com/acidanthera/audk.git
BaseTools:Solve the data sorting problem use python3
set PYTHONHASHSEED Specifying the value 0 will disable hash randomization. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
parent
af881abc65
commit
d097412330
|
@ -274,6 +274,7 @@ goto check_build_environment
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
:check_build_environment
|
:check_build_environment
|
||||||
|
set PYTHONHASHSEED=0
|
||||||
if defined BASETOOLS_PYTHON_SOURCE goto VisualStudioAvailable
|
if defined BASETOOLS_PYTHON_SOURCE goto VisualStudioAvailable
|
||||||
|
|
||||||
if not defined BASE_TOOLS_PATH (
|
if not defined BASE_TOOLS_PATH (
|
||||||
|
|
|
@ -77,7 +77,7 @@ function SetWorkspace()
|
||||||
# Set $WORKSPACE
|
# Set $WORKSPACE
|
||||||
#
|
#
|
||||||
export WORKSPACE=`pwd`
|
export WORKSPACE=`pwd`
|
||||||
|
export PYTHONHASHSEED=0
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue