Skip to content

Commit 914d0ed

Browse files
bazel: use dev_dependecy for toolchains (#144)
* bazel: use dev_dependecy for toolchains Use dev dependencies for toolchains Signed-off-by: Dan Calavrezo <[email protected]> * qnx: added dev_dependecy to toolchain registration too added missing dev_dependency Signed-off-by: Dan Calavrezo <[email protected]> --------- Signed-off-by: Dan Calavrezo <[email protected]>
1 parent 91f4aae commit 914d0ed

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

MODULE.bazel

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ crate.from_cargo(
111111
],
112112
)
113113

114-
bazel_dep(name = "rust_qnx8_toolchain", version = "1.0.0")
114+
bazel_dep(name = "rust_qnx8_toolchain", version = "1.0.0", dev_dependency = True)
115115
archive_override(
116116
module_name = "rust_qnx8_toolchain",
117117
strip_prefix = "qnx8",
@@ -151,21 +151,21 @@ git_override(
151151
remote = "https://github.com/eclipse-score/baselibs.git",
152152
)
153153

154-
bazel_dep(name = "score_toolchains_rust", version = "0.1")
154+
bazel_dep(name = "score_toolchains_rust", version = "0.1", dev_dependency = True)
155155
git_override(
156156
module_name = "score_toolchains_rust",
157157
commit = "5614e4b273f2f5302d47a05d7e58dae86f97a3c3",
158158
remote = "https://github.com/eclipse-score/toolchains_rust.git",
159159
)
160160

161-
bazel_dep(name = "score_toolchains_qnx", version = "0.1")
161+
bazel_dep(name = "score_toolchains_qnx", version = "0.1", dev_dependency = True)
162162
git_override(
163163
module_name = "score_toolchains_qnx",
164164
commit = "cdaa451c994f5e1f88aa6395dd516586f387d0ec",
165165
remote = "https://github.com/eclipse-score/toolchains_qnx.git",
166166
)
167167

168-
toolchains_qnx = use_extension("@score_toolchains_qnx//:extensions.bzl", "toolchains_qnx")
168+
toolchains_qnx = use_extension("@score_toolchains_qnx//:extensions.bzl", "toolchains_qnx", dev_dependency = True)
169169
toolchains_qnx.sdp(
170170
sha256 = "f2e0cb21c6baddbcb65f6a70610ce498e7685de8ea2e0f1648f01b327f6bac63",
171171
strip_prefix = "installation",
@@ -175,4 +175,8 @@ use_repo(toolchains_qnx, "toolchains_qnx_sdp")
175175
use_repo(toolchains_qnx, "toolchains_qnx_qcc")
176176

177177
# Registers the custom Rust toolchain wired to @qnx_rust
178-
register_toolchains("@toolchains_qnx_qcc//:qcc_aarch64", "@score_toolchains_rust//toolchains/aarch64-unknown-qnx8_0:toolchain_aarch64_qnx8_0")
178+
register_toolchains(
179+
"@toolchains_qnx_qcc//:qcc_aarch64",
180+
"@score_toolchains_rust//toolchains/aarch64-unknown-qnx8_0:toolchain_aarch64_qnx8_0",
181+
dev_dependency = True,
182+
)

0 commit comments

Comments
 (0)