Skip to content

[6.2] build.ps1 updates for new SwiftASN1 dependency #81443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions utils/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2944,6 +2944,7 @@ function Build-SourceKitLSP([Hashtable] $Platform) {
TSC_DIR = (Get-ProjectCMakeModules $Platform ToolsSupportCore);
LLBuild_DIR = (Get-ProjectCMakeModules $Platform LLBuild);
ArgumentParser_DIR = (Get-ProjectCMakeModules $Platform ArgumentParser);
SwiftASN1_DIR = (Get-ProjectCMakeModules $Platform ASN1);
SwiftCrypto_DIR = (Get-ProjectCMakeModules $Platform Crypto);
SwiftCollections_DIR = (Get-ProjectCMakeModules $Platform Collections);
SwiftBuild_DIR = (Get-ProjectCMakeModules $Platform Build);
Expand Down Expand Up @@ -2985,6 +2986,9 @@ function Test-SourceKitLSP {
"-Xswiftc", "-I$(Get-ProjectBinaryCache $BuildPlatform Crypto)\swift",
"-Xlinker", "-L$(Get-ProjectBinaryCache $BuildPlatform Crypto)\lib",
"-Xlinker", "$(Get-ProjectBinaryCache $BuildPlatform Crypto)\lib\CCryptoBoringSSL.lib",
# swift-asn1
"-Xswiftc", "-I$(Get-ProjectBinaryCache $BuildPlatform ASN1)\swift",
"-Xlinker", "-L$(Get-ProjectBinaryCache $BuildPlatform ASN1)\lib",
# swift-package-manager
"-Xswiftc", "-I$(Get-ProjectBinaryCache $BuildPlatform PackageManager)\swift",
"-Xlinker", "-L$(Get-ProjectBinaryCache $BuildPlatform PackageManager)\lib",
Expand Down