Skip to content

added QNX SPD CLI support#57

Open
srinivasugithub wants to merge 9 commits into
eclipse-score:mainfrom
bgsw-contrib:feature/QNX_SDP_update
Open

added QNX SPD CLI support#57
srinivasugithub wants to merge 9 commits into
eclipse-score:mainfrom
bgsw-contrib:feature/QNX_SDP_update

Conversation

@srinivasugithub
Copy link
Copy Markdown

added QNX SPD CLI support

@@ -0,0 +1,26 @@
# *******************************************************************************
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why did you create module here? As far as I can see, we don't need this.

Comment thread packages/qnx/SDP/BUILD
)

# Package the SDP as a tarball for distribution (optional)
genrule(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We don't need genrule to package the output of CLI QNX (SDP). Bazel support already all sorts of packaging rules like pkg_tar or pkg_zip.

Comment thread packages/qnx/SDP/BUILD
)

# Create a filegroup that references the output directory
filegroup(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Where is this used?


# Download the QNX installer
http_file(
name = "qnx_installer",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I really believe it would be good to get this installer as binary from somewhere rather than installing it like this. I will check with QNX if this is possible.


"""Rule to create a QNX SDP distribution from a patchset file."""

def _qnx_sdp_distribution_impl(ctx):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why we need to run the command over the script? Why not directly via ctx.actuins.run?

# "gcc_version": "12.2.0",
# },
"aarch64-qnx-sdp_8.0.0": {
"build_file": "@score_bazel_cpp_toolchains//packages/qnx/aarch64/sdp/8.0.0:sdp.BUILD",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please do not remove old references, just add the new one if you need them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants