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

fix jbuild dependencies for cppo generation #57

Merged
merged 1 commit into from
Jul 10, 2018

Conversation

avsm
Copy link
Contributor

@avsm avsm commented Jul 10, 2018

Without this fix, there is an occasional build race on trying
to find type.ml:

Error: File "yojson.cppo.mli", line 43, characters 0-19
Error: Cannot find included file "type.ml"

Also remove a duplicate dependency on type.ml in the previous
rule as part of this PR.

Signed-off-by: Anil Madhavapeddy [email protected]

Without this fix, there is an occasional build race on trying
to find `type.ml`:

```
Error: File "yojson.cppo.mli", line 43, characters 0-19
Error: Cannot find included file "type.ml"
```

Also remove a duplicate dependency on `type.ml` in the previous
rule as part of this PR.

Signed-off-by: Anil Madhavapeddy <[email protected]>
@mjambon
Copy link
Member

mjambon commented Jul 10, 2018

Well-spotted, thanks!

@mjambon mjambon merged commit e94b736 into ocaml-community:master Jul 10, 2018
@mjambon mjambon mentioned this pull request Jul 10, 2018
@avsm avsm deleted the build-race branch July 11, 2018 10:12
NathanReb pushed a commit to NathanReb/opam-repository that referenced this pull request Dec 27, 2018
CHANGES:

### Changes

- Use dune as a build system (ocaml-community/yojson#67, @Leonidas-from-XIV)
- reraise exceptions in `finish_string` instead of silencing them by raising a `Failure _`
- raise finalizer exceptions in `from_channel` and `from_lexbuf` readers

### Fixes

- Fix a race condition in builds (ocaml-community/yojson#57, @avsm)
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.

2 participants