Created
September 12, 2021 11:47
-
-
Save crackcomm/e7eeae49a811a984082283ba6b3ce157 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"dependencies": { | |
"ocaml": "4.12.x", | |
"@opam/ocamlfind": "*", | |
"@opam/dune": "*", | |
"@opam/core": "v0.14.1", | |
"@opam/ctypes": "*", | |
"@opam/ctypes-foreign": "*", | |
"@opam/async": "v0.14.0", | |
"@opam/cmdliner": "*", | |
"@opam/notty_async": "*", | |
"@opam/atdgen": "*", | |
"@opam/atdgen-runtime": "*", | |
"@opam/digestif": "*", | |
"@opam/incremental": "*", | |
"@opam/fastws": "*", | |
"@opam/httpaf": "*", | |
"@opam/httpaf-async": "*", | |
"@opam/fastws-async": "*", | |
"@opam/incr_map": "*", | |
"@opam/ocamldot": "1.1", | |
"@opam/ppx_log": "*", | |
"@opam/ppx_deriving": "*", | |
"@opam/pyml": "20210226", | |
"@opam/npy": "*", | |
"@opam/owl": "*", | |
"@opam/matplotlib": "*", | |
"@opam/ppx_jane": "*", | |
"@opam/sexplib": "*", | |
"@opam/ppx_fields_conv": "*", | |
"@opam/libtorch": "1.8.0+linux-x86_64", | |
"@opam/torch": "0.13", | |
"@opam/ppx_inline_alcotest": "*", | |
"@opam/ego": "*", | |
"@opam/conf-mpi": "*", | |
"@opam/mpi": "*", | |
"@opam/llvm": "11.0.0", | |
"@opam/camlzip": "*" | |
}, | |
"resolutions": { | |
"@opam/torch": "link-dev:../ocaml-torch/torch.opam", | |
"@opam/ocamldot": "crackcomm/ocamldot:ocamldot.opam#e63af82", | |
"@opam/matplotlib": "LaurentMazare/ocaml-matplotlib:matplotlib.opam#d9d47ff", | |
"@opam/httpaf": "inhabitedtype/httpaf:httpaf.opam#aaeffb9", | |
"@opam/httpaf-async": "inhabitedtype/httpaf:httpaf-async.opam#aaeffb9", | |
"@opam/mpi": "crackcomm/ocamlmpi#154cf5a", | |
"@opam/npy": { | |
"source": "crackcomm/npy-ocaml:npy.opam#70065c3", | |
"override": { | |
"build": "dune build -p npy" | |
} | |
}, | |
"@opam/camlzip": "crackcomm/ocaml-camlzip:camlzip.opam#213b17f6a237617298151c919b74206c092e2c18", | |
"@opam/llvm": { | |
"source": "no-source:", | |
"override": { | |
"install": [ | |
"./install.sh llvm-config #{self.lib} cmake make" | |
], | |
"build": [ | |
"curl -o llvm.tar.xz -L https://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/llvm-11.1.0.src.tar.xz", | |
"tar -xf llvm.tar.xz", | |
"bash -c 'mv llvm-11.1.0.src/* . && rm -rf llvm-11.1.0.src && rm llvm.tar.xz'", | |
"curl -o install.sh -L https://raw.githubusercontent.com/ocaml/opam-repository/232caed/packages/llvm/llvm.11.0.0/files/install.sh", | |
"chmod +x install.sh", | |
"cp /home/pah/cxmr-v3/find-ocaml.patch .", | |
"patch --strip 1 --input find-ocaml.patch", | |
"curl -o META.patch -L https://raw.githubusercontent.com/ocaml/opam-repository/232caed/packages/llvm/llvm.11.0.0/files/META.patch", | |
"curl -o link-META.patch -L https://raw.githubusercontent.com/ocaml/opam-repository/232caed/packages/llvm/llvm.11.0.0/files/link-META.patch", | |
"curl -o fix-shared.patch -L https://raw.githubusercontent.com/ocaml/opam-repository/232caed/packages/llvm/llvm.11.0.0/files/fix-shared.patch", | |
"patch --strip 1 --input fix-shared.patch" | |
] | |
} | |
}, | |
"@opam/conf-mpi": { | |
"source": "no-source:", | |
"override": { | |
"exportedEnvOverride": { | |
"MPI_PATH": { | |
"scope": "global", | |
"val": "#{self.lib / 'openmpi'}" | |
} | |
}, | |
"build": [ | |
"curl -o openmpi.tar.gz -L https://github.com/crackcomm/ocamlmpi/releases/download/rel105/openmpi.tar.gz", | |
"tar -xf openmpi.tar.gz", | |
"mv openmpi #{self.lib}" | |
] | |
} | |
}, | |
"@opam/libtorch": { | |
"source": "no-source:", | |
"override": { | |
"exportedEnvOverride": { | |
"LIBTORCH": { | |
"scope": "global", | |
"val": "/home/pah/pytorch-1.9-debug" | |
} | |
} | |
} | |
}, | |
"@opam/fastws": "deepmarker/ocaml-fastws:fastws.opam#ede33dd", | |
"@opam/fastws-async": "deepmarker/ocaml-fastws:fastws-async.opam#ede33dd", | |
"@opam/ctypes": "ocamllabs/ocaml-ctypes:ctypes.opam#0cbd037", | |
"@opam/ctypes-foreign": "ocamllabs/ocaml-ctypes:ctypes-foreign.opam#0cbd037" | |
}, | |
"devDependencies": { | |
"@opam/utop": "*", | |
"@opam/odig": "*", | |
"@opam/odoc": "*", | |
"@opam/alcotest": "*", | |
"@opam/alcotest-async": "*", | |
"@opam/core_bench": "*", | |
"@opam/ocamlformat": "*", | |
"@opam/ocamlformat-rpc": "*", | |
"@opam/ocaml-lsp-server": "ocaml/ocaml-lsp:ocaml-lsp-server.opam" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment