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

Remove ctypes include path hack #5

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

TheLortex
Copy link
Contributor

This enables using hdr_histogram_ocaml in a monorepo.

Thanks to ocaml/dune#6883 (merged in dune 3.7), the ctypes rule is interpreted in the folder where it is defined. This means we can use relative paths and everything works as expected.

@kayceesrk
Copy link
Collaborator

Great. Thanks!

@kayceesrk kayceesrk merged commit 6abe670 into ocaml-multicore:main Feb 23, 2023
Sudha247 added a commit to Sudha247/opam-repository that referenced this pull request Feb 23, 2023
CHANGES:

* Add memory_size function (@crackcomm, ocaml-multicore/hdr_histogram_ocaml#1)
* Change memory_size return type to int (@crackcomm, ocaml-multicore/hdr_histogram_ocaml#2)
* Fix build with dune 3.6 (@emillon, ocaml-multicore/hdr_histogram_ocaml#3)
* Remove ctypes include path hack by using ctypes 0.3 / dune 3.7 (@TheLortex, ocaml-multicore/hdr_histogram_ocaml#5)
@emillon
Copy link
Contributor

emillon commented Feb 23, 2023

Ah great to see that it works in the wild :)

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