Skip to content

Commit 4e30d49

Browse files
authored
Merge pull request #81443 from dschaefer2/6.2-sourcekit-asn1
[6.2] build.ps1 updates for new SwiftASN1 dependency
2 parents e3e8520 + e41e191 commit 4e30d49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/build.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2944,6 +2944,7 @@ function Build-SourceKitLSP([Hashtable] $Platform) {
29442944
TSC_DIR = (Get-ProjectCMakeModules $Platform ToolsSupportCore);
29452945
LLBuild_DIR = (Get-ProjectCMakeModules $Platform LLBuild);
29462946
ArgumentParser_DIR = (Get-ProjectCMakeModules $Platform ArgumentParser);
2947+
SwiftASN1_DIR = (Get-ProjectCMakeModules $Platform ASN1);
29472948
SwiftCrypto_DIR = (Get-ProjectCMakeModules $Platform Crypto);
29482949
SwiftCollections_DIR = (Get-ProjectCMakeModules $Platform Collections);
29492950
SwiftBuild_DIR = (Get-ProjectCMakeModules $Platform Build);
@@ -2985,6 +2986,9 @@ function Test-SourceKitLSP {
29852986
"-Xswiftc", "-I$(Get-ProjectBinaryCache $BuildPlatform Crypto)\swift",
29862987
"-Xlinker", "-L$(Get-ProjectBinaryCache $BuildPlatform Crypto)\lib",
29872988
"-Xlinker", "$(Get-ProjectBinaryCache $BuildPlatform Crypto)\lib\CCryptoBoringSSL.lib",
2989+
# swift-asn1
2990+
"-Xswiftc", "-I$(Get-ProjectBinaryCache $BuildPlatform ASN1)\swift",
2991+
"-Xlinker", "-L$(Get-ProjectBinaryCache $BuildPlatform ASN1)\lib",
29882992
# swift-package-manager
29892993
"-Xswiftc", "-I$(Get-ProjectBinaryCache $BuildPlatform PackageManager)\swift",
29902994
"-Xlinker", "-L$(Get-ProjectBinaryCache $BuildPlatform PackageManager)\lib",

0 commit comments

Comments
 (0)