@@ -1481,30 +1481,17 @@ function Build-IndexStoreDB($Arch) {
1481
1481
}
1482
1482
}
1483
1483
1484
- function Build-Syntax ($Arch ) {
1485
- Build-CMakeProject `
1486
- - Src $SourceCache \swift- syntax `
1487
- - Bin $BinaryCache \14 `
1488
- - InstallTo " $ ( $Arch.ToolchainInstallRoot ) \usr" `
1489
- - Arch $Arch `
1490
- - UseBuiltCompilers Swift `
1491
- - SwiftSDK $SDKInstallRoot `
1492
- - BuildTargets default `
1493
- - Defines @ {
1494
- BUILD_SHARED_LIBS = " NO" ;
1495
- }
1496
- }
1497
-
1498
1484
function Build-SourceKitLSP ($Arch ) {
1499
1485
Build-CMakeProject `
1500
1486
- Src $SourceCache \sourcekit- lsp `
1501
- - Bin $BinaryCache \15 `
1487
+ - Bin $BinaryCache \14 `
1502
1488
- InstallTo " $ ( $Arch.ToolchainInstallRoot ) \usr" `
1503
1489
- Arch $Arch `
1504
1490
- UseBuiltCompilers C, Swift `
1505
1491
- SwiftSDK $SDKInstallRoot `
1506
1492
- BuildTargets default `
1507
1493
- Defines @ {
1494
+ SwiftSyntax_DIR = " $BinaryCache \1\cmake\modules" ;
1508
1495
SwiftSystem_DIR = " $BinaryCache \2\cmake\modules" ;
1509
1496
TSC_DIR = " $BinaryCache \3\cmake\modules" ;
1510
1497
LLBuild_DIR = " $BinaryCache \4\cmake\modules" ;
@@ -1513,7 +1500,6 @@ function Build-SourceKitLSP($Arch) {
1513
1500
SwiftCollections_DIR = " $BinaryCache \9\cmake\modules" ;
1514
1501
SwiftPM_DIR = " $BinaryCache \12\cmake\modules" ;
1515
1502
IndexStoreDB_DIR = " $BinaryCache \13\cmake\modules" ;
1516
- SwiftSyntax_DIR = " $BinaryCache \14\cmake\modules" ;
1517
1503
}
1518
1504
}
1519
1505
@@ -1668,7 +1654,6 @@ if (-not $SkipBuild) {
1668
1654
Invoke-BuildStep Build-Certificates $HostArch
1669
1655
Invoke-BuildStep Build-PackageManager $HostArch
1670
1656
Invoke-BuildStep Build-IndexStoreDB $HostArch
1671
- Invoke-BuildStep Build-Syntax $HostArch
1672
1657
Invoke-BuildStep Build-SourceKitLSP $HostArch
1673
1658
}
1674
1659
0 commit comments