this repo has no description

Merge pull request #25084 from mwlon/libtorch-2.1

Add libtorch 2.1.2+linux

Changed files
+21
packages
libtorch
libtorch.2.1.2+linux-x86_64
+21
packages/libtorch/libtorch.2.1.2+linux-x86_64/opam
···
+
opam-version: "2.0"
+
maintainer: "Jane Street developers"
+
authors: ["Jane Street Group, LLC"]
+
homepage: "https://github.com/janestreet/torch"
+
bug-reports: "https://github.com/janestreet/torch/issues"
+
dev-repo: "git+https://github.com/janestreet/torch.git"
+
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/torch/index.html"
+
license: "MIT"
+
available: arch = "x86_64" & os = "linux"
+
synopsis: "CPU-only binaries for torch"
+
description: "Downloads the CPU-only libtorch binaries, a requirement for using OCaml Torch."
+
install: [
+
"sh"
+
"-c"
+
"test -d %{lib}%/libtorch/lib/libtorch.so || ( unzip libtorch-linux.zip && mv -f libtorch %{lib}%/ )"
+
]
+
extra-source "libtorch-linux.zip" {
+
src:
+
"https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.1.2%2Bcpu.zip"
+
checksum: "md5=6395886cf4b2a9981306b78e15dad992"
+
}