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

+core-windows.v0.16.1 #280

Merged
merged 6 commits into from
Sep 30, 2023
Merged

+core-windows.v0.16.1 #280

merged 6 commits into from
Sep 30, 2023

Conversation

WardBrian
Copy link
Contributor

Starting with 0.15, core is now platform independent and the core_kernel library just re-exports core with a deprecation warning: https://blog.janestreet.com/goodbye-Core_kernel/

This PR updates the entire Jane Street ecosystem to v0.16.x at once. I can split it up if necessary, each successive commit should build on its own.

Note: The ppx libraries were mostly done by a small script I wrote and then manually checked before committing. I took the conservative approach of assuming that if a ppx depended on another ppx, it needed both the host version and the -windows version - this may not be true in 100% of cases, so these packages may have a few too many dependencies individually.

@WardBrian
Copy link
Contributor Author

@toots the CI failed during two packages that build for me locally (and after it built core_kernel-windows.v0.16.0, which uses everything else). Could it be an out of memory issue or something?

I'm happy to try splitting this up if we can't figure out why its failing when done all at once

@toots
Copy link
Member

toots commented Sep 29, 2023

@WardBrian this kind of errors do occur. I think that I've had it myself with ffmpeg. If you can confirm that the CI tests do pass locally for you I'm good with merging. You can call like this:

(optional: VERBOSE=1 SYSTEM_TYPE=<x86/x64>) ./tests/run_tests.sh

@WardBrian
Copy link
Contributor Author

Took the entire day to run but did succeed locally

Output

$ ./tests/run_tests.sh 
[+] Building 20.0s (11/11) FINISHED                                                                                                                                docker:default
 => [internal] load build definition from Dockerfile.pretest                                                                                                                 0.0s
 => => transferring dockerfile: 356B                                                                                                                                         0.0s
 => [internal] load .dockerignore                                                                                                                                            0.0s
 => => transferring context: 2B                                                                                                                                              0.0s
 => [internal] load metadata for docker.io/ocamlcross/windows-x64-base:4.14.1                                                                                                0.4s
 => CACHED [1/6] FROM docker.io/ocamlcross/windows-x64-base:4.14.1@sha256:b4fea9329835f338045882492a33a83c335137f04356efaef1e78456a04fc0d9                                   0.0s
 => [internal] load build context                                                                                                                                            0.1s
 => => transferring context: 107.19kB                                                                                                                                        0.1s
 => [2/6] RUN rm -rf /home/opam/opam-cross-windows/packages                                                                                                                  0.4s
 => [3/6] ADD packages/ /home/opam/opam-cross-windows/packages                                                                                                               0.1s
 => [4/6] ADD repo /home/opam/opam-cross-windows/repo                                                                                                                        0.0s
 => [5/6] RUN chown -R opam /home/opam/opam-cross-windows                                                                                                                    1.7s
 => [6/6] RUN opam update                                                                                                                                                   17.1s
 => exporting to image                                                                                                                                                       0.2s
 => => exporting layers                                                                                                                                                      0.2s
 => => writing image sha256:fb3ababb23aad0ab7cfa2d4366c3d40bd9e42058a6380e61f88eaa671606fc33                                                                                 0.0s 
 => => naming to docker.io/ocamlcross/windows-x64-pretest:4.14.1                                                                                                             0.0s 
[ok]✅  

From github.com:ocaml-cross/opam-cross-windows
 * branch            main       -> FETCH_HEAD

Building base_bigstring-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building base_quickcheck-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building base-windows.v0.16.3 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building bin_prot-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building core_kernel-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building core-windows.v0.16.1 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building fieldslib-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building int_repr-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building jane-street-headers-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building jst-config-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building parsexp-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_assert-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_base-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_bench-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_bin_prot-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_cold-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_compare-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_custom_printf-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_disable_unused_warnings-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_enumerate-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_expect-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_fields_conv-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_fixed_literal-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_globalize-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_hash-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_here-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_ignore_instrumentation-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_inline_test-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. 
[ok]✅
Building ppx_jane-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_let-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppxlib-windows.0.29.1 using ocamlcross/windows-x64-pretest:4.14.1.. 
[ok]✅
Building ppx_log-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_module_timer-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. 
[ok]✅
Building ppx_optcomp-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_optional-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_pipebang-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_sexp_conv-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_sexp_message-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. 
[ok]✅
Building ppx_sexp_value-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_stable-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_stable_witness-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. 
[ok]✅
Building ppx_string-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_tydi-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building ppx_typerep_conv-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. 
[ok]✅
Building ppx_variants_conv-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building sexplib0-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building sexplib-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. 
[ok]✅
Building splittable_random-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building stdio-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building time_now-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building typerep-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅
Building variantslib-windows.v0.16.0 using ocamlcross/windows-x64-pretest:4.14.1.. [ok]✅

@toots toots merged commit ec9d6fd into ocaml-cross:main Sep 30, 2023
1 of 3 checks passed
@toots
Copy link
Member

toots commented Sep 30, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants