Should the test environment precompile (w/ --check-bounds=yes
) when precompiling a package environment?
#55449
Labels
--check-bounds=yes
) when precompiling a package environment?
#55449
Currently, if you precompile a package environment, the test dependencies are not precompiled. I think they should be, and test deps along with all regular deps should be precompiled with
--check-bounds=yes
, so that once a package env is precompiled,] test
can be run without additional precompilation of any dependencies.@IanButterworth pointed out the technology for parallel precompiling with multiple settings of
--check-bounds
is already used for stdlibs when using Julia, so I think that could be used here.Compiling deps w/
--check-bounds=yes
as well doubles the number of packages to precompile, but without adding any additional depth to the precompile tree and therefore may not cost much in user time. Additionally precompiling the test-only deps could potentially add some depth, especially if there are heavy test deps. However, I think most of the time someone is precompiling a package env that has test deps, they will likely use them.The text was updated successfully, but these errors were encountered: