Skip to content

build(bazel): adopt S-CORE global toolchain configuration (#353) - #396

Open
srinivasugithub wants to merge 1 commit into
eclipse-score:mainfrom
bgsw-contrib:feature/issue-353-adopt-global-toolchain
Open

srinivasugithub wants to merge 1 commit into
eclipse-score:mainfrom
bgsw-contrib:feature/issue-353-adopt-global-toolchain

Conversation

@srinivasugithub

Copy link
Copy Markdown

Summary

This PR integrates the central S-CORE toolchain configuration into this repository following the S-CORE baselibs architecture, resolving #353.

Changes

  • Copy and adopt score.bazelrc/score_toolchain.bazelrc defining standard S-CORE platform configurations (score-linux-x86_64, score-linux-aarch64, score-qnx-x86_64, score-qnx-aarch64).
  • Import score.bazelrc/score_toolchain.bazelrc into .bazelrc.
  • Provide backward-compatible aliases for previous configuration names (x86_64-linux, aarch64-linux, x86_64-qnx, arm64-qnx).
  • Retain repository-specific settings (libclang toolchain, python precompile flags, QNX runner settings).

Verification

  • Built and verified host unit tests with --config=score-linux-x86_64 and legacy --config=x86_64-linux.
  • Verified QNX cross-compilation toolchain resolution with --config=score-qnx-x86_64.
  • Formatted and checked with buildifier and copyright check.

Closes #353

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: 4668568b-80e4-42a7-b95d-d669f7bbf83a
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.2.17, but got rules_cc@0.2.25 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'score_tooling', the root module requires module version score_tooling@2.2.0, but got score_tooling@2.2.2 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'score_platform', the root module requires module version score_platform@0.7.2, but got score_platform@0.7.3 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'score_crates', the root module requires module version score_crates@0.0.11, but got score_crates@0.0.13 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: /home/runner/.bazel/external/score_baselibs+/score/json/BUILD:24:12: target '@@score_baselibs+//score/json:base_library' is deprecated: base_library no longer has any effect, vaJson is the only parser backend. Remove this flag from your build configuration; it will be deleted in a future release.
Loading: 
Loading: 4 packages loaded
DEBUG: /home/runner/.bazel/external/score_docs_as_code+/docs.bzl:716:14: INFO: ⚠️ DEPRECATED: Passing a Needs inventory through docs(data = [...]) is deprecated!!! Move it to external_needs = [...] instead.
WARNING: Target pattern parsing failed.
ERROR: Skipping '//:license-check': no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/logging/logging/BUILD
ERROR: no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/logging/logging/BUILD
INFO: Elapsed time: 16.935s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@srinivasugithub
srinivasugithub force-pushed the feature/issue-353-adopt-global-toolchain branch from 081749d to 59a4fa3 Compare October 30, 2026 09:39
@rmaddikery
rmaddikery force-pushed the feature/issue-353-adopt-global-toolchain branch from 59a4fa3 to 1e7d419 Compare October 30, 2026 10:48
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 10:48 — with GitHub Actions Active
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 10:48 — with GitHub Actions Active
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 10:48 — with GitHub Actions Active
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 10:48 — with GitHub Actions Active
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 10:48 — with GitHub Actions Active
@rmaddikery
rmaddikery force-pushed the feature/issue-353-adopt-global-toolchain branch from 1e7d419 to 19ad632 Compare October 30, 2026 11:23
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 11:23 — with GitHub Actions Active
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 11:23 — with GitHub Actions Active
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 11:23 — with GitHub Actions Active
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 11:23 — with GitHub Actions Active
@rmaddikery
rmaddikery deployed to workflow-approval October 30, 2026 11:23 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-396: https://eclipse-score.github.io/logging/pr-396/

This branch was successfully deployed

1 active deployment
workflow-approval — 19ad6325 Deployed Oct 30, 2026 by rmaddikery via qnx-build (arm64-qnx) / approval #1406
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

Validate and adopt the S-CORE global toolchain configuration

3 participants