this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #22155 from LaurentMazare/libtorch-1.12

Add opam files for libtorch 1.12.

authored by

Kate and committed by
GitHub
f5928d87 41a11a78

+57
+25
packages/libtorch/libtorch.1.12.0+linux-x86_64/opam
··· 1 + opam-version: "2.0" 2 + homepage: "https://github.com/LaurentMazare/ocaml-torch" 3 + license: "BSD-3-Clause" 4 + maintainer: "lmazare@gmail.com" 5 + bug-reports: "https://github.com/LaurentMazare/ocaml-torch/issues" 6 + dev-repo: "git+https://github.com/LaurentMazare/ocaml-torch.git" 7 + authors: [ 8 + "Laurent Mazare" 9 + ] 10 + install: [ 11 + [ 12 + "sh" 13 + "-c" 14 + "test -d %{lib}%/libtorch/lib/libtorch.so || ( unzip libtorch-linux.zip && mv -f libtorch %{lib}%/ )" 15 + ] 16 + ] 17 + synopsis: "LibTorch library package" 18 + description: """ 19 + This is used by the torch package to trigger the install of the 20 + libtorch library.""" 21 + extra-source "libtorch-linux.zip" { 22 + src: "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.12.0%2Bcpu.zip" 23 + checksum: "md5=a0400de625916051176b69f7aa524fc3" 24 + } 25 + available: arch = "x86_64" & os = "linux"
+32
packages/libtorch/libtorch.1.12.0+macos-x86_64/opam
··· 1 + opam-version: "2.0" 2 + homepage: "https://github.com/LaurentMazare/ocaml-torch" 3 + maintainer: "lmazare@gmail.com" 4 + bug-reports: "https://github.com/LaurentMazare/ocaml-torch/issues" 5 + dev-repo: "git+https://github.com/LaurentMazare/ocaml-torch.git" 6 + license: "BSD-3-Clause" 7 + authors: [ 8 + "Laurent Mazare" 9 + ] 10 + install: [ 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 + ] 17 + depexts: [ 18 + ["libomp"] {os-distribution = "homebrew"} 19 + ] 20 + synopsis: "LibTorch library package" 21 + description: """ 22 + This is used by the torch package to trigger the install of the 23 + libtorch library.""" 24 + extra-source "libtorch-macos.zip" { 25 + src: "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.12.0.zip" 26 + checksum: "md5=b01b0c32221fc81ea1c480eab589cac6" 27 + } 28 + extra-source "mklml-macos.tgz" { 29 + src: "https://github.com/intel/mkl-dnn/releases/download/v0.17.2/mklml_mac_2019.0.1.20181227.tgz" 30 + checksum: "md5=a8b4b158dc8e7aad13c0d594a9a8d241" 31 + } 32 + available: arch = "x86_64" & os = "macos"