Raku / problem-solving

🦋 Problem Solving, a repo for handling problems that require review, deliberation and possibly debate
Artistic License 2.0
70 stars 16 forks source link

Does -I Directory Order Affect Whether Modules are Recompiled? #335

Open Xliff opened 2 years ago

Xliff commented 2 years ago

If so, if this is due to the first specified -I directory being used for something, can we remove the need for that. I am of the thought that if a module is pre-compiled, it should be globally precompiled, and that the -I directories should be decoupled from the process.

Please discuss.

Xliff commented 2 years ago

As requested by the template, my proposed solution is thus:

Can we use a $*HOME/.rakudo-precomp to act as a default location for precompiled files and then use a command-line flag to override this location?