Skip to content

Commit

Permalink
[bazel] Disable WORKSPACE system
Browse files Browse the repository at this point in the history
Prevents this from being re-enabled by accident.

Signed-off-by: James Wainwright <[email protected]>
  • Loading branch information
jwnrt committed Jan 12, 2025
1 parent 652a44f commit 55e365d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

# Enable bzlmod using both `MODULE.bazel` and `WORKSPACE.bzlmod`.
# Enable bzlmod with `MODULE.bazel` and disable the `WORKSPACE` system.
common --enable_bzlmod
common --enable_workspace=no

# https://docs.opentitan.org/doc/rm/c_cpp_coding_style/#cxx-version specifies
build --action_env=BAZEL_CXXOPTS="-std=gnu++14"
Expand Down

0 comments on commit 55e365d

Please sign in to comment.