Skip to content

Commit 6df79f7

Browse files
authored
Merge branch 'dev/202502' into personal/apop5/cherrypickstmmfixaarch64
2 parents aaaba23 + 9567741 commit 6df79f7

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.azurepipelines/Ubuntu-GCC5.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
##
1616

1717
variables:
18-
- group: architectures-arm-64-x86-64
18+
- group: architectures-arm64-x86-64
1919
- group: tool-chain-ubuntu-gcc
2020
- group: coverage
2121

.github/workflows/codeql.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ on:
2929
branches:
3030
- main
3131
- release/*
32+
- dev/*
3233
pull_request:
3334
branches:
3435
- main
3536
- release/*
37+
- dev/*
3638
paths-ignore:
3739
- '!**.c'
3840
- '!**.h'
@@ -179,7 +181,7 @@ jobs:
179181
return response
180182
181183
GITHUB_REPO = "sagiegurari/cargo-make"
182-
api_url = f"https://api.github.com/repos/{GITHUB_REPO}/releases/tags/0.37.9"
184+
api_url = f"https://api.github.com/repos/{GITHUB_REPO}/releases/tags/0.37.24"
183185
184186
response = get_response_with_retries(api_url)
185187
if response.status_code == 200:
@@ -214,7 +216,7 @@ jobs:
214216

215217
- name: Download cargo-make
216218
if: steps.cargo_make_cache.outputs.cache-hit != 'true'
217-
uses: robinraju/release-downloader@v1.10
219+
uses: robinraju/release-downloader@v1.11
218220
with:
219221
repository: 'sagiegurari/cargo-make'
220222
tag: '${{ steps.get_cargo_tool_details.outputs.cargo_make_version }}'

BaseTools/Plugin/WindowsVsToolChain/WindowsVsToolChain.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def do_pre_build(self, thebuilder):
9494
shell_env = shell_environment.GetEnvironment()
9595
# Use the tools lib to determine the correct values for the vars that interest us.
9696
vs_vars = locate_tools.QueryVcVariables(
97-
interesting_keys, VC_HOST_ARCH_TRANSLATOR[HostType], vs_version="vs2017")
97+
interesting_keys, VC_HOST_ARCH_TRANSLATOR[HostType], vs_version="vs2017", vc_version=vc_ver)
9898
for (k, v) in vs_vars.items():
9999
shell_env.set_shell_var(k, v)
100100

@@ -167,7 +167,7 @@ def do_pre_build(self, thebuilder):
167167
shell_env = shell_environment.GetEnvironment()
168168
# Use the tools lib to determine the correct values for the vars that interest us.
169169
vs_vars = locate_tools.QueryVcVariables(
170-
interesting_keys, VC_HOST_ARCH_TRANSLATOR[HostType], vs_version="vs2019")
170+
interesting_keys, VC_HOST_ARCH_TRANSLATOR[HostType], vs_version="vs2019", vc_version=vc_ver)
171171
for (k, v) in vs_vars.items():
172172
shell_env.set_shell_var(k, v)
173173

@@ -247,7 +247,7 @@ def do_pre_build(self, thebuilder):
247247
shell_env = shell_environment.GetEnvironment()
248248
# Use the tools lib to determine the correct values for the vars that interest us.
249249
vs_vars = locate_tools.QueryVcVariables(
250-
interesting_keys, VC_HOST_ARCH_TRANSLATOR[HostType], vs_version="VS2022")
250+
interesting_keys, VC_HOST_ARCH_TRANSLATOR[HostType], vs_version="VS2022", vc_version=vc_ver)
251251
for (k, v) in vs_vars.items():
252252
shell_env.set_shell_var(k, v)
253253

@@ -373,6 +373,10 @@ def _get_vc_version(self, path, varname):
373373
self.Logger.critical(
374374
"Failed to find VC tools. Might need to check for VS install")
375375
return vc_ver
376-
vc_ver = os.listdir(p2)[-1].strip() # get last in list
376+
377+
dirs = os.listdir(p2)
378+
if len(dirs) > 1:
379+
logging.warning(f"Multiple VC versions found: [{', '.join(dirs)}]. Using {dirs[-1]}")
380+
vc_ver = dirs[-1].strip() # get last in list
377381
self.Logger.debug("Found VC Tool version is %s" % vc_ver)
378382
return vc_ver

pip-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# https://www.python.org/dev/peps/pep-0440/#version-specifiers
1313
##
1414

15-
edk2-pytool-library~=0.22.5 # MU_CHANGE
15+
edk2-pytool-library~=0.23.1 # MU_CHANGE
1616
edk2-pytool-extensions~=0.28.3 # MU_CHANGE
1717
antlr4-python3-runtime==4.13.2
1818
lcov-cobertura==2.1.1

0 commit comments

Comments
 (0)