Skip to content

Commit

Permalink
Added build dep for core/windows-11-sdk
Browse files Browse the repository at this point in the history
Signed-off-by: Sougata Bhattacharjee <sougatab@progress.com>
  • Loading branch information
sougata-progress committed Oct 1, 2024
1 parent 8e16c30 commit adb2699
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .expeditor/scripts/verify/shared.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function Initialize-Environment {
"core/cacerts",
"core/protobuf",
"core/visual-build-tools-2022",
"core/zeromq"
"core/zeromq",
"core/windows-11-sdk"
)

# Set up some path variables for ease of use later
Expand All @@ -36,9 +37,11 @@ function Initialize-Environment {
$env:PATH = New-PathString -StartingPath $env:PATH -Path "$protobufDir\bin;$zeromqDir\bin"

$vsDir = & hab pkg path core/visual-build-tools-2022
$env:LIB = "$(Get-Content "$vsDir\LIB_DIRS");$env:LIBZMQ_PREFIX\lib"
$env:INCLUDE = (Get-Content "$vsDir\INCLUDE_DIRS")
$winSdkDir = & hab pkg path core/windows-11-sdk
$env:LIB = "$(Get-Content "$vsDir\LIB_DIRS");$(Get-Content "$winSdkDir\LIB_DIRS");$env:LIBZMQ_PREFIX\lib"
$env:INCLUDE = "$(Get-Content "$vsDir\INCLUDE_DIRS");$(Get-Content "$winSdkDir\INCLUDE_DIRS")"
$env:PATH = New-PathString -StartingPath $env:PATH -Path (Get-Content "$vsDir\PATH")
$env:PATH = New-PathString -StartingPath $env:PATH -Path (Get-Content "$winSdkDir\PATH")
}

function Get-NightlyToolchain {
Expand Down
1 change: 1 addition & 0 deletions components/hab/habitat/plan.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ $pkg_build_deps = @(
"core/visual-build-tools-2022",
"core/rust/$((ConvertFrom-StringData (Get-Content "$PLAN_CONTEXT/../../../rust-toolchain")[1]).channel.Replace('"', ''))",
"core/cacerts",
"core/windows-11-sdk",
"core/protobuf"
)

Expand Down

0 comments on commit adb2699

Please sign in to comment.