commit | db6ade73b2786a61da234a65c1c3e38c35066e42 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Thu Mar 05 15:58:27 2020 +0000 |
committer | dan sinclair <dsinclair@google.com> | Thu Mar 05 15:58:27 2020 +0000 |
tree | b6d52436d68e743ef94788c0b6ba5166591a48b1 | |
parent | 707705ddf4fd4ec10bd1bfffe7ce063204c353c4 [diff] |
Convert dependency management to using gclient BUG=tint:12 Change-Id: I9c6b9cdd584f9a2e6c360c9a457069670146da7c Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16482 Reviewed-by: dan sinclair <dsinclair@google.com>
Tint is a compiler for the WebGPU Shader Language (WGSL).
This is not an officially supported Google product.
TINT_BUILD_SPV_PARSER
: enable the SPIR-V input parserTint uses Chromium dependency management so you need to install depot_tools and add it to your PATH.
# Clone the repo as "tint" git clone https://dawn.googlesource.com/tint tint && cd tint # Bootstrap the gclient configuration cp standalone.gclient .gclient # Fetch external dependencies and toolchains with gclient gclient sync
mkdir -p out/Debug cd out/Debug cmake -GNinja ../.. ninja # or autoninja
mkdir -p out/Debug cd out/Debug cmake ../.. make # -j N for N-way parallel build
Please file any issues or feature requests at https://bugs.chromium.org/p/tint/issues/entry
Please see the CONTRIBUTING and CODE_OF_CONDUCT files on how to contribute to Tint.