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

Add pre-processing to coinstallability checks #5024

Merged
merged 6 commits into from
Feb 22, 2022
Merged

Commits on Feb 22, 2022

  1. Configuration menu
    Copy the full SHA
    52bd285 View commit details
    Browse the repository at this point in the history
  2. Add tests on (co-)installability

    Fix list test on 32bit archs
    
    Fix 'list' test for Windows
    AltGr authored and rjbou committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    508efe6 View commit details
    Browse the repository at this point in the history
  3. Add pre-processing to coinstallability checks

    Addresses some remaining costly cases in ocaml#4311
    
    The patch includes a small reorganisation of `OpamSolver`, but the general idea
    is to fix the performance regression compared to 2.0:
    
    - with the introduction of solver invariants, the pre-processing that trimmed
      packages conflicting with the base in `OpamState` was removed
    - it was replaced by something much more general (and reliable) at the
      `OpamCudf` level
    - but only for calls to the external solver, until now
    
    NOTE: this enforces the invariant even for `opam install --coinstallable-with`,
    which is consistent with 2.0 but had changed in 2.1. Without it we can't really
    expect reasonable performance in general anyway.
    AltGr authored and rjbou committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    2d53f47 View commit details
    Browse the repository at this point in the history
  4. Fix coinstallability filter corner case

    Just run `opam list --installable` without further argument. Not adding a test
    because it would be too big in time and space.
    AltGr authored and rjbou committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    d8f41c2 View commit details
    Browse the repository at this point in the history
  5. opam list: fix another small blind spot

    AltGr authored and rjbou committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    ec6f65e View commit details
    Browse the repository at this point in the history
  6. update changes

    rjbou committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    4a99263 View commit details
    Browse the repository at this point in the history