[libtorch] allow static torch_cpu build

This commit is contained in:
luncliff 2022-11-21 17:57:31 +09:00
parent 4085d19005
commit 5fd4ef0bbe
2 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO pytorch/pytorch

View File

@ -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",