[QNNPACK] Export cpuinfo-targets in clog CMakeLists#84876
[QNNPACK] Export cpuinfo-targets in clog CMakeLists#84876salilsdesai wants to merge 1 commit intopytorch:masterfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/84876
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3740c35: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D39438768 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D39438768 |
af8123f to
7b98d19
Compare
Summary: Pull Request resolved: pytorch#84876 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 - pytorch/cpuinfo#69 - pytorch/cpuinfo#89 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 fbshipit-source-id: 9bd0119ffea984d274e85b8b756b630743a89f0f
|
This pull request was exported from Phabricator. Differential Revision: D39438768 |
7b98d19 to
3740c35
Compare
digantdesai
left a comment
There was a problem hiding this comment.
LGTM, thanks @salilsdesai
|
@pytorchmergebot merge |
|
@pytorchbot successfully started a merge job. Check the current status here. |
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 pytorch/cpuinfo#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: #84876 Approved by: https://github.com/digantdesai
Summary:
Fixes the following error when building qnnpack:
This diff mirrors the changes to the CMakeLists of
pytorch/cpuinfo#69
Test Plan:
Build Qnnpack
Succeeds
Differential Revision: D39438768