Skip to content

Pin Bazel and Abseil build dependencies - #262

Open
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:masterfrom
sylvesterkaczmarek:issue-258-pin-build-toolchain
Open

sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:masterfrom
sylvesterkaczmarek:issue-258-pin-build-toolchain

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Fixes #258.

Summary

Make the documented WORKSPACE build reproducible with the toolchain/dependency combination reported to work in #258.

This change:

  • pins Bazel to 7.6.1 with .bazelversion;
  • keeps this WORKSPACE-based repository on the legacy workspace resolver by disabling Bzlmod and enabling WORKSPACE explicitly;
  • pins Abseil to 20230125.3 instead of tracking the moving master archive;
  • adds the archive SHA-256 so the pinned dependency is verified as well as versioned.

Validation

  • Bazelisk reads .bazelversion and launches Bazel 7.6.1.
  • bazel query //:deepmind_lab.so succeeds.
  • A full bazel build -c opt //:deepmind_lab.so resolves and analyzes the target successfully on macOS/arm64, then reaches the existing platform-specific C compilation and stops at q_platform.h: "Endianness not defined". This is independent of the dependency/toolchain resolution addressed here.
  • git diff --check passes.

@sylvesterkaczmarek
sylvesterkaczmarek marked this pull request as ready for review September 12, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pin bazel and dev dependencies

1 participant