Revision 7e18247a754843a2e601fda9ce750bef0e2334af authored by Yichao Yu on 05 November 2017, 16:38:03 UTC, committed by Yichao Yu on 05 November 2017, 23:26:20 UTC
This should show us if there's any OOM or other network related issues.
1 parent bd52564
Raw File
write_base_cache.jl
# Write the sys source cache in format readable by Base._read_dependency_src
cachefile = ARGS[1]
open(cachefile, "w") do io
    for (_, filename) in Base._included_files
        src = read(filename, String)
        write(io, hton(Int32(sizeof(filename))))
        write(io, filename)
        write(io, hton(UInt64(sizeof(src))))
        write(io, src)
    end
    write(io, Int32(0))
end
back to top