Open
Description
Summary
Nimjl crashes when trying to get Julia version from a different architecture toolchain.
Description
I want to cross-compile a program for an aarch64 target on an x86 host. I have downloaded the Julia aarch64 toolchain and updated JULIA_PATH. The nimjl library crashes when it tries to get the Julia version with <JULIA_CROSS_TOOLCHAIN_DIR>/bin/julia -E VERSION
. I have found a workaround by statically setting my version: installed in (config.nim) : const cmdOutput = "v\"1.10.6\"".
Alternatives
Get Julia version by parsing the name of <JULIA_CROSS_TOOLCHAIN_DIR>/lib/julia.so.<VERSION>
or use another method that allows cross-compilation for multiple architectures ?
Metadata
Metadata
Assignees
Labels
No labels