I added a package to my Julia environment, and the package successfully precompiled. However, several log messages and errors were logged to the console. The errors seem to have been caught because they did not cause precompilation to fail.
How do I force a Julia package in my environment to redo precompilation?
Julia packages are usually precompiled to
DEPOT_PATH[1]/compiled/v#.#/NameOfPackagewhereDEPOT_PATH[1]is usually~/.juliain your home directory.One way to force recompilation is to delete the cache files at the above location.
Another way is to invoke the following function with the name of the package as a
String.For packages imported via
Pkg.developor] dev, modify the package files will also force recompilation.