Skip to content

Commit d5a3928

Browse files
Apply buildifier formatting for QNX SDP changes
1 parent 2ed81fc commit d5a3928

2 files changed

Lines changed: 38 additions & 35 deletions

File tree

packages/qnx/SDP/qnx_sdp.bzl

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
def _qnx_sdp_distribution_impl(ctx):
44
"""Implementation of the QNX SDP distribution rule."""
5-
5+
66
patchset = ctx.file.patchset
77
qnxsoftwarecenter_clt = ctx.executable.qnxsoftwarecenter_clt
8-
8+
99
# Output directory for the SDP distribution
1010
output_dir = ctx.actions.declare_directory(ctx.attr.name)
11-
11+
1212
# Create a script to run the qnxsoftwarecenter_clt command
1313
script = ctx.actions.declare_file(ctx.attr.name + "_install.sh")
14-
14+
1515
script_content = """#!/bin/bash
1616
set -e
1717
@@ -20,6 +20,9 @@ QNXSOFTWARECENTER_CLT="{qnxsoftwarecenter_clt}"
2020
PKG_PATCHLIST="{patchset}"
2121
INSTALL_DIR="{install_dir}"
2222
23+
echo "srini - Installing QNX SDP from patchset $PKG_PATCHLIST using $QNXSOFTWARECENTER_CLT"
24+
echo "srini - Output directory: $INSTALL_DIR"
25+
2326
# Create output directory
2427
mkdir -p "$INSTALL_DIR"
2528
@@ -48,13 +51,13 @@ echo "QNX SDP distribution created successfully in $INSTALL_DIR"
4851
patchset = patchset.path,
4952
install_dir = output_dir.path,
5053
)
51-
54+
5255
ctx.actions.write(
5356
output = script,
5457
content = script_content,
5558
is_executable = True,
5659
)
57-
60+
5861
# Run the installation script
5962
ctx.actions.run(
6063
inputs = [patchset, qnxsoftwarecenter_clt],
@@ -67,7 +70,7 @@ echo "QNX SDP distribution created successfully in $INSTALL_DIR"
6770
"no-sandbox": "1", # May need to run without sandbox for installer
6871
},
6972
)
70-
73+
7174
return [
7275
DefaultInfo(
7376
files = depset([output_dir]),

packages/version_matrix.bzl

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,20 @@ VERSION_MATRIX = {
6666
"strip_prefix": "sysroot",
6767
"url": "https://github.com/eclipse-score/inc_os_autosd/releases/download/continuous/autosd-toolchain-aarch64.tar.gz",
6868
},
69-
"aarch64-qnx-sdp_8.0.0": {
70-
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/aarch64/sdp/8.0.0:sdp.BUILD",
71-
"sha256": "f2e0cb21c6baddbcb65f6a70610ce498e7685de8ea2e0f1648f01b327f6bac63",
72-
"strip_prefix": "installation",
73-
"url": "https://www.qnx.com/download/download/79858/installation.tgz",
74-
"gcc_version": "12.2.0",
75-
},
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-
"strip_prefix": "",
80-
"url": "https://www.qnx.com/download/download/87174/installation_qnx_803_260305.tar.xz",
81-
"gcc_version": "12.2.0",
82-
},
69+
# "aarch64-qnx-sdp_8.0.0": {
70+
# "build_file": "@score_bazel_cpp_toolchains//packages/qnx/aarch64/sdp/8.0.0:sdp.BUILD",
71+
# "sha256": "f2e0cb21c6baddbcb65f6a70610ce498e7685de8ea2e0f1648f01b327f6bac63",
72+
# "strip_prefix": "installation",
73+
# "url": "https://www.qnx.com/download/download/79858/installation.tgz",
74+
# "gcc_version": "12.2.0",
75+
# },
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+
# "strip_prefix": "",
80+
# "url": "https://www.qnx.com/download/download/87174/installation_qnx_803_260305.tar.xz",
81+
# "gcc_version": "12.2.0",
82+
# },
8383
"x86_64-linux-gcc_12.2.0": {
8484
"build_file": "@score_bazel_cpp_toolchains//packages/linux/x86_64/gcc/12.2.0:gcc.BUILD",
8585
"sha256": "e9b9a7a63a5f8271b76d6e2057906b95c7a244e4931a8e10edeaa241e9f7c11e",
@@ -193,20 +193,20 @@ VERSION_MATRIX = {
193193
"sha256": "f44286c28d831dc40acdac08ef49f38a2e9cbb057bea38c25834964693785287",
194194
"url": "https://github.com/Elektrobit/eb_corbos_toolkit/releases/download/v2.0.0-beta1/fastdev-sdk-ubuntu-ebclfsa-ebcl-qemuarm64.tar.gz",
195195
},
196-
"x86_64-qnx-sdp_8.0.0": {
197-
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/x86_64/sdp/8.0.0:sdp.BUILD",
198-
"sha256": "f2e0cb21c6baddbcb65f6a70610ce498e7685de8ea2e0f1648f01b327f6bac63",
199-
"strip_prefix": "installation",
200-
"url": "https://www.qnx.com/download/download/79858/installation.tgz",
201-
"gcc_version": "12.2.0",
202-
},
203-
"x86_64-qnx-sdp_8.0.3": {
204-
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/x86_64/sdp/8.0.0:sdp.BUILD",
205-
"sha256": "9039fd6a4a639f06ea977afb93963a6fe8f8c46db727066709370d999c7232e0",
206-
"strip_prefix": "",
207-
"url": "https://www.qnx.com/download/download/87174/installation_qnx_803_260305.tar.xz",
208-
"gcc_version": "12.2.0",
209-
},
196+
# "x86_64-qnx-sdp_8.0.0": {
197+
# "build_file": "@score_bazel_cpp_toolchains//packages/qnx/x86_64/sdp/8.0.0:sdp.BUILD",
198+
# "sha256": "f2e0cb21c6baddbcb65f6a70610ce498e7685de8ea2e0f1648f01b327f6bac63",
199+
# "strip_prefix": "installation",
200+
# "url": "https://www.qnx.com/download/download/79858/installation.tgz",
201+
# "gcc_version": "12.2.0",
202+
# },
203+
# "x86_64-qnx-sdp_8.0.3": {
204+
# "build_file": "@score_bazel_cpp_toolchains//packages/qnx/x86_64/sdp/8.0.0:sdp.BUILD",
205+
# "sha256": "9039fd6a4a639f06ea977afb93963a6fe8f8c46db727066709370d999c7232e0",
206+
# "strip_prefix": "",
207+
# "url": "https://www.qnx.com/download/download/87174/installation_qnx_803_260305.tar.xz",
208+
# "gcc_version": "12.2.0",
209+
# },
210210
# SDP patchset distribution (local/virtio variant)
211211
"x86_64-qnx-sdp_8.0.3-virtio": {
212212
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/SDP:BUILD",

0 commit comments

Comments
 (0)