Quick start Quick start
This document will guide you through all the requirements and steps that you
need to follow to build the QIR adaptor tool (QAT). QAT can be built either
using Bazel or CMake. In the following two sections, we discuss how to build QAT
using either of these tools. Building on Windows is currently only supported
using Bazel. The
detailed description of building with Bazel outlines
how to install
bazelisk and discusses configuration flags. If you already have
bazelisk installed, simply run
bazelisk build //qir/qat:qat --config [compiler] --config release
qat where compiler should be substituted with
clang on Linux and
msvc on Windows. If you prefer CMake, please
see the detailed instructions here.
In the table below, we summarize the systems currently supported.
|Windows||x86_64, Arm||2019||Yes||No||Docker images through Bazel are not supported|
|macOS||x86_64, Arm||Yes||Yes||Some tests fail on Arm due to issues in Bazel configuration of LLVM|
At the moment, we support
msvc to compile QAT. While
work, it is untested and not supported at the moment.
Additionally, the QAT supports experimental cross-compilation for Linux and
macOS. This is useful in order to create Docker images with