JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.4k stars 5.46k forks source link

Julia's target parsing/detecting deserves a refactor #54482

Open gbaraldi opened 3 months ago

gbaraldi commented 3 months ago

Julia currently handrolls it's target detection with a very convoluted script that deserves a refactor.

gbaraldi commented 3 months ago

We should also separate the JIT target from the image target and try to make it less order independent. (Not using the first target as the JIT one will help quite a bit). Though we should do that with having in mind that cross compilation might be a thing in the future.