# Makie.jl Extensions frequently recompiled

**URL:** <https://discourse.julialang.org/t/makie-jl-extensions-frequently-recompiled/128203>\
**Category:** General Usage\
**Tags:** package, package-extensions\
**Created:** [April 19, 2025, 3:32am UTC](https://discourse.julialang.org/t/makie-jl-extensions-frequently-recompiled/128203 "2025-04-19T03:32:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kongdd](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kongdd/32/17058_2.png) [@kongdd](https://discourse.julialang.org/u/kongdd)\
**Post date:** [April 19, 2025, 3:32am UTC](https://discourse.julialang.org/t/makie-jl-extensions-frequently-recompiled/128203/1 "2025-04-19T03:32:41Z")

</div>

ArchGDAL.jl has the extension ArchGDALMakieExt ([ArchGDAL.jl/Project.toml at master · yeesian/ArchGDAL.jl · GitHub](https://github.com/yeesian/ArchGDAL.jl/blob/master/Project.toml)).

My pkg `Ipaper.jl` has an extension relies on `ArchGDAL.jl`. Each time I update `Ipaper.jl` in the system environment, `Makie.jl` was needed to recompiled. It comsumed a very long time.

Any idea how to avoid recompiling `Makie.jl`?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [April 19, 2025, 5:57am UTC](https://discourse.julialang.org/t/makie-jl-extensions-frequently-recompiled/128203/2 "2025-04-19T05:57:13Z")

</div>

Could you clarify what you mean by “update” your package (edit some code or update deps or?) and what the “system environment” is and if there’s other packages in there?

Makie should not need recompilation if none of its dependencies have changed when it’s loaded. So if you update your main env and some dependencies get updated, that would cause recompilation but that doesn’t have anything to do with package extensions.

Basically one should avoid loading packages from multiple different environments because the chance is bigger that there are mismatches between some versions.

---

<div class="post-metadata">

**Author:** ![hexaeder](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hexaeder/32/24403_2.png) [@hexaeder](https://discourse.julialang.org/u/hexaeder)\
**Post date:** [April 19, 2025, 12:38pm UTC](https://discourse.julialang.org/t/makie-jl-extensions-frequently-recompiled/128203/3 "2025-04-19T12:38:27Z")

</div>

One common problem is that you have something like `using Revise` in your startup (which load some deps) and change environment **afterwards**. This can lead to cache miss in precompilation (because some shared deps might be already loaded). Nearly all of my preconpilation gripes where resolved once I startet always invoking Julia with `—project=@.`.
