Skip to content

Commit

Permalink
Set --enable_bzlmod=false for the moment
Browse files Browse the repository at this point in the history
Until the newer nanobind tags are pushed to the BCR, it's best to disable
bzlmod for the bindings, because the Python CI breaks due to Bazel 7
enabling bzlmod by default.
  • Loading branch information
nicholasjng committed Dec 13, 2023
1 parent cc7d9c1 commit e9f1ca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def bazel_build(self, ext: BazelExtension) -> None:
"bazel",
"build",
ext.bazel_target,
"--enable_bzlmod=false",
f"--symlink_prefix={temp_path / 'bazel-'}",
f"--compilation_mode={'dbg' if self.debug else 'opt'}",
# C++17 is required by nanobind
Expand Down

0 comments on commit e9f1ca6

Please sign in to comment.