-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
934a99d
commit dd2f4ec
Showing
5 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/lib/TH/cmake/FindARM.cmake b/lib/TH/cmake/FindARM.cmake | ||
index 2dcb2a2..9d68601 100644 | ||
--- a/lib/TH/cmake/FindARM.cmake | ||
+++ b/lib/TH/cmake/FindARM.cmake | ||
@@ -45,7 +45,7 @@ ELSEIF(CMAKE_SYSTEM_NAME MATCHES "Darwin") | ||
CPUINFO) | ||
|
||
#neon instruction can be found on the majority part of modern ARM processor | ||
- STRING(REGEX REPLACE "^.*(neon).*$" "\\1" NEON_THERE ${CPUINFO}) | ||
+ STRING(REGEX REPLACE "^.*(neon).*$" "\\1" NEON_THERE "${CPUINFO}") | ||
STRING(COMPARE EQUAL "neon" "${NEON_THERE}" NEON_TRUE) | ||
IF (NEON_TRUE) | ||
set(NEON_FOUND true CACHE BOOL "NEON available on host") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
{ | ||
"name": "torch-th", | ||
"version-string": "2019-04-19", | ||
"port-version": 3, | ||
"version-date": "2019-04-19", | ||
"port-version": 4, | ||
"description": "Torch's TH library", | ||
"homepage": "https://github.com/torch/torch7" | ||
"homepage": "https://github.com/torch/torch7", | ||
"license": "BSD-3-Clause", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters