Skip to content

Docs API#21

Draft
nradakovic wants to merge 1 commit intomainfrom
nira_add_sphinx_docs
Draft

Docs API#21
nradakovic wants to merge 1 commit intomainfrom
nira_add_sphinx_docs

Conversation

@nradakovic
Copy link
Member

No description provided.

@nradakovic nradakovic self-assigned this Feb 5, 2026
@nradakovic nradakovic added documentation Improvements or additions to documentation p4 Negligible impact - improvements and/or cosmetic features. labels Feb 5, 2026
============================

TBD
Welcome to Bazel C/C++ Toolchain Config documentation. This repository containts Bazel toolchain configurations for different platforms used within S-CORE modules.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Welcome to Bazel C/C++ Toolchain Config documentation. This repository containts Bazel toolchain configurations for different platforms used within S-CORE modules.
Welcome to Bazel C/C++ Toolchain Config documentation. This repository contains Bazel toolchain configurations for different platforms used within S-CORE modules.

- ``use_system_toolchain`` (bool): If true, do not download/link SDP archives (system toolchain mode).
- ``runtime_ecosystem`` (string): Runtime ecosystem identifier (default ``posix``).
- ``version`` (string): GCC toolchain version.
- ``license_info_url`` (string): URL of the license server (used for QNX flows).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean with "flows" here? Do you mean QNX "toolchains" or "flavors"? Or "workflows"?
But if it is meant to be used in workflows then it would be good to inject that parameter from the outside via command line parameter / bazelrc / environment variable because this kind of thing should not be baked into the module file, but is something determined by the execution environment. E.g. at ETAS we might have a different license server than at BMW.

Copy link
Member Author

@nradakovic nradakovic Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this has nothing to do with the workflows. QNX requires that each call to qcc or any other tool from their package verifies developers license information (which product under developer name is registered), so with this said, everyone should set their license under certian path. We agreed that default location will be: /opt/score_qnx/license/licenses. If this license file is missing, QNX wrappers will try to use predeclared enviorment variables to fetch information about license servers. This argument is for that.
Since the build is executed in sandbox, we're injecting license info over toolchain mechanism where the tools are executed. Option to do this directly from command line is very bad because every change to env/config, bazel will rebuild the whole toolchain.

@nradakovic nradakovic added the wip Work in progress label Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation p4 Negligible impact - improvements and/or cosmetic features. wip Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants