Skip to content

Commit

Permalink
BaseTools:Solve the data sorting problem use python3
Browse files Browse the repository at this point in the history
set PYTHONHASHSEED
Specifying the value 0 will disable hash randomization.

Cc: Bob Feng <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Yonghong Zhu <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <[email protected]>
Tested-by: Laszlo Ersek <[email protected]>
Tested-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Bob Feng <[email protected]>
  • Loading branch information
zhijufan authored and BobCF committed Feb 1, 2019
1 parent af881ab commit d097412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions BaseTools/toolsetup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion edksetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function SetWorkspace()
# Set $WORKSPACE
#
export WORKSPACE=`pwd`

export PYTHONHASHSEED=0
return 0
}

Expand Down

0 comments on commit d097412

Please sign in to comment.