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

Tweak bootstrap & CI #4988

Merged
merged 2 commits into from
Jan 10, 2022
Merged

Tweak bootstrap & CI #4988

merged 2 commits into from
Jan 10, 2022

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Jan 10, 2022

Two changes, related inasmuch as they improve the time Cygwin takes on AppVeyor:

  • make cold build the compiler sequentially on Unix (Windows has always had -j). This is historical - the script dates from a time when make -j didn't reliably work. This slows down our CI when the cache is invalid or the bootstrap moves forward and it unnecessarily slows down the base image builder.
  • Recent versions of Cygwin use WSL symlinks which appear not to work with AppVeyor's caching mechanism. Switch to native Windows symlinks which means the bootstrap compiler is cached again.

I'm very paranoid about changing the bootstrap script, so the AppVeyor fix should go to 2.1 and 2.0, but the parallel build change should not.

@dra27 dra27 merged commit ab8cc0f into ocaml:master Jan 10, 2022
@dra27 dra27 deleted the ci-tweaks branch January 17, 2022 12:41
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

Successfully merging this pull request may close these issues.

None yet

2 participants