From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.151; helo=mga17.intel.com; envelope-from=bob.c.feng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 673FA211BA477 for ; Thu, 24 Jan 2019 21:04:56 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2019 21:04:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,519,1539673200"; d="scan'208";a="294272464" Received: from shwdepsi1121.ccr.corp.intel.com ([10.239.158.47]) by orsmga005.jf.intel.com with ESMTP; 24 Jan 2019 21:04:54 -0800 From: "Feng, Bob C" To: edk2-devel@lists.01.org Cc: Zhijux Fan , Bob Feng , Liming Gao , Yonghong Zhu Date: Fri, 25 Jan 2019 12:56:02 +0800 Message-Id: <20190125045626.14700-10-bob.c.feng@intel.com> X-Mailer: git-send-email 2.20.1.windows.1 In-Reply-To: <20190125045626.14700-1-bob.c.feng@intel.com> References: <20190125045626.14700-1-bob.c.feng@intel.com> MIME-Version: 1.0 Subject: [Patch 09/33] BaseTools:Solve the data sorting problem use python3 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2019 05:04:56 -0000 Content-Transfer-Encoding: 8bit From: Zhijux Fan set PYTHONHASHSEED Specifying the value 0 will disable hash randomization. Cc: Bob Feng Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhiju.Fan --- BaseTools/toolsetup.bat | 1 + edksetup.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat index b58560d4d7..1cac3105c2 100755 --- a/BaseTools/toolsetup.bat +++ b/BaseTools/toolsetup.bat @@ -272,10 +272,11 @@ goto check_build_environment echo. echo !!! ERROR !!! Binary C tools are missing. They are requried to be built from BaseTools Source. echo. :check_build_environment + set PYTHONHASHSEED=0 if defined BASETOOLS_PYTHON_SOURCE goto VisualStudioAvailable if not defined BASE_TOOLS_PATH ( if not exist "Source\C\Makefile" ( if not exist "%EDK_TOOLS_PATH%\Source\C\Makefile" goto no_source_files diff --git a/edksetup.sh b/edksetup.sh index 93d6525758..3dee8c5d61 100755 --- a/edksetup.sh +++ b/edksetup.sh @@ -75,11 +75,11 @@ function SetWorkspace() # # Set $WORKSPACE # export WORKSPACE=`pwd` - + export PYTHONHASHSEED=0 return 0 } function SetupEnv() { -- 2.20.1.windows.1