Skip to content

Migrate to Bazel module

Stephen Ryan requested to merge use_bazel_module_and_core_as_workspace into main

Summary

This PR updates the Bazel version to 7.5.0 and switches to use the new Bazel Modules system. The GtGenCore is still consumed as a WORKSPACE project, to simplify the migration. As a part of the migration, some dependencies were loaded with the bazel_dep method to use the dependency as a module when possible. Others are loaded the same way as before by using a module extension.

Some top-level Bazel targets were added to allow this repository to be consumed as a Bazel module.

The packaging implementation was changed to use pkg_files and pkg_filegroup to organize the files before archiving. The default permissions for non-executable files are now changed to rw-r--r--.


Checklist Before Merging

  1. Third-Party Library and Version Updates
  • All third-party libraries have been updated (e.g., road-logic-suite, gt-gen-core, osc1-engine, mantle-API).
  • gt-gen-core version number has been updated in Core/update_version.patch (if gt-gen-core is updated).
  • Notice.md has been updated with relevant changes.
  • The version number in Simulator/LibSimCore/version.bzl has been updated accordingly.
  1. Documentation Updates
  • User-facing documentation (user guides, tutorials, etc.) has been updated to reflect the changes.
  • The feature list in Documentation/03_scenario_description/supported_osc_features.md has been updated.
  1. Tests and CI Checks

Edited by Stephen Ryan

Merge request reports

Loading