commit | 5406e9dfbe0ba766e5a7571e1ad7c2dc48ad57e7 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue May 07 15:58:57 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 07 15:58:57 2024 +0000 |
tree | 1feefaf038b5434c5f39b2d1f29153fc19ea64b9 | |
parent | 149dbd965e1acc4d419fe205644e38357a76ef62 [diff] |
CMake: Fix workaround for CMake < 3.20 generated files. CMake < 3.20 needs a workaround to be happy with generated files being put in INTERFACE of targeets. However the previous workaround relied on making empty files and changing the access time of the generator script. Filesystem timestamp precision may be as low as a second, causing both the generated files and generator to have the same access time, leading to build systems not realizing that files needed to be rebuilt. Instead use a heavier-handed approach to run the source code generation at build time if the files aren't present. If the files are already present, then they are integrated in the build graph correctly and don't need special handling. Fixed: 339061162 Change-Id: Idef6034a5aadb73988d3e556a8ab482a71951d0c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/187143 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.