aboutsummaryrefslogtreecommitdiff
path: root/ports/torch-th
diff options
context:
space:
mode:
authorThad House <thadhouse1@gmail.com>2019-05-31 13:49:13 -0700
committerThad House <thadhouse1@gmail.com>2019-05-31 13:49:13 -0700
commit788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b (patch)
tree173ade0e6960917458afe9dd9fb0c3c2b7f32051 /ports/torch-th
parentf483ae4c7fd04eed671a1de595374f84175311e9 (diff)
parent26a9338c5055193915290527eacb37f2ac7fdcb8 (diff)
downloadvcpkg-788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b.tar.gz
vcpkg-788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b.zip
Merge master
Diffstat (limited to 'ports/torch-th')
-rw-r--r--ports/torch-th/CONTROL2
-rw-r--r--ports/torch-th/portfile.cmake13
2 files changed, 5 insertions, 10 deletions
diff --git a/ports/torch-th/CONTROL b/ports/torch-th/CONTROL
index 9505e6659..edaaef3d4 100644
--- a/ports/torch-th/CONTROL
+++ b/ports/torch-th/CONTROL
@@ -1,3 +1,3 @@
Source: torch-th
-Version: 2018-07-03
+Version: 2019-04-19-1
Description: Torch's TH library
diff --git a/ports/torch-th/portfile.cmake b/ports/torch-th/portfile.cmake
index 69ecd1c00..2b653da22 100644
--- a/ports/torch-th/portfile.cmake
+++ b/ports/torch-th/portfile.cmake
@@ -1,17 +1,12 @@
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- message(FATAL_ERROR "scintilla only supports dynamic linkage")
-endif()
-if(VCPKG_CRT_LINKAGE STREQUAL "static")
- message(FATAL_ERROR "scintilla only supports dynamic crt")
-endif()
-
include(vcpkg_common_functions)
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO torch/torch7
- REF fd0ee3bbf7bfdd21ab10c5ee70b74afaef9409e1
- SHA512 3a7a006ec624f25216e2b433380ccaf04710fd452f28ce853d3018e4ced6b6e066e61ff9165b8c0526825748a335c976cfb7accff4d1a16ae1be0db94b2c8a22
+ REF dde9e56fb61eee040d7f3dba2331c6d6c095aee8
+ SHA512 ef813e6f583f26019da362be1e5d9886ecf3306a2b41e5f7a73d432872eacd2745e0cf26bfcc691452f87611e02e302c54f07b2f3a3288744535e57d154a73db
HEAD_REF master
)