Skip to content

Commit d60e3a9

Browse files
committed
Add new QNX package into matrix
The new QNX package version 8.0.3 is added. Currently we do not support this version constraint on platform side so the constraint will still point 8.0.0.
1 parent e338375 commit d60e3a9

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

packages/version_matrix.bzl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ VERSION_MATRIX = {
7373
"url": "https://www.qnx.com/download/download/79858/installation.tgz",
7474
"gcc_version": "12.2.0",
7575
},
76+
"aarch64-qnx-sdp_8.0.3": {
77+
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/aarch64/sdp/8.0.0:sdp.BUILD",
78+
"sha256": "9039fd6a4a639f06ea977afb93963a6fe8f8c46db727066709370d999c7232e0",
79+
"url": "https://www.qnx.com/download/download/87174/installation_qnx_803_260305.tar.xz",
80+
"gcc_version": "12.2.0",
81+
},
7682
"x86_64-linux-gcc_12.2.0": {
7783
"build_file": "@score_bazel_cpp_toolchains//packages/linux/x86_64/gcc/12.2.0:gcc.BUILD",
7884
"sha256": "e9b9a7a63a5f8271b76d6e2057906b95c7a244e4931a8e10edeaa241e9f7c11e",
@@ -193,4 +199,10 @@ VERSION_MATRIX = {
193199
"url": "https://www.qnx.com/download/download/79858/installation.tgz",
194200
"gcc_version": "12.2.0",
195201
},
202+
"x86_64-qnx-sdp_8.0.3": {
203+
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/x86_64/sdp/8.0.0:sdp.BUILD",
204+
"sha256": "9039fd6a4a639f06ea977afb93963a6fe8f8c46db727066709370d999c7232e0",
205+
"url": "https://www.qnx.com/download/download/87174/installation_qnx_803_260305.tar.xz",
206+
"gcc_version": "12.2.0",
207+
},
196208
}

rules/gcc.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _impl(rctx):
180180
"%{license_info_value}": rctx.attr.license_info_value,
181181
"%{license_info_variable}": rctx.attr.license_info_variable,
182182
"%{license_path}": rctx.attr.license_path,
183-
"%{sdp_version}": rctx.attr.sdp_version,
183+
"%{sdp_version}": "8.0.0" if rctx.attr.sdp_version == "8.0.3" else rctx.attr.sdp_version, # FIXME: currently we do not support constraint "8.0.3".
184184
"%{tc_cpu_cxx}": "aarch64le" if rctx.attr.tc_cpu == "aarch64" else rctx.attr.tc_cpu,
185185
"%{use_license_info}": "False" if rctx.attr.license_info_value == "" else "True",
186186
}

0 commit comments

Comments
 (0)