-
Notifications
You must be signed in to change notification settings - Fork 350
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
Discard "internal heuristics", add builtin solver using ocaml-mccs
#3011
Conversation
53c50eb
to
b871382
Compare
Now based on the merged jbuilder patches, and cleaned up (supporting build without mccs): should be ready. |
Can I have until Friday afternoon to try this on Windows and review further? One immediate thought: I think the dynamic selection of |
Going through the env is clearly a temporary hack, until there is a better way to select the version we want. Two different targets/aliases would nicely do the trick, but I am not sure how they would relate to the opam package (which shouldn't include both... ?) |
987d06f
to
c04c318
Compare
…l solvers Also, disables the "internal heuristics" solver (but this patch doesn't remove it yet) This also makes the 'best-effort' parameter configurable.
so that the file can easily be swapped with a dummy one with `is_present = lazy false` and no implementation, when compiling without Mccs.
'make opam-static'
- choose newer version more agressively (put uptodate criteria before minimise changes criteria). This prevents many cases of getting a very old version of a lib because newer ones have new requirements (e.g. `base-bytes`) - remove duplication that was there to guarantee compat with much older versions: `-notuptodate(foo),-sum(foo,version-lag)` is now just `-sum(foo,version-lag)`. While slightly different, it isn't worse, and is simpler. It is also closer to the criteria we use for mccs.
(don't pin to dev in the bootstrap phase, that should remain as stable as possible!)
Mostly OK now. Remaining issues:
|
24764f6
to
a2d66f0
Compare
Ah, the bootstrap opam (1.2.2) doesn't correctly extract the opam file from the |
34b1409
to
e429939
Compare
Finally ! All tests pass :) |
Note: not for merge right away, this needs the new build-system to be finalised first