We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
JULIA_DEPOT_PATH
julia
1 parent cc03bee commit b2006f8Copy full SHA for b2006f8
deps/ReactantExtra/make-bindings.jl
@@ -1,8 +1,13 @@
1
+JULIA_CMD = Base.julia_cmd().exec[1]
2
+if haskey(ENV, "JULIA_DEPOT_PATH")
3
+ JULIA_CMD = "JULIA_DEPOT_PATH=$(ENV["JULIA_DEPOT_PATH"]) $(JULIA_CMD)"
4
+end
5
+
6
function build_file(output_path)
7
file = basename(output_path)
8
run(
9
Cmd(
- `bazel build --action_env=JULIA=$(Base.julia_cmd().exec[1]) --repo_env HERMETIC_PYTHON_VERSION="3.10" --check_visibility=false --verbose_failures //:$file`;
10
+ `bazel build --action_env=JULIA=\"$JULIA_CMD\" --repo_env HERMETIC_PYTHON_VERSION="3.10" --check_visibility=false --verbose_failures //:$file`;
11
dir=@__DIR__,
12
),
13
)
0 commit comments