mirror of https://github.com/microsoft/vcpkg.git
[libtorch] Fix libtorch build (#29497)
* [libtorch] fixed libtorch build * fix libtorch build --------- Co-authored-by: jimwang118 <wangzhijie05@byondsoft.com>
This commit is contained in:
parent
29f2f939a4
commit
2196a2c7d6
|
|
@ -160,7 +160,7 @@ endif()
|
|||
|
||||
if(USE_ZSTD)
|
||||
find_package(zstd CONFIG REQUIRED) # zstd::libzstd_static
|
||||
list(APPEND Caffe2_DEPENDENCY_LIBS zstd::libzstd_static)
|
||||
list(APPEND Caffe2_DEPENDENCY_LIBS $<IF:$<TARGET_EXISTS:zstd::libzstd_shared>,zstd::libzstd_shared,zstd::libzstd_static>)
|
||||
endif()
|
||||
|
||||
if(USE_SYSTEM_ONNX)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "libtorch",
|
||||
"version": "1.12.1",
|
||||
"port-version": 1,
|
||||
"description": "Tensors and Dynamic neural networks in Python with strong GPU acceleration",
|
||||
"homepage": "https://pytorch.org/",
|
||||
"license": null,
|
||||
|
|
|
|||
|
|
@ -4434,7 +4434,7 @@
|
|||
},
|
||||
"libtorch": {
|
||||
"baseline": "1.12.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libtorrent": {
|
||||
"baseline": "2.0.8",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "99e1c00f462716fc1899f7c0f5773e5dccbe8ee8",
|
||||
"version": "1.12.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "c9504da41dc33e2294aeda9e3c215c505f1627d0",
|
||||
"version": "1.12.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue