Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion utils/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,7 @@ function Build-LLVM([Hashtable] $Platform) {
}

function Build-CompilerRuntime([Hashtable] $Platform) {
$LLVMBinaryCache = $(Get-ProjectBinaryCache $Platform LLVM)
$LLVMBinaryCache = $(Get-ProjectBinaryCache $HostPlatform Compilers)

$LITVersionStr = $(Invoke-Program $(Get-PythonExecutable) "$LLVMBinaryCache\bin\llvm-lit.py" --version)
if (-not $ToBatch -and -not ($LITVersionStr -match "lit (\d+)\.\d+\.\d+.*")) {
Expand Down Expand Up @@ -3920,6 +3920,15 @@ if (-not $SkipBuild) {
Invoke-BuildStep Build-XML2 $HostPlatform
Invoke-BuildStep Build-CDispatch $HostPlatform
Invoke-BuildStep Build-Compilers $HostPlatform -Variant "Asserts"
$KnownPlatforms.Values | Where-Object {
switch ($_.OS) {
Windows { $true }
Android { $Android }
default { $false }
}
} | ForEach-Object {
Invoke-BuildStep Build-CompilerRuntime $_
}

# Build Macros
Build-CMakeProject `
Expand Down