I looks like this is indeed not something that the average user will be
able to do with one or two commands (let alone do it cleanly). So how about
adding something like
Pkg.precompile()
I think it would be very useful - both for teaching/presentation situations
and for running jobs on a compute cluster.
On Friday, February 19, 2016 at 10:30:17 PM UTC+1, Steven G. Johnson wrote:
>
>
>
> On Thursday, February 18, 2016 at 7:33:49 AM UTC-5, Oliver Schulz wrote:
>>
>> But Base.compilecache compiles every time right, not just when necessary?
>> So when looping over all packages after a "Pkg.update()", it would
>> recompile everything,
>> no matter if outdated or not?
>>
>
> Worse, compilecache will try to compile things regardless of whether they
> have been marked as precompile-safe.
>