From d5c2dc284f2385164044f3549f2b6f5daf0452b2 Mon Sep 17 00:00:00 2001 From: "Stefan J. Wernli" Date: Wed, 2 Jun 2021 11:29:22 -0700 Subject: [PATCH] Add QIR Runtime to bootstrap script --- bootstrap.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootstrap.ps1 b/bootstrap.ps1 index 7ad031ef42d..d8b102b7937 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -16,6 +16,14 @@ if (-not (Test-Path Env:AGENT_OS)) { Pop-Location $Env:BUILD_CONFIGURATION = $null } + if ($Env:ENABLE_QIRRUNTIME -ne "false") { + Write-Host "Build release flavor of the QIR Runtime" + $Env:BUILD_CONFIGURATION = "Release" + Push-Location (Join-Path $PSScriptRoot "src/Qir/Runtime") + .\build-qir-runtime.ps1 + Pop-Location + $Env:BUILD_CONFIGURATION = $null + } Write-Host "Build simulation solution" dotnet build Simulation.sln