summaryrefslogtreecommitdiffstats
path: root/BaseTools/toolsetup.bat
diff options
context:
space:
mode:
authorZhijux Fan <zhijux.fan@intel.com>2018-12-13 16:08:19 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-02-01 11:09:18 +0800
commitd097412330bd2a9c0481b74af7051e317e33be23 (patch)
tree3b0a3e315ef88241fea5a3b068e3190f058e2396 /BaseTools/toolsetup.bat
parentaf881abc6537298feade1c0b01a2a77224635647 (diff)
downloadedk2-d097412330bd2a9c0481b74af7051e317e33be23.tar.gz
edk2-d097412330bd2a9c0481b74af7051e317e33be23.tar.bz2
edk2-d097412330bd2a9c0481b74af7051e317e33be23.zip
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>
Diffstat (limited to 'BaseTools/toolsetup.bat')
-rwxr-xr-xBaseTools/toolsetup.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat
index b58560d4d7..1cac3105c2 100755
--- a/BaseTools/toolsetup.bat
+++ b/BaseTools/toolsetup.bat
@@ -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 (