pytorch
d559299c - [QNNPACK] Export cpuinfo-targets in clog CMakeLists (#84876)

Commit
2 years ago
[QNNPACK] Export cpuinfo-targets in clog CMakeLists (#84876) Summary: Fixes the following error when building qnnpack: ``` CMake Error: install(EXPORT "cpuinfo-targets" ...) includes target "cpuinfo" which requires target "clog" that is not in any export set. ``` This diff mirrors the changes to the CMakeLists of https://github.com/pytorch/cpuinfo/pull/69 Test Plan: # Build Qnnpack ``` export ANDROID_NDK=/opt/android_ndk/r20 export ANDROID_NDK_HOME=${ANDROID_NDK} export ANDROID_SDK=/opt/android_sdk export ANDROID_HOME=${ANDROID_SDK} cd ~/fbsource/fbcode/caffe2/aten/src/ATen/native/quantized/cpu/qnnpack ./scripts/build-android-arm64.sh ``` Succeeds Differential Revision: D39438768 Pull Request resolved: https://github.com/pytorch/pytorch/pull/84876 Approved by: https://github.com/digantdesai
Author
Committer
Parents
Loading