Skip to content

Commit 4daab4a

Browse files
committed
utils: indicate that the old driver is in effect
We currently cannot boostrap the toolchain with an early swift-driver. Mark that we are using the old driver. Once the new experimental SDK is packaged, we should be able to start building the early swift-driver with static linking to use the bootstrapped driver.
1 parent 9b6c04e commit 4daab4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,6 +1348,7 @@ function Build-CMakeProject {
13481348
} else {
13491349
Add-KeyValueIfNew $Defines CMAKE_Swift_COMPILER (Join-Path -Path (Get-PinnedToolchainToolsDir) -ChildPath "swiftc.exe")
13501350
}
1351+
Add-KeyValueIfNew $Defines CMAKE_Swift_COMPILER_USE_OLD_DRIVER "YES"
13511352
if (-not ($Platform.OS -eq [OS]::Windows)) {
13521353
Add-KeyValueIfNew $Defines CMAKE_Swift_COMPILER_WORKS = "YES"
13531354
}

0 commit comments

Comments
 (0)