Skip to content
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

Zef::CLI getting pre-compiled again and again?? #447

Open
lizmat opened this issue Mar 25, 2022 · 1 comment
Open

Zef::CLI getting pre-compiled again and again?? #447

lizmat opened this issue Mar 25, 2022 · 1 comment

Comments

@lizmat
Copy link
Contributor

lizmat commented Mar 25, 2022

Not sure whether this is a Rakudo issue, or a zef issue, but feels more like a zef issue to me, so reporting here for now.

After a re-compile of the Rakudo setting, trying to install a module appears to re-precompile Zef::CLI many times:

$ RAKUDO_PRECOMPILATION_PROGRESS=1 zef install Today
Precompiling Zef::CLI
 Precompiling Zef
 Precompiling Zef::Client
  Precompiling Zef::Distribution
   Precompiling Zef::Distribution::DependencySpecification
    Precompiling Zef::Identity
   Precompiling Zef::Utils::SystemQuery
  Precompiling Zef::Distribution::Local
  Precompiling Zef::Repository
  Precompiling Zef::Utils::FileSystem
  Precompiling Zef::Fetch
  Precompiling Zef::Extract
  Precompiling Zef::Build
  Precompiling Zef::Test
  Precompiling Zef::Install
  Precompiling Zef::Report
 Precompiling Zef::Config
 Precompiling Zef::Utils::URI
Precompiling Zef::CLI
Precompiling Zef::CLI
Precompiling Zef::CLI
Precompiling Zef::CLI
Precompiling Zef::CLI
Precompiling Zef::CLI
 Precompiling Zef::Service::Shell::PowerShell
Precompiling Zef::CLI
Precompiling Zef::CLI
Precompiling Zef::CLI
Precompiling Zef::CLI
Precompiling Zef::CLI
Precompiling Zef::CLI
Precompiling Zef::CLI
All candidates are currently installed
No reason to proceed. Use --force-install to continue anyway

This feels like pointing to an unexpected issue causing slowdown?

Also, on an already pre-compiled zef, installing a module that wasn't installed yet, appears to re-precompile Zef::CLI yet again:

$ RAKUDO_PRECOMPILATION_PROGRESS=1 zef install Today
===> Searching for: Today
===> Testing: Today:ver<0.0.5>:auth<zef:lizmat>
[Today]  Precompiling Today
===> Testing [OK] for Today:ver<0.0.5>:auth<zef:lizmat>
===> Installing: Today:ver<0.0.5>:auth<zef:lizmat>
Precompiling Zef::CLI
@ugexe
Copy link
Owner

ugexe commented Oct 9, 2022

Personally I'm inclined to think this is a rakudo issue seeing as installation is really just CURI.install(...). zef has nothing to do with precompilation of any kind, thats entirely an implementation detail of rakudo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants