Skip to content

janestreet/universe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jane Street universe

All of our open-source packages as one monorepo.

Creating the universe

Use this duniverse fork: https://github.com/snowleopard/duniverse.

git clone https://github.com/janestreet/universe
cd universe
duniverse init
duniverse pull
# Manually pull in a version of cryptokit that can be built with Dune
(cd duniverse; git clone -b dune-universe-v1.14 git@github.com:snowleopard/cryptokit.git)
# Install notty manually, which also pulls in ocb-stubblr, uucp and uuseg
opam install notty
rm -rf duniverse/uuseg* duniverse/uucp* duniverse/uutf*
# Install inotify manually
opam install inotify
# Install pyml manually, which also pulls in stdcompat that conflicts with seq
opam install pyml
rm -rf duniverse/seq*
# Work around ctypes issue (this also pulls in integers)
opam install ctypes ctypes-foreign
rm -rf duniverse/ctypes* duniverse/integers*
# Manually install graphics whose existence is checked by js_of_ocaml-compiler
opam install graphics

You can now build the universe by dune build.

We hope to eventually get rid of all manual steps in the above setup.

Manual tweaks

That had to be made to make the universe buildable. Our aim is to make this list empty.