feat(toolchain): centralize S-CORE toolchain configurations and compiler warning policies - #180
Merged
RolandJentschETAS merged 12 commits intoSep 30, 2026
Conversation
- Fix copy-paste typo in score_toolchain.bazelrc where score-autosd-aarch64 was mistakenly used under the x86_64 target configuration. - Add score_qcc_aarch64_toolchain_pkg to QNX use_repo block to provide the ARM64 QNX target sysroot package centrally. - Add standard GCC Linux aarch64-linux toolchain declaration and standard score-linux-aarch64 configuration profile.
- Declare 'score_rules_imagefs' centrally in MODULE.bazel under QNX Toolchains block. - Define 'score_qnx_x86_64_ifs_toolchain' and 'score_qnx_aarch64_ifs_toolchain' centrally to prevent downstream dependency resolution issues when leveraging 'score_toolchain.bazelrc'. - Format workspace BUILD files using Buildifier. - Update MODULE.bazel.lock transitive dependency map.
- Update sdp_version to "8.0.4" for QNX toolchains in MODULE.bazel. - Update MODULE.bazel.lock transitive dependency map.
… support - Declare score_cpp_policies as dev dependency in MODULE.bazel. - Define compiler-warning features from score_cpp_policies and inject them into standard Linux GCC and QNX QCC toolchains. - Add target configuration alias for CPU:x86-64|OS:Linux to .bazelrc, referencing score-linux-x86_64 centrally. Signed-off-by: Srinivasu K <srinivasu.kandukuri@in.bosch.com>
…zelrc Add --cxxopt=-Wno-error=redundant-decls to our common compiler flags. This prevents third-party headers/compilers (such as flatbuffers' grpc generator) from breaking our builds with unused redundant declarations under the new score_cpp_policies warnings. Signed-off-by: Srinivasu K <srinivasu.kandukuri@in.bosch.com>
…tadata Update lockfile with resolved dependency and toolchain registry changes, including aspect_rules_lint, rules_cc, and rules_nodejs. Signed-off-by: Srinivasu K <srinivasu.kandukuri@in.bosch.com>
srinivasugithub
requested review from
PandaeDo,
RolandJentschETAS,
aschemmel-tech,
masc2023 and
pahmann
as code owners
September 18, 2026 11:21
Contributor
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
…figuration - Resolve conflicts in: - BUILD - MODULE.bazel - MODULE.bazel.lock - score/component_example/BUILD Signed-off-by: Srinivasu K <srinivasu.kandukuri@in.bosch.com>
Contributor
|
Documentation preview for this pull request is available at: |
…sions Remove x86_64-linux target configuration alias from .bazelrc in favor of score-linux-x86_64, and exclude compiler warning suppressions from score_toolchain.bazelrc per PR review feedback. Signed-off-by: Srinivasu K <srinivasu.kandukuri@in.bosch.com>
…figuration - Resolve conflicts in: - MODULE.bazel Signed-off-by: Srinivasu K <srinivasu.kandukuri@in.bosch.com>
…figuration - Resolve merge conflict in: - MODULE.bazel.lock - Update dependencies to upstream versions: - score_bazel_cpp_toolchains to v1.0.4 - Recompute module extension digests for score_cpp_policies compiler warnings Signed-off-by: Srinivasu K <srinivasu.kandukuri@in.bosch.com>
RolandJentschETAS
approved these changes
Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR centralizes, configures, and standardizes the Eclipse S-CORE Baselibs toolchain configurations and compiler warning policies across the workspace.
Key Changes:
S-CORE Compiler Warning Policies:
score_cpp_policiescentrally as a development dependency inMODULE.bazel.score_cpp_policiesand injected them into the standard Linux GCC and QNX QCC toolchains.redundant-declscompiler check to warning-only via--cxxopt=-Wno-error=redundant-declsinscore_toolchain.bazelrcto prevent compilation failures with third-party headers (such as flatbuffers' grpc generator).QNX SDP and IFS Toolchain Support:
8.0.4for QNX toolchains inMODULE.bazel.score_qnx_x86_64_ifs_toolchainandscore_qnx_aarch64_ifs_toolchain) under the QNX Toolchains block to resolve downstream dependency issues.Multi-Architecture and CPU Configurations:
aarch64-linuxtoolchain declarations and target configuration profiles.score_qcc_aarch64_toolchain_pkgto QNX use_repo block to provide ARM64 sysroot support centrally.x86_64-linuxtarget configuration alias mapping toscore-linux-x86_64in.bazelrc.score_toolchain.bazelrcunder QNX configurations.Lockfile & Bzlmod Resolution:
MODULE.bazel.locktransitive dependency map with all metadata upgrades (including updates foraspect_rules_lint,rules_cc,rules_nodejs, etc.).