Skip to content

Excess precompilations #54192

@joa-quim

Description

@joa-quim

Hi,

Julia 1.10.0 on Windows here

These 4 steps each one precompiles the code (but in fact I can generate up to 6 if using a package that has GMT as a dependency)

1- using GMT from normal REPL
2- using GMT from VSC REPL (???)
3- ] test GMT
4- From pythoncall, jl.seval("using GMT")

Looking at the .julia\compiled\v1.10\GMT there are now 4 precompiled caches. I know the difference between 1 and 3 (was explained in a previous topic), but why the others? More in particular, why VSC REPL needs to recompile?

C:\Users\j\.julia\compiled\v1.10\GMT>dir
 Volume in drive C is OS
 Volume Serial Number is B071-46FE

 Directory of C:\Users\j\.julia\compiled\v1.10\GMT

04/22/2024  05:08 PM    <DIR>          .
04/16/2024  08:28 PM    <DIR>          ..
04/22/2024  05:06 PM        63,229,952 EoU0j_fJuKl.dll
04/22/2024  05:06 PM         1,878,233 EoU0j_fJuKl.ji
04/22/2024  02:58 PM        63,446,528 EoU0j_LJW35.dll
04/22/2024  04:27 PM         1,878,233 EoU0j_LJW35.ji
04/22/2024  03:48 PM        63,790,080 EoU0j_lMp8H.dll
04/22/2024  04:29 PM         1,878,233 EoU0j_lMp8H.ji
04/22/2024  04:26 PM        61,606,912 EoU0j_pnwhX.dll
04/22/2024  04:26 PM         1,735,014 EoU0j_pnwhX.ji
04/22/2024  05:08 PM        63,225,856 EoU0j_tuK0Q.dll
04/22/2024  05:22 PM         1,878,233 EoU0j_tuK0Q.ji
04/22/2024  03:58 PM        62,137,344 EoU0j_wcBIL.dll
04/22/2024  04:15 PM         1,735,014 EoU0j_wcBIL.ji

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions