Skip to content

Commit

Permalink
Port from Lwt to Eio
Browse files Browse the repository at this point in the history
  • Loading branch information
SGrondin committed Jun 11, 2023
1 parent 47a17b2 commit c273a94
Show file tree
Hide file tree
Showing 19 changed files with 556 additions and 412 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ quickjs/
src/flow_parser
src/prototype
*.strings
*.txt
*.exe
*.mac*
*.linux
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### Setup
From the root of the repo:
```sh
brew install opam libomp mold
brew install opam libomp llvm

opam switch create . ocaml-variants.5.0.0+options --no-install
opam install . --deps-only -t
Expand Down
4 changes: 1 addition & 3 deletions src/cli/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
utils

stdlib-shims
angstrom-lwt-unix
core
core_unix
core_unix.command_unix
lwt
lwt.unix
eio_main
ppx_deriving_yojson.runtime
)
(preprocess (pps
Expand Down
4 changes: 2 additions & 2 deletions src/cli/link_flags.macosx.dev.dune
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
; mold (requires `mold`) fastest
(-cclib -fuse-ld=mold -cc clang++)
; (-cclib -fuse-ld=mold -cc clang++)

; llvm lld (requires `llvm`) 20% faster than the default
; (-cclib -fuse-ld=/usr/local/opt/llvm/bin/ld64.lld -cc clang++)
(-cclib -fuse-ld=/usr/local/opt/llvm/bin/ld64.lld -cc clang++)

; system default
; ()
Loading

0 comments on commit c273a94

Please sign in to comment.