Skip to content

Commit

Permalink
[libtorch] allow static torch_cpu build
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Nov 21, 2022
1 parent 4085d19 commit 5fd4ef0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions ports/libtorch/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO pytorch/pytorch
Expand Down
2 changes: 1 addition & 1 deletion ports/libtorch/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Tensors and Dynamic neural networks in Python with strong GPU acceleration",
"homepage": "https://pytorch.org/",
"license": null,
"supports": "(windows & !static) | osx | linux",
"supports": "windows | osx | linux",
"dependencies": [
"cpuinfo",
"eigen3",
Expand Down

0 comments on commit 5fd4ef0

Please sign in to comment.