mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 02:29:47 +08:00
e1f1938cb8
* [psimd] create a new port * [psimd] update baseline and port SHA * [fp16] create a new port * [fp16] update baseline and port SHA * [fxdiv] create a new port * [fxdiv] update baseline and port SHA * [pthreadpool] create a new port * [pthreadpool] update baseline and port SHA * [nnpack] create a new port * [nnpack] update baseline and port SHA * [nnpack] use version-date * [nnpack] disable windows * there are no config for windows * [nnpack] enforce psimd backend There is a 'neon' backend, but it won't be considered for now * [nnpack] update supports * use more correct expression
25 lines
787 B
CMake
25 lines
787 B
CMake
vcpkg_fail_port_install(ON_TARGET "Windows")
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Maratyszcza/nnpack
|
|
REF c07e3a0400713d546e0dea2d5466dd22ea389c73
|
|
SHA512 f0b261e8698b412d12dd739e5d0cf71c284965ae28da735ae22814a004358ba3ecaea6cd26fa17b594c0245966b7dd2561c1e05c6cbf0592fd7b85ea0f21eb37
|
|
PATCHES
|
|
fix-cmakelists.patch
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DNNPACK_BACKEND=psimd
|
|
-DNNPACK_BUILD_TESTS=OFF
|
|
-DNNPACK_BUILD_BENCHMARKS=OFF
|
|
-DNNPACK_CUSTOM_THREADPOOL=OFF
|
|
)
|
|
vcpkg_install_cmake()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|