commit | bb7a83ee06e6b0ded11d098e3364a66e0621ce5c | [log] [tgz] |
---|---|---|
author | bjacob <benoitjacob@google.com> | Tue Jun 13 15:26:07 2023 -0400 |
committer | GitHub <noreply@github.com> | Tue Jun 13 19:26:07 2023 +0000 |
tree | 279f91732b1a42b56da6a067d8d14ea131be357a | |
parent | 2bb9a54ddc3934ce2d21cce2a9d5b58fe115e3d1 [diff] |
Create empty files without unnecessary timestamp updates. (#14097) This fixes the mysterious re-linking of `libIREECompiler` every time CMake was re-run. The problem was that `file(WRITE)` updates timestamps every time, even if contents does not change. CMake documentation actually had a note about exactly this: https://cmake.org/cmake/help/latest/command/file.html#write > If the file is a build input, use the [configure_file()](https://cmake.org/cmake/help/latest/command/configure_file.html#command:configure_file) command to update the file only when its content changes. For the record, the tool that helped debug that was `ninja -d explain`. It outputs things like: ``` ninja explain: restat of output runtime/src/iree/builtins/ukernel/ukernel_bitcode.h older than most recent input runtime/src/iree/builtins/ukernel/arch/arm_64/ukernel_bitcode_arm_64.bc (1686679813375596068 vs 1686679898087480062) ```
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.