Open gbaraldi opened 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.
Julia currently handrolls it's target detection with a very convoluted script that deserves a refactor.
Any time this errors we get very weird and obscure errors. i.e, if you have a locally built julia with
march=native
(the default) and try to build a pkgimg for ageneric
target you get.This has probably not been seen before because package images were always just targeting whatever was loaded in the JIT.