Skip to content

Commit 55aeb2f

Browse files
authored
fix not loading startup.jl in generate_precompile.jl (#37739)
1 parent 2479691 commit 55aeb2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/generate_precompile.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function generate_precompile_statements()
145145
Base.PRECOMPILE_TRACE_COMPILE[] = $(repr(tmp));
146146
Base.compilecache(Base.PkgId($(repr(pkgname))), $(repr(path)))
147147
"""
148-
run(`$(julia_exepath()) -O0 --sysimage $sysimg -Cnative -e $s`)
148+
run(`$(julia_exepath()) -O0 --sysimage $sysimg --startup-file=no -Cnative -e $s`)
149149
hardcoded_precompile_statements *= "\n" * read(tmp, String)
150150
end
151151

0 commit comments

Comments
 (0)