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

Update to dune 2 #18

Merged
merged 2 commits into from
Jul 6, 2021
Merged

Update to dune 2 #18

merged 2 commits into from
Jul 6, 2021

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Jun 24, 2021

This is needed to support OCaml 4.12, and to test projects using dune 2:

  • Ran dune upgrade using dune 2.8.5.
  • Removed all (modes byte exe) lines.
  • Removed build annotation in opam file and updated dependency constraint.

Note: I've just noticed there's also #15, which is similar to this. That version looks fine too, except that it needs the build annotation removed.

talex5 added 2 commits June 24, 2021 09:22
This is needed to support OCaml 4.12, and to test projects using dune 2.

- Ran `dune upgrade` using dune 2.8.5.
- Removed all `(modes byte exe)` lines.
- Removed `build` annotation in opam file.
In CI, we don't have the whole machine, so limit to 2 instances and
don't fail if we can't get exclusive access to a CPU.
@talex5
Copy link
Contributor Author

talex5 commented Jul 6, 2021

To make ocaml-ci pass, I also changed the short test to run with AFL_NO_AFFINITY=1 and AFL_SKIP_CPUFREQ=1, and also limited it to 2 cores.

@talex5 talex5 merged commit efa697e into ocurrent:primary Jul 6, 2021
@talex5 talex5 deleted the dune2 branch July 6, 2021 10:12
talex5 added a commit to talex5/opam-repository that referenced this pull request Jul 7, 2021
CHANGES:

- update to dune 2 (ocurrent/bun#18, by @talex5 and @edwintorok)
- use `-M` for first worker (ocurrent/bun#17, by @edwintorok and @talex5)
- move bun to https://github.com/ocurrent/bun (ocurrent/bun#20, by @talex5)
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.

1 participant