Skip to content

Commit

Permalink
Using pin-depends instead of vendoring for uring
Browse files Browse the repository at this point in the history
  • Loading branch information
talex5 committed Nov 11, 2021
1 parent ff71050 commit 1ab2c8c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ opam switch create 4.12.0+domains --repositories=multicore=git+https://github.co
Then you'll need to install this library (and `utop` if you want to try it interactively):

```
git clone --recursive https://github.com/ocaml-multicore/eio.git
git clone https://github.com/ocaml-multicore/eio.git
cd eio
opam pin -yn ./ocaml-uring
opam pin -yn .
opam depext -i eio_main utop # (for opam 2.0)
opam install eio_main utop # (for opam 2.1)
Expand Down
1 change: 0 additions & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
(packages eio_main)
(preludes doc/prelude.ml)
(files README.md))
(vendored_dirs ocaml-uring)
3 changes: 3 additions & 0 deletions eio_linux.opam
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ build: [
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/ocaml-multicore/eio.git"
pin-depends: [
["uring.dev" "git+https://github.com/ocaml-multicore/ocaml-uring.git#c12c82dc1c06e1224984295c4d5819428a72dcdb"]
]
3 changes: 3 additions & 0 deletions eio_linux.opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pin-depends: [
["uring.dev" "git+https://github.com/ocaml-multicore/ocaml-uring.git#c12c82dc1c06e1224984295c4d5819428a72dcdb"]
]
1 change: 0 additions & 1 deletion ocaml-uring
Submodule ocaml-uring deleted from c12c82

0 comments on commit 1ab2c8c

Please sign in to comment.