Pkg precompile single threaded option?

Is there a way to force precompilation to single threaded in Julia 1.7? I’m running it on the tiny Raspberry Pi Zero and the multithreaded precompilation blows up RAM with a lot of julia instances.

You can set the environment variable JULIA_NUM_PRECOMPILE_TASKS to 1.

2 Likes