We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8308a79 commit e933aefCopy full SHA for e933aef
utils/build.ps1
@@ -142,7 +142,7 @@ param(
142
[switch] $Clean,
143
[switch] $DebugInfo,
144
[switch] $EnableCaching,
145
- [string] $Cache = "",
+ [string] $Cache = "$BinaryCache\sccache",
146
[string] $Allocator = "",
147
[switch] $Summary,
148
[switch] $ToBatch
@@ -958,11 +958,7 @@ function Build-CMakeProject {
958
959
if ($EnableCaching) {
960
$env:SCCACHE_DIRECT = "true"
961
- if ($Cache -eq "") {
962
- $env:SCCACHE_DIR = "$BinaryCache\sccache"
963
- } else {
964
- $env:SCCACHE_DIR = $Cache
965
- }
+ $env:SCCACHE_DIR = $Cache
966
}
967
if ($UseSwiftSwiftDriver) {
968
$env:SWIFT_DRIVER_SWIFT_FRONTEND_EXEC = ([IO.Path]::Combine($CompilersBinaryCache, "bin", "swift-frontend.exe"))
0 commit comments