Skip to content

Conversation

@Alizter
Copy link
Collaborator

@Alizter Alizter commented Nov 27, 2025

No description provided.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
Unfortuantely due to the way build forwarding warnings work we warn alot
since DUNE_JOBS differs from the default.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter
Copy link
Collaborator Author

Alizter commented Nov 28, 2025

FTR oxcaml still won't build with the correct concurrency with this patch because they are specifically vendoring Dune 3.20 and using that to build. We therefore have to patch their opam build to not do that. If we are going to do that anyway, then we might as well unset INSIDE_DUNE. @Sudha247 may have some updates on this.

@Alizter
Copy link
Collaborator Author

Alizter commented Nov 28, 2025

Another issue with this PR is that comparing against Common.Builder.default value is used as a heuristic for displaying the RPC forwarding message. This means that INSIDE_DUNE no longer sets this as 1 and every test differs from the default of Auto. Therefore triggering the message in each RPC forwarding situation.

@Leonidas-from-XIV
Copy link
Collaborator

I do wonder why the CI doesn't want to run the jobs that run the test-suite…

@Alizter
Copy link
Collaborator Author

Alizter commented Nov 28, 2025

@Leonidas-from-XIV The nix tests are a dependency of the rest of the tests. That way we can catch errors early and not bother using up all the allocated machines. The fact that the environment is Nix doesn't mean much here, its just the regular test suite.

@Sudha247
Copy link
Collaborator

Sudha247 commented Dec 2, 2025

Yes, I can confirm that this doesn't help the OxCaml build by itself. I believe we will need to update the Dune version used to bootstrap the compiler to actually see the difference.

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.

3 participants