summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@microsoft.com>2024-12-03 14:52:41 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-10 23:42:09 +0000
commit1c5c951ec33b7851da67feeaf222d3edd6eb89be (patch)
tree31221487f2115bfc0f5ce898f1412e5296e77df9 /BaseTools
parentbcbb7099594af28b5ba40521ba2ecef253adaa9f (diff)
downloadedk2-1c5c951ec33b7851da67feeaf222d3edd6eb89be.tar.gz
Update CI to VS2022
This PR updates the CI pipelines to use VS2022 instead of VS2019 as that is the latest supported VS toolchain on edk2. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Edk2ToolsBuild.py4
-rwxr-xr-xBaseTools/toolsetup.bat2
2 files changed, 3 insertions, 3 deletions
diff --git a/BaseTools/Edk2ToolsBuild.py b/BaseTools/Edk2ToolsBuild.py
index 425bb1b639..2a8a53b0d6 100644
--- a/BaseTools/Edk2ToolsBuild.py
+++ b/BaseTools/Edk2ToolsBuild.py
@@ -1,7 +1,7 @@
# @file Edk2ToolsBuild.py
# Invocable class that builds the basetool c files.
#
-# Supports VS2017, VS2019, and GCC5
+# Supports VS2019, VS2022, and GCC5
##
# Copyright (c) Microsoft Corporation
#
@@ -24,7 +24,7 @@ class Edk2ToolsBuild(BaseAbstractInvocable):
def ParseCommandLineOptions(self):
''' parse arguments '''
ParserObj = argparse.ArgumentParser()
- ParserObj.add_argument("-t", "--tool_chain_tag", dest="tct", default="VS2017",
+ ParserObj.add_argument("-t", "--tool_chain_tag", dest="tct", default="VS2022",
help="Set the toolchain used to compile the build tools")
args = ParserObj.parse_args()
self.tool_chain_tag = args.tct
diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat
index bdbc052c21..8cfca3dc5c 100755
--- a/BaseTools/toolsetup.bat
+++ b/BaseTools/toolsetup.bat
@@ -417,7 +417,7 @@ endlocal
:Usage
@echo.
- echo Usage: "%0 [-h | -help | --help | /h | /help | /?] [ Rebuild | ForceRebuild ] [Reconfig] [base_tools_path [edk_tools_path]] [VS2019] [VS2017] [VS2015]"
+ echo Usage: "%0 [-h | -help | --help | /h | /help | /?] [ Rebuild | ForceRebuild ] [Reconfig] [base_tools_path [edk_tools_path]] [VS2022] [VS2019] [VS2017] [VS2015]"
@echo.
@echo base_tools_path BaseTools project path, BASE_TOOLS_PATH will be set to this path.
@echo edk_tools_path EDK_TOOLS_PATH will be set to this path.