-
Notifications
You must be signed in to change notification settings - Fork 0
Add QNX 7.1 remote toolchain support and address PR #12 review comments #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1590a86
c070147
34a51a9
9f5bebc
3fe6ba0
71eaa69
65dc140
a91dac9
52d9d7c
e876efc
df57507
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,16 +45,32 @@ build:qnx-x86_64 --extra_toolchains=@score_qcc_x86_64_toolchain//:x86_64-qnx-sdp | |
| build:qnx-x86_64 --extra_toolchains=@score_qnx_x86_64_ifs_toolchain//:ifs-x86_64-qnx-sdp_8.0.0 | ||
| build:qnx-x86_64 --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_x86_64_pc_nto_qnx800 | ||
|
|
||
| # ─── QNX aarch64 cross-compilation config ──────────────────────────────────── | ||
| # ─── QNX aarch64 cross-compilation config (QNX 8.0) ───────────────────────── | ||
| # Usage: bazel build --config=qnx-aarch64 //target | ||
| build:qnx-aarch64 --config=_common | ||
| build:qnx-aarch64 --config=_qnx_common | ||
| build:qnx-aarch64 --action_env=QNXLM_LICENSE_FILE | ||
| build:qnx-aarch64 --sandbox_writable_path=/var/tmp | ||
| build:qnx-aarch64 --platforms=@score_bazel_platforms//:aarch64-qnx-sdp_7.1.0-posix | ||
| build:qnx-aarch64 --extra_toolchains=@score_qcc_aarch64_toolchain//:aarch64-qnx-sdp_7.1.0 | ||
| build:qnx-aarch64 --platforms=@score_bazel_platforms//:aarch64-qnx-sdp_8.0.0-posix | ||
| build:qnx-aarch64 --extra_toolchains=@score_qcc_aarch64_toolchain//:aarch64-qnx-sdp_8.0.0 | ||
| build:qnx-aarch64 --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_aarch64_unknown_nto_qnx800 | ||
|
|
||
| build:qnx-aarch64 --extra_toolchains=@score_qnx_aarch64_ifs_toolchain//:ifs-aarch64-qnx-sdp_8.0.0 | ||
|
|
||
| # ─── QNX 7.1 aarch64 cross-compilation config (ProAI 8650) ─────────────────── | ||
| # Usage: bazel build --config=qnx71-aarch64 //target | ||
| # Note: QNXLM_LICENSE_FILE must be set to the FLEXlm license file path or | ||
| # floating license server address before building, e.g.: | ||
| # export QNXLM_LICENSE_FILE=/path/to/license.dat # local file | ||
| # export QNXLM_LICENSE_FILE=5054@license-server # floating server | ||
| # The --action_env flag forwards this variable into Bazel sandbox actions. | ||
| build:qnx71-aarch64 --config=_common | ||
| build:qnx71-aarch64 --config=_qnx_common | ||
| build:qnx71-aarch64 --action_env=QNXLM_LICENSE_FILE | ||
| build:qnx71-aarch64 --action_env=LM_LICENSE_FILE | ||
| build:qnx71-aarch64 --sandbox_writable_path=/var/tmp | ||
| build:qnx71-aarch64 --platforms=@score_bazel_platforms//:aarch64-qnx-sdp_7.1.0-posix | ||
| build:qnx71-aarch64 --extra_toolchains=@score_qcc_aarch64_qnx71_toolchain//:aarch64-qnx-sdp_7.1.0 | ||
| build:qnx71-aarch64 --extra_toolchains=@score_qnx_aarch64_qnx71_ifs_toolchain//:ifs-aarch64-qnx-sdp_7.1.0 | ||
| build:qnx71-aarch64 --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_aarch64_unknown_nto_qnx800 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ifs for 7.1 from score_qnx_aarch64_ifs_toolchain shall be included as well, or?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added |
||
|
|
||
|
|
||
| build:linux-x86_64 --config=_common | ||
| build:linux-x86_64 --extra_toolchains=@score_gcc_x86_64_toolchain//:x86_64-linux-gcc_12.2.0 | ||
|
|
||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,14 @@ imagefs.toolchain( | |
| imagefs.toolchain( | ||
| name = "score_qnx_aarch64_ifs_toolchain", | ||
| sdp_to_import = "@score_qcc_aarch64_toolchain_pkg", | ||
| sdp_version = "8.0.0", | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we need another one for 7.1 as well
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added |
||
| target_cpu = "aarch64", | ||
| target_os = "qnx", | ||
| type = "ifs", | ||
| ) | ||
| imagefs.toolchain( | ||
| name = "score_qnx_aarch64_qnx71_ifs_toolchain", | ||
| sdp_to_import = "@score_qcc_aarch64_qnx71_toolchain_pkg", | ||
| sdp_version = "7.1.0", | ||
| target_cpu = "aarch64", | ||
| target_os = "qnx", | ||
|
|
@@ -48,5 +56,6 @@ imagefs.toolchain( | |
| use_repo( | ||
| imagefs, | ||
| "score_qnx_aarch64_ifs_toolchain", | ||
| "score_qnx_aarch64_qnx71_ifs_toolchain", | ||
| "score_qnx_x86_64_ifs_toolchain", | ||
| ) | ||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldnt be 7.1 toolchain as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could see only toolchain for aarch64-unknown-nto-qnx800 (QNX 8.0) present actually and no aarch64-unknown-nto-qnx710 binary for QNX 7.1 in eclipse-score/ferrocene_toolchain_builder releases. Is there any other way to address this?