Skip to content

Commit 2192a3f

Browse files
authored
Add Julia v0.7 comments (#105)
1 parent d0e9129 commit 2192a3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/static_julia.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ function build_object(
220220
)
221221
cache_dir = "cache_ji_v$VERSION"
222222
if julia_v07
223+
# TODO: verify if this initialization is correct for Julia v0.7
223224
expr = "
224225
Base.__init__(); Sys.__init__() # initialize \"Base\" and \"Sys\" modules
225226
pushfirst!(Base.DEPOT_PATH, \"$cache_dir\") # save precompiled modules locally
@@ -232,6 +233,7 @@ function build_object(
232233
include(\"$juliaprog\") # include Julia program file
233234
empty!(Base.LOAD_CACHE_PATH) # reset / remove build-system-relative paths"
234235
end
236+
# TODO: verify if this can be used with Julia v0.7 too (currently it does not seem to work), or how to precompile modules
235237
if !julia_v07 && compilecache == "yes"
236238
command = `$julia_cmd -e $expr`
237239
verbose && println("Build \".ji\" local cache:\n $command")

0 commit comments

Comments
 (0)