this repo has no description
1opam-version: "2.0" 2homepage: "https://github.com/LaurentMazare/ocaml-torch" 3maintainer: "lmazare@gmail.com" 4bug-reports: "https://github.com/LaurentMazare/ocaml-torch/issues" 5dev-repo: "git+https://github.com/LaurentMazare/ocaml-torch.git" 6authors: [ 7 "Laurent Mazare" 8] 9install: [ 10 [ 11 "sh" 12 "-c" 13 "test -d %{lib}%/libtorch/lib/libtorch.so || ( unzip libtorch-linux.zip && mv -f libtorch %{lib}%/ )" 14 ] { os = "linux" } 15 [ 16 "sh" 17 "-c" 18 "test -d %{lib}%/libtorch/lib/libtorch.so || ( unzip libtorch-macos.zip && mv -f libtorch %{lib}%/ )" 19 ] { os = "macos" } 20] 21remove: [ 22 [ "rm" "-Rf" "%{lib}%/libtorch" ] 23] 24synopsis: "LibTorch library package" 25description: """ 26This is used by the torch package to trigger the install of the 27libtorch library.""" 28extra-source "libtorch-linux.zip" { 29 src: 30 "https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.0.0.zip" 31 checksum: [ 32 "sha256=71cd435d664799cfe5d1c53ad1fd63b7cfc5b64ca934ee6dc2d76badd399e7f5" 33 "md5=0b9e7a3da5da473760709dbf84c292dc" 34 ] 35} 36extra-source "libtorch-macos.zip" { 37 src: "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.0.0.zip" 38 checksum: [ 39 "sha256=fe6be5edcc77a7853eadff7bed82955200512810b415150ca2c49fbd7c987c6d" 40 "md5=82f52647daa39c189a573115d440d09d" 41 ] 42}