-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
29 lines (29 loc) · 908 Bytes
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.13.0%2Bcpu.zip"
checksum: [
"sha256=d52f63577a07adb0bfd6d77c90f7da21896e94f71eb7dcd55ed7835ccb3b2b59"
"md5=b4e2be3e0ae4df35a93fb2b442d21eea"
]
}
available: arch = "x86_64" & os = "linux"