Repository navigation
Restore building on very old OCamls - #86
Merged
Merged
Conversation
Both Compat modules defined a Buffer module, which doesn't work.
Note that special handling of 3.12, since the actual 3.12 branch eventually got turned into 3.13 which got turned into OCaml 4.00!
Member
Author
|
Note that while the first time run is very slow for this, caching makes the AppVeyor run much quicker (see this run on my fork). As far as I can tell, when I (or someone) switches this to a well-engineered GitHub Actions workflow, we'd get a lot of parallelism for free. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I intend to overhaul this to switch to GitHub Actions, as we'll get much better parallelism, but in the meantime.
I do not propose that we actively support building
flexlinkon OCaml 3.11, but it is quite useful that it basically still does (especially when opam finally allows installing the old Windows compilers in switches). I propose that dropping support for building flexlink with very old OCamls should be done consciously as part of a larger - long overdue - overhaul of the code, not just because of little patches.With that in mind:
Buffer.to_bytesinto the Compat406 and not caring that it gets redefined for OCaml 4.03-4.05 when it doesn't need to beexceptionback totryThe AppVeyor matrix is then expanded - I debated getting it to skip most versions for PRs, but I propose just putting this in as-is for now, given that the traffic on this repo I so low...