@@ -1626,11 +1626,10 @@ function Build-Sanitizers([Platform]$Platform, $Arch) {
1626
1626
- Platform $Platform `
1627
1627
- UseBuiltCompilers C, CXX `
1628
1628
- BuildTargets " install-compiler-rt" `
1629
+ - CacheScript $SourceCache \swift\cmake\caches\LLVM- $Platform - $ ($Arch.LLVMName ).cmake `
1629
1630
- Defines (@ {
1630
1631
CMAKE_SYSTEM_NAME = $Platform.ToString ();
1631
1632
LLVM_DIR = " $LLVMTargetCache \lib\cmake\llvm" ;
1632
- LLVM_ENABLE_PER_TARGET_RUNTIME_DIR = " YES" ;
1633
- COMPILER_RT_DEFAULT_TARGET_ONLY = " YES" ;
1634
1633
})
1635
1634
1636
1635
Build-CMakeProject `
@@ -1641,18 +1640,10 @@ function Build-Sanitizers([Platform]$Platform, $Arch) {
1641
1640
- Platform $Platform `
1642
1641
- UseBuiltCompilers C, CXX `
1643
1642
- BuildTargets " install-compiler-rt" `
1643
+ - CacheScript $SourceCache \swift\cmake\caches\LLVM- $Platform - $ ($Arch.LLVMName ).cmake `
1644
1644
- Defines (@ {
1645
1645
CMAKE_SYSTEM_NAME = $Platform.ToString ();
1646
1646
LLVM_DIR = " $LLVMTargetCache \lib\cmake\llvm" ;
1647
- LLVM_ENABLE_PER_TARGET_RUNTIME_DIR = " YES" ;
1648
- COMPILER_RT_DEFAULT_TARGET_ONLY = " YES" ;
1649
- COMPILER_RT_BUILD_BUILTINS = " NO" ;
1650
- COMPILER_RT_BUILD_CRT = " NO" ;
1651
- COMPILER_RT_BUILD_LIBFUZZER = " NO" ;
1652
- COMPILER_RT_BUILD_ORC = " NO" ;
1653
- COMPILER_RT_BUILD_XRAY = " NO" ;
1654
- COMPILER_RT_BUILD_PROFILE = " YES" ;
1655
- COMPILER_RT_BUILD_SANITIZERS = " YES" ;
1656
1647
})
1657
1648
}
1658
1649
0 commit comments