commit | fef4534bb3a92cf82dfe8ca2960ed2a66e3f1418 | [log] [tgz] |
---|---|---|
author | Stella Laurenzo <laurenzo@google.com> | Fri Mar 03 18:09:43 2023 -0800 |
committer | GitHub <noreply@github.com> | Fri Mar 03 18:09:43 2023 -0800 |
tree | 57de32b69c7cd1ecf9615090b0810fa78d1cc613 | |
parent | 98a9105433df150590214b3e9e5a3c998ee979a9 [diff] |
Build libIREECompiler.so in bazel. (#12507) * Moves the deeply nested build rule to lib/. Unlike CMake, Bazel offers no control on where things are output in the tree (or name), so we just put the binary target in the place where CMake puts it, preserving the directory layout of artifacts between them. This results in a small deviation on where this target is actually declared (lib/ in bazel and iree/compiler/API2:SharedImpl in CMake) but the same output path. * Wires up the loader_test in bazel and makes it able to find the shared library data dependency. * Extends bazel_to_cmake to respect the `skip-bazel_to_cmake` tag to make it skip conversion of common targets. I've needed this for some time and I expect will let us normalize more build files that only differ by a target or two. * I've confirmed that this works in Google's internal build system (with appropriate buildozer path changes and such).
IREE (Intermediate Representation Execution Environment, pronounced as “eerie”) is an MLIR-based end-to-end compiler and runtime that lowers Machine Learning (ML) models to a unified IR that scales up to meet the needs of the datacenter and down to satisfy the constraints and special considerations of mobile and edge deployments.
See our website for project details, user guides, and instructions on building from source.
IREE is still in its early phase. We have settled down on the overarching infrastructure and are actively improving various software components as well as project logistics. It is still quite far from ready for everyday use and is made available without any support at the moment. With that said, we welcome any kind of feedback on any communication channels!
See our website for more information.
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.