-
Notifications
You must be signed in to change notification settings - Fork 67
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 OCaml 5.1.1, jsoo 5.8.2 #602
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
e34b5f7
feat(build): Migrate ocplib-i18n to ppxlib
AltGr d73e5a0
Use pin-depends until release of newer ocp-indent-nlfork
AltGr 9b789c9
Update stdlib file names for 4.13
AltGr 49c7208
fix(build): Fix/disable some warnings
AltGr 4b30226
Update genlifter.ml from upstrim ppx_tools
AltGr b2a2186
Remove dependency on ocaml-migrate-parsetree
AltGr 60a2e07
Upgrade to OCaml 4.13
AltGr 965e42e
Udate to OCaml 4.14.2
AltGr d565011
Disable Asak for now (it's not compatible with OCaml 5.0 at the moment)
AltGr 7d096a5
Update dune-project
AltGr d0ac3b5
ocplib-json-typed is now json-data-encoding
AltGr 0c9c994
Update opam files for OCaml 5.0
AltGr 841d586
ppx_ocplib_i18n doesn't cope well with dune sandboxing
AltGr c5ee058
Disable partitioning functionality for now (asak isn't compatible wit…
AltGr 22decce
Update stdlib cmi list
AltGr 91421ae
Now compiles (but is broken) with 5.0.0
AltGr 5a52fe3
Fix a bunch of deprecation warnings & errors
AltGr 5a1264f
Adjust jsoo compilation flags
AltGr 029b614
Working with OCaml 5.0.0 / jsoo 5.0.1
AltGr e46d9b6
Update jsoo to 5.1.1
AltGr a3e89a1
Many fixes and update for jsoo 5
AltGr 1a76ddb
fix: Actually bind the `--dry-run` flag
AltGr ec60736
Improve web-worker debug messages
AltGr 4faac64
Adjust to OCaml 5.1.1
AltGr 5f5dbb7
feat: complete porting to OCaml 5.1 and jsoo 5.8
AltGr 9d757cd
feat: bump version to 1.1.0
AltGr 046d7dd
feat: Reenable asak (using pin-depends for compat patch with OCaml 5)
AltGr 8012c6b
fix(CI): fix Dockerfile and client dependencies
AltGr a5b4abf
fix(CI): use older dependency releases in lockfile
AltGr 283456d
fix(CI): fix static builds and some specific deps
AltGr e721ad4
fix(CI): fix base Alpine version for final Docker images
AltGr 31b244c
Fixes following review
AltGr 379c47b
chore: Make dune-build a bit more verbose (for debugging purpose)
erikmd c50b77d
deps(opam): Bump conf-pkg-config
erikmd 2081069
deps(opam): Bump conf-libssl
erikmd a636b26
deps(opam): Skip conduit-lwt-unix's latest release for now
erikmd 6b0bc56
fix(build): Update linking flags (needed for POSIX & macOS static bin…
erikmd 3e8afe8
fix(build): Fix static build on macOS w.r.t. libzstd
erikmd 6f6be0f
build(js_of_ocaml): Remove `--no-source-map` from root dune file
erikmd cb5c1dd
Remove temporary pin-depends
AltGr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
(lang dune 2.4) | ||
(lang dune 3.6) | ||
(name learn-ocaml) | ||
(version 1.0.0) | ||
(allow_approximate_merlin) | ||
(version 1.1.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two questions:
adding this
dev
profile, should I change my usual learn-ocaml programming inner loop?Namely, coding then building learn-ocaml with a bash alias that runs:
cd $learn_ocaml && eval $(opam env) && opam install . --deps-only --locked && make && make opaminstall && learn-ocaml build --repo=demo-repository serve
I had the impression that the dev profile had less warnings enabled than in the release profile ? but probably I'm mistaken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Historically it was impossible to build in
dev
mode because (i) dune didn't allow to customise the jsoo flags manually, it was tied to the built-in profiles, and (ii) source-map was blowing on us and the compilation wouldn't terminate. Thankfully both of these are now fixed :)In the new setting, the jsoo
--opt=2
flag makes release compilation quite a bit slower so I'd advise to use the dev mode when, well, developping 🤯 . TheMakefile
still defaults torelease
though, I'll add aPROFILE ?= release
variable.Then you could just run
make testrun PROFILE=dev