Searched +full:bazel +full:- +full:build +full:- +full:check (Results 1 – 5 of 5) sorted by relevance
/hal_rpi_pico-latest/tools/ |
D | check_source_files_in_bazel_build.py | 5 # SPDX-License-Identifier: BSD-3-Clause 7 # Check Bazel build file source coverage. Reports files that: 8 # - Are in the repo but not included in a BUILD.bazel file. 9 # - Are referenced in a BUILD.bazel file but are not present. 14 # Run from anywhere in the pico-sdk repo. 66 def get_paths_from_command(source_dir: Path, *args, **kwargs) -> Set[Path]: 67 """Runs a command and reads Bazel //-style paths from it.""" 69 args, check=False, capture_output=True, cwd=source_dir, **kwargs 98 ) -> List[Path]: 99 """Checks that source files are in the Bazel builds. [all …]
|
D | bazel_build.py | 5 # SPDX-License-Identifier: BSD-3-Clause 7 # A script that verifies various Bazel build configurations succeed. 51 # Pretty much only Picotool and pioasm build on Windows. 62 "args": ("--platforms=//bazel/platform:rp2040",), 70 # No RISC-V on RP2040. 79 "args": ("--platforms=//bazel/platform:rp2350",), 87 # TODO: RISC-V support. 95 "--platforms=//bazel/platform:rp2040", 96 "--@pico-sdk//bazel/config:PICO_TOOLCHAIN=clang", 105 # No RISC-V on RP2040. [all …]
|
D | compare_build_systems.py | 5 # SPDX-License-Identifier: BSD-3-Clause 9 # CMake and Bazel. 35 "**/BUILD.bazel", 37 "**/*.BUILD", 42 …LE_REGEX = re.compile(r'\s*commit\s*=\s*\"(?P<commit>[0-9a-fA-F]+)\"\s*,\s*#\s*keep-in-sync-with-s… 44 BAZEL_VERSION_REGEX = re.compile(r'module\(\s*name\s*=\s*"pico-sdk",\s*version\s*=\s*"(?P<sdk_versi… 48 # Sometimes the build systems are supposed to be implemented differently. This 49 # allowlist permits the descriptions to differ between CMake and Bazel. 51 # Minor semantic differences in Bazel. 53 # In Bazel, not overridable by user environment variables (only flags). [all …]
|
/hal_rpi_pico-latest/bazel/ |
D | README.md | 1 # Bazel build 3 ## Using the Pico SDK in a Bazel project. 5 ### Add pico-sdk as a dependency 6 First, in your `MODULE.bazel` file, add a dependency on the Pico SDK and 9 bazel_dep(name = "pico-sdk", version = "2.1.0") 13 These toolchains tell Bazel how to compile for ARM cores. Add the following 14 to the `MODULE.bazel` for your project: 17 "@pico-sdk//bazel/toolchain:linux-x86_64-rp2040", 18 "@pico-sdk//bazel/toolchain:linux-x86_64-rp2350", 19 "@pico-sdk//bazel/toolchain:win-x86_64-rp2040", [all …]
|
/hal_rpi_pico-latest/.github/workflows/ |
D | bazel_build.yml | 1 name: Bazel presubmit checks 8 bazel-build-check: 12 os: [ubuntu-latest, macos-latest] 13 fail-fast: false 14 runs-on: ${{ matrix.os }} 16 - name: Checkout 19 fetch-depth: 0 20 - name: Get Bazel 21 uses: bazel-contrib/setup-bazel@0.9.0 23 # Avoid downloading Bazel every time. [all …]
|