Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Remove llvm-ar depenency #556

Merged
merged 1 commit into from
Mar 12, 2021
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
2 changes: 0 additions & 2 deletions src/QirRuntime/build-qir-runtime.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ elseif (($IsWindows) -or ((Test-Path Env:AGENT_OS) -and ($Env:AGENT_OS.StartsWit
$env:CC = "clang.exe"
$env:CXX = "clang++.exe"
$env:RC = "clang++.exe"
$llvmExtras = Join-Path $PSScriptRoot externals LLVM
$env:PATH += ";$llvmExtras"

if (!(Get-Command clang -ErrorAction SilentlyContinue) -and (choco find --idonly -l llvm) -contains "llvm") {
# LLVM was installed by Chocolatey, so add the install location to the path.
Expand Down
Binary file removed src/QirRuntime/externals/LLVM/llvm-ar.exe
Binary file not shown.
6 changes: 0 additions & 6 deletions src/QirRuntime/externals/readme.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# External components

## LLVM tools

We are relying on llvm-ar.exe 10.0.0 when building directly from IR. The tool is part of the official LLVM release package and can be installed from https://releases.llvm.org. However, it's not included into the Chocolatey package we are using to deply LLVM on Windows cloud build machines.

While we are looking into a proper solution for this dependency, we are providing the tools as part of the repository.

## Catch2

We are using v2.12.1 single-header distribution of catch2 native framework from https://github.com/catchorg/Catch2 (2e61d38c7c3078e600c331257b5bebfb81aaa685).
Expand Down