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

Adds integers_stubs_js & modifies js_of_ocaml. #23

Closed
wants to merge 2 commits into from

Conversation

novemberkilo
Copy link
Contributor

@novemberkilo novemberkilo commented Jul 29, 2022

Owing to its revdeps, I investigated integers_stubs_js to see if I could get it building and installing with OCaml5. This is its failing build on ocaml-health-check.

Apparently the issue was with its dependency - js_of_ocaml-compiler and following a helpful hint from @dra27 I put up this PR on their WIP ocaml-5 branch. With this fix, I am able to build and install js_of_ocaml on 5.0~alpha -- it is for this reason that I have modified js_of_ocaml here to point to my fork.

During this investigation I also found a minor issue that was causing integers_stubs_js to not build and I fixed this with this PR

This is my first foray at contributing to the Great OCaml5 Effort - hopefully I've got the various moving parts in the right spots so that integers_stubs_js can go green across the board on opam-health-check

@novemberkilo
Copy link
Contributor Author

Update - ocsigen/js_of_ocaml#1296 got merged so I have added a commit to restore js_of_ocaml to point to ocsigen.

build: ["dune" "build" "-p" name "-j" jobs]
dev-repo: "git+https://github.com/o1-labs/integers_stubs_js.git"
url {
src: "https://github.com/o1-labs/integers_stubs_js/archive/1.0.tar.gz"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the same as the upstream package, isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wants to point to your branch, though - https://github.com/novemberkilo/integers_stubs_js/archive/master.tar.gz (no checksum needed)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mainline repo should build with the updated js_of_ocaml branch so we shouldn't need my fork here?

Copy link
Contributor Author

@novemberkilo novemberkilo Jul 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just fixing a test related issue on my branch

@kit-ty-kate
Copy link
Owner

Since the original package in opam-repository works and the tests aren’t ran I’ll close this. Thanks a lot for ocsigen/js_of_ocaml#1296

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