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:
Zhijux Fan 2018-12-13 16:08:19 +08:00 committed by Feng, Bob C
parent af881abc65
commit d097412330
2 changed files with 2 additions and 1 deletions

View File

@ -274,6 +274,7 @@ goto check_build_environment
echo.
:check_build_environment
set PYTHONHASHSEED=0
if defined BASETOOLS_PYTHON_SOURCE goto VisualStudioAvailable
if not defined BASE_TOOLS_PATH (

View File

@ -77,7 +77,7 @@ function SetWorkspace()
# Set $WORKSPACE
#
export WORKSPACE=`pwd`
export PYTHONHASHSEED=0
return 0
}