commit | f44908eb761a10e6bd9362d7ad5820bd96c2329d | [log] [tgz] |
---|---|---|
author | Chase Latta <chaselatta@fuchsia.infra.roller.google.com> | Sat Sep 14 00:17:28 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Sep 14 00:17:28 2024 +0000 |
tree | 39988a681e938f13db775b632a9b02e0994e2b08 | |
parent | 6559b179c20b6d8add7c3623ae7a745df9fdb234 [diff] |
[roll] Roll third_party/fuchsia-infra-bazel-rules Do no assume compilation mode is unset in builder group Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia-infra-bazel-rules/+/1118682 Original-Revision: 905e8e20ce0747622f972c6f573c4f253492a76e Roller-URL: https://ci.chromium.org/b/8736866763913872545 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I8e5e7d3e4e961f24c254c4fafd592d55abbc067d Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/rtc/nxp/pcf8563/+/1118685 Commit-Queue: GI Roller <global-integration-roller@fuchsia-infra.iam.gserviceaccount.com>
This repository is a based on a template repository which will be adopted automatically by OOT driver repositories.
Template repository is located in: https://fuchsia.googlesource.com/template/driver/
To perform an initial bootstrap, execute the following:
In a terminal, clone the repository:
git clone https://fuchsia.googlesource.com/drivers/rtc/nxp/pcf8563
Change to that directory:
cd pcf8563
Fetch all git submodules:
git submodule init && git submodule update --recursive
Bootstrap the build environment:
scripts/bootstrap.sh
Fetch and build the SDK:
tools/bazel build @fuchsia_sdk//:fuchsia_toolchain_sdk
See the getting started guide for more info.
The Fuchsia driver package can be built locally with:
tools/bazel build src/drivers/pcf8563:pkg
Run the full test-suite with:
tools/bazel test :tests_qemu
Run only the pcf8563 driver tests with:
tools/bazel test src/drivers/pcf8563:test_x64