Closed timholy closed 1 year ago
Not quite sure why it didn't work, maybe change to PrecompileTools.@setup_workflow
?
Looks like this was just incorrect macro names introduce by the script(?)
Should be setup_workload
, compile_workload
, not setup_workflow
, precompile_workflow
Ah, I edited them by hand since the script wasn't designed to detect them without the @
. Sorry about that, and thanks for figuring it out!
This pull request migrates the package from SnoopPrecompile to PrecompileTools. PrecompileTools is nearly a drop-in replacement except that there are changes in naming and how developers locally disable precompilation (to make their development workflow more efficient). These changes are described in PrecompileTool's enhanced documentation, which also includes instructions for users on how to set up custom "Startup" packages, handling precompilation tasks that are not amenable to workloads, and tips for troubleshooting.
Why the new package? It meets several goals:
For more information and discussion, see this discourse post.