commit | dbdfd96dcb48af0718e30fd3070f491d13474760 | [log] [tgz] |
---|---|---|
author | bjacob <benoitjacob@google.com> | Thu Oct 28 15:41:27 2021 -0400 |
committer | GitHub <noreply@github.com> | Thu Oct 28 12:41:27 2021 -0700 |
tree | 4970d76e952361c581f8556d9168cd0d16a7a338 | |
parent | 7e3a374606123bc71aa46e8a5af11d55f02b93b9 [diff] |
enable asserts in a majority of CMake CI builds (#7482) Bazel builds already had asserts enabled, so this is only about CMake builds. It's generally useful to build CI with asserts, but we wouldn't want to build only asserts-builds at all: after all, the notion that asserts are only actually assertions and don't play a part in the program's actual function, is left entirely up to the programmer, and we want to catch mistakes at that level e.g. instances of assert(is_status_ok(important_file_io()) expanding to nothing in non-asserts builds. So this PR adds IREE_ENABLE_ASSERTIONS=ON to some common build.sh scripts used for CI, but intentionally not all of them. For example, the -asan CI uses its own build.sh file and we are intentionally not adding asserts there just so we keep some non-asserts coverage (this isn't embodying an opinion about whether to conflate asserts and asan in the same builds or to keep them separate! it's just what was quick to do here). Fixes Issue #7320 .
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.