For anyone interested, follow here: https://github.com/JuliaLang/julia/pull/5687
On Monday, February 3, 2014 11:56:52 AM UTC-8, Westley Hennigh wrote: > > A friend and I have been poking around trying to make a version of Julia > (an image? a bit code bundle? I'm not clean on terminology) that, when > started, will have a set of slow-to-compile packages we depend on ready to > go. > > We've found the `--build` flag in the makefile: > https://github.com/JuliaLang/julia/blob/master/Makefile#L93 > > And we think we see some work being done in the trampoline (great name, by > the way): https://github.com/JuliaLang/julia/blob/master/src/init.c#L870 > > We've even found that we can sneak into sysimg.jl and add our own includes > here: https://github.com/JuliaLang/julia/blob/master/base/sysimg.jl#L237, > and that they will show up in the build of Julia produced. > > But there are two immediate problems: First, sticking things into > sysimg.jl and having them be defined in Base is far from respectable. > Second, initialization of the `Scheduler` is not complete ( > https://github.com/JuliaLang/julia/blob/master/base/client.jl#L332), so > we can't include many of the packages we need. > > So I think we're off to try and find a way to generate and save out a .bc > object sometime after the `Scheduler` has been defined and our packages can > be included? We would really appreciate any pointers or advice on where to > go from here :) > > >
