Migrate to Bazel module
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
- 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 inCore/update_version.patch
(ifgt-gen-core
is updated). -
Notice.md
has been updated with relevant changes. -
The version number in Simulator/LibSimCore/version.bzl
has been updated accordingly.
- Documentation Updates
-
User-facing documentation (user guides, tutorials, etc.) has been updated to reflect the changes. -
The feature list inDocumentation/03_scenario_description/supported_osc_features.md
has been updated.
- Tests and CI Checks
-
Unit tests / integration tests are added -
All CI checks are passing https://ci.eclipse.org/openpass/job/GT-Gen-Simulator-PreMerge-Gate/job/MR-97/24/pipeline-graph/