Skip to content

Commit cc02e9a

Browse files
authored
Merge pull request #31519 from apple/compnerd-build-root-caches
Update build-windows.bat
2 parents 7782d4b + a14978a commit cc02e9a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

utils/build-windows.bat

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ subst T: %full_build_root% %exitOnError%
5050
set build_root=T:
5151
set install_directory=%build_root%\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr
5252

53+
md %build_root%\tmp
54+
set TMPDIR=%build_root%\tmp
55+
56+
md %build_root%\tmp\org.llvm.clang
57+
set CUSTOM_CLANG_MODULE_CACHE=%build_root%\tmp\org.llvm.clang.9999
58+
59+
md %build_root%\tmp\org.swift.package-manager
60+
set SWIFTPM_MODULECACHE_OVERRIDE=%build_root%\tmp\org.swift.package-manager
61+
5362
call :clone_repositories %exitOnError%
5463
call :download_icu %exitOnError%
5564
:: TODO: Disabled until we need LLBuild/SwiftPM in this build script.

0 commit comments

Comments
 (0)