Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ bld/
[Oo]bj/
[Ll]og/
[Dd]rops/
[Dd]ocs/
**/qir-gen.ll

# Visual Studio 2015/2017 cache/options directory
Expand Down
1 change: 1 addition & 0 deletions bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ if (-not (Test-Path Env:AGENT_OS)) {
Push-Location (Join-Path $PSScriptRoot "src/Simulation/Native")
.\build-native-simulator.ps1
Pop-Location
$Env:BUILD_CONFIGURATION = $null
}

Write-Host "Build simulation solution"
Expand Down
6 changes: 3 additions & 3 deletions src/Qir/Runtime/build-qir-runtime.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ elseif (($IsWindows) -or ((Test-Path Env:AGENT_OS) -and ($Env:AGENT_OS.StartsWit
Write-Host "##vso[task.logissue type=error;]Failed to identify the OS. Will use default CXX compiler"
}

$qirRuntimeBuildFolder = (Join-Path $PSScriptRoot "build\$Env:BUILD_CONFIGURATION")
$qirRuntimeBuildFolder = (Join-Path $PSScriptRoot build $Env:BUILD_CONFIGURATION)
if (-not (Test-Path $qirRuntimeBuildFolder)) {
New-Item -Path $qirRuntimeBuildFolder -ItemType "directory"
}
Expand Down Expand Up @@ -105,7 +105,7 @@ $osQirDropFolder = Join-Path $Env:DROPS_DIR QIR $os
if (!(Test-Path $osQirDropFolder)) {
New-Item -Path $osQirDropFolder -ItemType "directory"
}
$pattern | Foreach-Object { Copy-Item (Join-Path . bin $_) $osQirDropFolder }
$pattern | Foreach-Object { Copy-Item (Join-Path . bin $_) $osQirDropFolder -ErrorAction SilentlyContinue }

Pop-Location

Expand All @@ -115,4 +115,4 @@ $env:RC = $oldRC

if (-not $all_ok) {
throw "At least one project failed to compile. Check the logs."
}
}