Skip to content

Commit 9505ca5

Browse files
authored
chore: remove Bazel build support (#2840)
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
1 parent 7909fb5 commit 9505ca5

55 files changed

Lines changed: 0 additions & 3481 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.bazelrc‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎.bazelversion‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎.gitignore‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,3 @@ scripts/lint-mermaid/node_modules/
236236
# Nix
237237
/result
238238
/result-*
239-
240-
# Bazel
241-
bazel-*

‎BUILD.bazel‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎CONTRIBUTING.md‎

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -296,24 +296,6 @@ Project requirements:
296296
- Python 3.11+
297297
- Docker (running)
298298

299-
### Optional: Bazel (experimental)
300-
301-
Install [Bazelisk](https://github.com/bazelbuild/bazelisk), which auto-downloads the Bazel version pinned in `.bazelversion`:
302-
303-
```bash
304-
# macOS
305-
brew install bazelisk
306-
307-
# npm (any platform)
308-
npm install -g @bazel/bazelisk
309-
```
310-
311-
Bazel builds Z3 from source, so no system Z3 installation is needed when using Bazel. If you have previously built with Cargo, add Cargo's output directory to `.bazelignore` to prevent conflicts:
312-
313-
```bash
314-
echo "target" >> .bazelignore
315-
```
316-
317299
### Z3 installation
318300

319301
The `openshell-prover` crate links against Z3. On macOS and Linux, install the
@@ -431,26 +413,6 @@ These are the primary `mise` tasks for day-to-day development:
431413
| `mise run helm:docs` | Regenerate the Helm chart README |
432414
| `mise run clean` | Clean build artifacts |
433415

434-
### Bazel targets (experimental)
435-
436-
> [!IMPORTANT]
437-
> Bazel support is experimental and under evaluation via [RFC 0012](https://github.com/NVIDIA/OpenShell/pull/2543).
438-
> It may be removed at any time depending on the RFC outcome.
439-
> Feedback is welcome: [open an issue](https://github.com/NVIDIA/OpenShell/issues/new) or find us on CNCF Slack in [#openshell-dev](https://cloud-native.slack.com/archives/openshell-dev).
440-
441-
The following Bazel commands are available alongside the mise tasks above. Cargo and mise remain the primary build system.
442-
443-
| Task | Bazel command | Notes |
444-
| ---- | ------------- | ----- |
445-
| Build everything | `bazel build //...` | All crates and protos |
446-
| Run all tests | `bazel test //...` | Unit tests only, no E2E |
447-
| Build the CLI | `bazel build //crates/openshell-cli:openshell` | |
448-
| Build the gateway | `bazel build //crates/openshell-server:openshell-gateway` | |
449-
| Build the supervisor | `bazel build //crates/openshell-sandbox:openshell-sandbox-bin` | |
450-
| Clean | `bazel clean` | |
451-
452-
Bazel does not yet cover `mise run gateway`, `mise run sandbox`, `mise run e2e`, `mise run docs`, or `mise run helm:docs`. Those are runtime and infrastructure tasks that remain with mise. Additional Bazel targets will be added over time as the experiment progresses.
453-
454416
## Project Structure
455417

456418
| Path | Purpose |

‎MODULE.bazel‎

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)