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" 6license: "BSD-3-Clause" 7authors: [ 8 "Laurent Mazare" 9] 10install: [ 11 [ 12 "sh" 13 "-c" 14 "test -d %{lib}%/libtorch/lib/libtorch.so || ( unzip libtorch-macos.zip && mv -f libtorch %{lib}%/ && tar xzf mklml-macos.tgz && mv -f mklml_mac_2019.0.1.20181227/lib/libmklml.dylib %{lib}%/libtorch/lib/ && mv -f mklml_mac_2019.0.1.20181227/lib/libiomp5.dylib %{lib}%/libtorch/lib/ )" 15 ] 16] 17depexts: [ 18 ["libomp"] {os-distribution = "homebrew"} 19] 20synopsis: "LibTorch library package" 21description: """ 22This is used by the torch package to trigger the install of the 23libtorch library.""" 24extra-source "libtorch-macos.zip" { 25 src: "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.9.0.zip" 26 checksum: [ 27 "sha256=5343b311201b1bd8e010ce613baedf4e5bf31dd098e1ac550b3c21f3192a4aad" 28 "md5=866298d95c8ae9529a3996f559911da4" 29 ] 30} 31extra-source "mklml-macos.tgz" { 32 src: 33 "https://github.com/intel/mkl-dnn/releases/download/v0.17.2/mklml_mac_2019.0.1.20181227.tgz" 34 checksum: [ 35 "sha256=1ddbb0922254f9b4e545f89a9cf952378f4a5d421f671e53b79e4f3a5da0dba9" 36 "md5=a8b4b158dc8e7aad13c0d594a9a8d241" 37 ] 38} 39available: arch = "x86_64" & os = "macos"