Developing stdlib workflow

I wanted to poke around Distributed.jl. But the tests on the current commit included in Julia 1.10 are failing. I tried to clone Distributed.jl, activate its project, and then import it (per the instructions in the Pkg.jl readme), but since the tests start separate processes, the test processes don’t have the import fix.

So I need to build Julia from source. Not a huge deal, but on my 11th gen i5 laptop, it takes 10ish minutes to build Julia which is pretty rough to have in your testing hot loop.

Is there a better way?

1 Like

You can download the nightly and then you should be able to dev it

1 Like

To clarify:

  1. Download nightly binary here
  2. Clone Distributed.jl master branch into my dev directory for that nightly install
  3. Using nightly REPL, run
] 
pkg> generate testing_distributed
pkg> activate testing_distributed
pkg> develop Distributed

But then how do I run the tests for Distributed.jl?