Skip to content

Commit 4cba156

Browse files
author
Sergio Sánchez Ramírez
committed
expose bazel host and target toolchains file paths as env vars
1 parent a8c67a8 commit 4cba156

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Runner.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,8 @@ function platform_envs(platform::AbstractPlatform, src_name::AbstractString;
12331233
"CMAKE_TARGET_TOOLCHAIN" => "/opt/toolchains/$(triplet(platform))/target_$(target).cmake",
12341234
"MESON_HOST_TOOLCHAIN" => "/opt/toolchains/$(triplet(host_platform))/host_$(host_target).meson",
12351235
"MESON_TARGET_TOOLCHAIN" => "/opt/toolchains/$(triplet(platform))/target_$(target).meson",
1236+
"BAZEL_HOST_TOOLCHAIN" => "/opt/toolchains/$(triplet(host_platform))/host_$(host_target).bzl",
1237+
"BAZEL_TARGET_TOOLCHAIN" => "/opt/toolchains/$(triplet(platform))/target_$(target).bzl",
12361238

12371239
# We should always be looking for packages already in the prefix
12381240
"PKG_CONFIG_PATH" => "$(prefix)/lib/pkgconfig:$(prefix)/lib64/pkgconfig:$(prefix)/share/pkgconfig",

0 commit comments

Comments
 (0)