-
Notifications
You must be signed in to change notification settings - Fork 4
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
Upgrade OCaml #4
Comments
Hi @liyishuai, thanks for opening this.
everything is relative ;-) But indeed the Now, we get for the Coq versions mentioned in the wiki:
Coq 8.7+ should then be compatible with 4.09.0+flambda. So if you update your PR #5 to use |
I've updated the PR. |
Yes − it was already documented here: https://github.com/coq-community/docker-coq/wiki
but I guess we could elaborate a bit more on this remark, indeed (e.g. to explicitly recommend doing |
So @liyishuai I've added another note at the end of this section: |
as a follow-up of the discussion in #5, after @liyishuai's comment:
all things considered, this could be a working solution;
[For the moment, the step 2 only is on-going, but I'd like to wait for some feedback of @Zimmi48 / @ejgallego before undertaking step 3 above…] |
This plan looks good to me, and indeed generating the images on GitLab CI might make things more practical. As for the name, I'm in favor of going for the explicit |
Also, in my last comment I only mentioned the stable versions of Coq (with suffix This is also feasible and I can easily setup a nightly build for this image as well by updating the corresponding cron task, but note that as long as the nightly builds will be built directly in Docker Hub (with the single worker available in our Docker Hub organization), a potential issue with having >=2 different images for coq.dev is that if a Coq PR is merged between say 00:00 and 02:00 Paris Time, maybe the two images This is probably a minor issue, but as I had already said in coq-community/bignums#36 (comment), this could ultimately be solved if we decide to switch those nightly builds in "pull-mode" to some dedicated jobs in Coq's main CI in "push-mode" (from Gitlab CI to Docker Hub as well). Anyway, the nightly builds work well for the time being :) and up to now I didn't get other complaints regarding the lag between |
Note that there is good news upstream, OCaml developers are kindly looking into the performance bug, so maybe 4.10.1 could work fine and thus be used [with less effort in restructuring the docker setup] |
@ejgallego @liyishuai FYI step 3. is now complete, so For example:
See the complete list of tags here: To do this I needed to refactor the Docker Hub hooks that take care of pushing tag alises, and I've also setup a cron automated build for @liyishuai feel free to test these new images :) I didn't update the wiki for now as:
|
That's very cool @erikmd ; I am wondering how download / build times do compare when using the image with only one OCaml switch. Maybe splitting the images per-switch would yield better overall efficiency? |
Hi @ejgallego, thanks for your comment! and sorry for late reply.
Yes! actually this is exactly what I was planning to do in the upcoming weeks (cf. item
Good idea, I'll do some benchmarks at that time. |
Closed as subsumed by issue coq-community/docker-coq#4 |
4.07.1 is not so "edge" anymore.
Consider bumping
COMPILER_EDGE
to 4.08+?The latest version is 4.10.0.
The text was updated successfully, but these errors were encountered: