aboutsummaryrefslogtreecommitdiff
path: root/ports/torch-th
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-10-07 19:35:13 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-10-07 10:35:13 -0700
commit726c11148105a97aef39bec024fdb7c140b1b154 (patch)
tree26bd2aee0c13a8351b259cc4ffffaf0efededb4e /ports/torch-th
parente86ff2cc54bda9e9ee322ab69141e7113d5c40a9 (diff)
downloadvcpkg-726c11148105a97aef39bec024fdb7c140b1b154.tar.gz
vcpkg-726c11148105a97aef39bec024fdb7c140b1b154.zip
[vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
Diffstat (limited to 'ports/torch-th')
-rw-r--r--ports/torch-th/CONTROL2
-rw-r--r--ports/torch-th/portfile.cmake7
2 files changed, 3 insertions, 6 deletions
diff --git a/ports/torch-th/CONTROL b/ports/torch-th/CONTROL
index 1ffe36b0a..906734f38 100644
--- a/ports/torch-th/CONTROL
+++ b/ports/torch-th/CONTROL
@@ -1,4 +1,4 @@
Source: torch-th
-Version: 2019-04-19-1
+Version: 2019-04-19-2
Homepage: https://github.com/torch/torch7
Description: Torch's TH library
diff --git a/ports/torch-th/portfile.cmake b/ports/torch-th/portfile.cmake
index 2b653da22..0d7224600 100644
--- a/ports/torch-th/portfile.cmake
+++ b/ports/torch-th/portfile.cmake
@@ -8,11 +8,8 @@ vcpkg_from_github(
REF dde9e56fb61eee040d7f3dba2331c6d6c095aee8
SHA512 ef813e6f583f26019da362be1e5d9886ecf3306a2b41e5f7a73d432872eacd2745e0cf26bfcc691452f87611e02e302c54f07b2f3a3288744535e57d154a73db
HEAD_REF master
-)
-
-vcpkg_apply_patches(
- SOURCE_PATH ${SOURCE_PATH}
- PATCHES "${CMAKE_CURRENT_LIST_DIR}/debug.patch"
+ PATCHES
+ debug.patch
)
vcpkg_configure_cmake(