opam-version: "2.0" homepage: "https://github.com/LaurentMazare/ocaml-torch" license: "BSD-3-Clause" maintainer: "lmazare@gmail.com" bug-reports: "https://github.com/LaurentMazare/ocaml-torch/issues" dev-repo: "git+https://github.com/LaurentMazare/ocaml-torch.git" authors: [ "Laurent Mazare" ] install: [ [ "sh" "-c" "test -d %{lib}%/libtorch/lib/libtorch.so || ( unzip libtorch-linux.zip && mv -f libtorch %{lib}%/ )" ] ] synopsis: "LibTorch library package" description: """ This is used by the torch package to trigger the install of the libtorch library.""" extra-source "libtorch-linux.zip" { src: "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.10.0%2Bcpu.zip" checksum: [ "sha256=6d7be1073d1bd76f6563572b2aa5548ad51d5bc241d6895e3181b7dc25554426" "md5=8da62c18f4aa66742a22f06179292cee" ] } available: arch = "x86_64" & os = "linux"