Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ build:qnx-x86_64 --incompatible_strict_action_env
build:qnx-x86_64 --sandbox_writable_path=/var/tmp
build:qnx-x86_64 --platforms=@score_bazel_platforms//:x86_64-qnx-sdp_8.0.0-posix
build:qnx-x86_64 --extra_toolchains=@score_qcc_x86_64_toolchain//:x86_64-qnx-sdp_8.0.0-posix
build:qnx-x86_64 --extra_toolchains=@toolchains_qnx_ifs//:ifs_x86_64
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

build:itf-qnx-x86_64 --config=qnx-x86_64
Expand Down
35 changes: 27 additions & 8 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,31 @@ git_override(
)

# Currently required for ifs tooling
bazel_dep(name = "score_toolchains_qnx", version = "0.0.7")
toolchains_qnx = use_extension("@score_toolchains_qnx//:extensions.bzl", "toolchains_qnx", dev_dependency=True)
toolchains_qnx.sdp(
sha256 = "f2e0cb21c6baddbcb65f6a70610ce498e7685de8ea2e0f1648f01b327f6bac63",
strip_prefix = "installation",
url = "https://www.qnx.com/download/download/79858/installation.tgz",
# bazel_dep(name = "score_toolchains_qnx", version = "0.0.7")
# toolchains_qnx = use_extension("@score_toolchains_qnx//:extensions.bzl", "toolchains_qnx", dev_dependency=True)
# toolchains_qnx.sdp(
# sha256 = "f2e0cb21c6baddbcb65f6a70610ce498e7685de8ea2e0f1648f01b327f6bac63",
# strip_prefix = "installation",
# url = "https://www.qnx.com/download/download/79858/installation.tgz",
# )
# use_repo(toolchains_qnx, "toolchains_qnx_sdp")
# use_repo(toolchains_qnx, "toolchains_qnx_ifs")
bazel_dep(name = "score_rules_imagefs", version = "0.0.1")
git_override(
module_name = "score_rules_imagefs",
remote = "https://github.com/eclipse-score/rules_imagefs.git",
commit = "9507e5bb2bc247e570014fc713c512f10d5f87cc",
)
imagefs = use_extension("@score_rules_imagefs//extensions:imagefs.bzl", "imagefs", dev_dependency=True)
imagefs.toolchain(
name = "score_qnx_x86_64_ifs_toolchain",
target_os = "qnx",
target_cpu = "x86_64",
sdp_version = "8.0.0",
sdp_to_import = "@score_qcc_x86_64_toolchain_pkg",
type = "ifs",
)
use_repo(
imagefs,
"score_qnx_x86_64_ifs_toolchain",
)
use_repo(toolchains_qnx, "toolchains_qnx_sdp")
use_repo(toolchains_qnx, "toolchains_qnx_ifs")
1 change: 1 addition & 0 deletions bazel_common/score_qnx_toolchains.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ use_repo(
qcc,
"score_qcc_aarch64_toolchain",
"score_qcc_x86_64_toolchain",
"score_qcc_x86_64_toolchain_pkg",
)
2 changes: 1 addition & 1 deletion images/qnx_x86_64/build/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

load("@score_toolchains_qnx//rules/fs:ifs.bzl", "qnx_ifs")
load("@score_rules_imagefs//rules/qnx:ifs.bzl", "qnx_ifs")

filegroup(
name = "scripts",
Expand Down
Loading