aboutsummaryrefslogtreecommitdiff
path: root/ports/nnpack
diff options
context:
space:
mode:
authorPark DongHa <luncliff@gmail.com>2021-05-06 05:37:53 +0900
committerGitHub <noreply@github.com>2021-05-05 13:37:53 -0700
commit4ef97c2c33275d7b763e3f5b3308f4bead0a0b08 (patch)
treeece6d513c87865cf01e07b6a9863e8d78dd16cd9 /ports/nnpack
parent27fe7a50db33aa5a6a004449d2645797bdb47248 (diff)
downloadvcpkg-4ef97c2c33275d7b763e3f5b3308f4bead0a0b08.tar.gz
vcpkg-4ef97c2c33275d7b763e3f5b3308f4bead0a0b08.zip
[cpuinfo,fbgemm,nnpack] update to latest source version and rename targets (#17063)
* [cpuinfo] update to latest * [cpuinfo] update baseline and port SHA * Update ports/cpuinfo/fix-install.patch Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update ports/cpuinfo/fix-install.patch Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update ports/cpuinfo/portfile.cmake Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update ports/cpuinfo/fix-install.patch Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * [cpuinfo] update port SHA * [cpuinfo] recover find_package * fixup target path to `share/unofficial-cpuinfo` * change IMPORTED target name to `unofficial::cpuinfo::cpuinfo` * [fbgemm] resolve failure after cpuinfo rename * change cpuinfo::cpuinfo to unofficial * [fbgemm] update port version * [nnpack] use changes target name * [nnpack] update port-version Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Diffstat (limited to 'ports/nnpack')
-rw-r--r--ports/nnpack/fix-cmakelists.patch4
-rw-r--r--ports/nnpack/vcpkg.json1
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/nnpack/fix-cmakelists.patch b/ports/nnpack/fix-cmakelists.patch
index bd80f1000..046443d80 100644
--- a/ports/nnpack/fix-cmakelists.patch
+++ b/ports/nnpack/fix-cmakelists.patch
@@ -42,8 +42,8 @@ index 5ecd2df..8565044 100644
"${CONFU_DEPENDENCIES_BINARY_DIR}/cpuinfo")
ENDIF()
-TARGET_LINK_LIBRARIES(nnpack PRIVATE cpuinfo)
-+find_package(cpuinfo CONFIG REQUIRED)
-+target_link_libraries(nnpack PUBLIC cpuinfo::cpuinfo)
++find_package(unofficial-cpuinfo CONFIG REQUIRED)
++target_link_libraries(nnpack PUBLIC unofficial::cpuinfo::cpuinfo)
# ---[ Configure pthreadpool
-IF(NOT TARGET pthreadpool)
diff --git a/ports/nnpack/vcpkg.json b/ports/nnpack/vcpkg.json
index 774e5ee77..a0e0a4ea2 100644
--- a/ports/nnpack/vcpkg.json
+++ b/ports/nnpack/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "nnpack",
"version-date": "2021-02-21",
+ "port-version": 1,
"description": "Acceleration package for neural networks on multi-core CPUs",
"homepage": "https://github.com/Maratyszcza/NNPACK",
"supports": "linux & osx",