opam-version: "2.0" homepage: "https://github.com/LaurentMazare/ocaml-torch" 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.7.0%2Bcpu.zip" checksum: [ "sha256=4710f1a1ca8ceb1a75d44ba9f1913c1f64203e8a58c707763f5afffbbbfdb390" "md5=e7700c8fb430e18da5d42b4e9e7bb334" ] } available: arch = "x86_64" & os = "linux"