New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it valid to use zef install --to=home for multiple rakudo installations? #5145
Comments
add @ugexe |
IIUC the behavior you describe correctly then I think the following happens:
What I'm unsure about: Do precomp files compiled with different Rakudo versions have the same hash and overwrite each other, or does the entire dependency chain factor into the hash which would mean that the precomp files are preserved and one could switch back and forth between versions without having to re-precompile every time? @ugexe Do you approve of the above thesis? |
precomp files are stored in a directory structure with paths like
`<compiler-id>/<precomp-id-prefix>/<precomp-id>`, so precomp files for the
same source but different compilers do not conflict.
|
So in other words the approach I use is correct and I don’t have to change anything here ? |
does this happen during “zef test .” stage ? Can I invoke this precompilaton stage as a separate zef step, I want to measure pure tests time , that does not include precompilaton …. |
I guess you could make a thing that reads the dependencies from the META6 and then "warms them up" by require for instance. |
I think |
Hi! I am note sure this is complete zef question, so writing here.
My scenario:
and then install some M module for this rakudo using zef install -to=home:
So we end up installing module M and it's dependencies to
~/.raku
pathSo, this is how testing for multiple rakudo versions now works in SparrowCI, for example - https://ci.sparrowhub.io/report/2296
I've noticed that a module test time for the Rakudo that comes first (does not matter which version is used) is always SIGNIFICANTLY less then for the same tests carried out for the following Rakudo version. And I don't understand why it is.
So the question is it a valid approach. I heard that "if a Rakudo version is changed ones need to recompile all existing modules ... ( which does not happen as I only switch rakudo by using
eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)")
, or may be I just missing the point ...Thanks
The text was updated successfully, but these errors were encountered: