Comments (4)
Thanks for the report! That is very much not expected — sorry about that!
I’ll try to get out a PR asap to fix that.
Out of curiosity, does changing it to PROJECT_NAME
work?
from xnnpack.
Replacing all the CMAKE_PROJECT_NAME usages with PROJECT_NAME in CMakeLists.txt works for the Config.cmake.in filename but I get errors about the install. I don't actually need/want to install but I don't think there's an option to disable that.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "allocator" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "cache" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "hardware-config" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "indirection" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "jit" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "logging" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "memory" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "microkernel-utils" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "microparams-init" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "mutex" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "normalization" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "operators" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "operator-run" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "operator-utils" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "packing" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "post-operation" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "microkernels-prod" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "subgraph" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "pthreadpool" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "fxdiv" that is not in any export set.
CMake Error: install(EXPORT "XNNPACKTargets" ...) includes target "XNNPACK" which requires target "fp16" that is not in any export set.
from xnnpack.
Can you try with 0da379f (the commit after the one you used in your original post) or newer? It looks like my change was reverted since then.
Let me know if that works and I'll submit a PR to re-land my changes and tag you to ask you to review to ensure there's no breakage. Again, sorry about this!
from xnnpack.
No issues with that commit.
I tried with the changes in #5676 applied to the latest master but still get the export errors. If I comment out these lines I can avoid that (but that's probably expected).
INSTALL(EXPORT XNNPACKTargets
FILE "XNNPACKConfig.cmake"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/XNNPACK")
from xnnpack.
Related Issues (20)
- Xnnpack still builds with `+dotprod` and `+fp16` with `-DXNNPACK_ENABLE_ARM_DOTPROD=OFF -DXNNPACK_ENABLE_ARM_FP16_SCALAR=OFF -DXNNPACK_ENABLE_ARM_FP16_VECTOR=OFF` HOT 10
- Is running TEST(CONVERT_NC_F16_QD8, unit_batch) failed because it does not support armv7a ? HOT 1
- Why is Signal 7 reporting an error on the armv7a platform TEST (F16_VCMUL_NEONFP16ARITH_U8, batch_lt_8) ? HOT 3
- A segment error occurred while running test case static-reshape-test on the armv7a platform HOT 1
- ARMv7 (with NEON) can not support on Linux but only support ARMv7 (with NEON) on Android HOT 3
- Enable HEXAGON to build XNNPack
- Work with the gvisor team on this
- scripts/build-android-armv7.sh fails with NDK 21
- `xnn_weights_cache_provider` look_up doesn't work? HOT 2
- How can I parallelize the execution of this benchmark? (https://github.com/google/XNNPACK/blob/master/bench/spmm-benchmark.h) HOT 1
- cmake build failure with XNNPACK_BUILD_TESTS=ON and XNNPACK_LIBRARY_TYPE=shared
- test/sigmoid_nc_test fails on Hexagon simulator HOT 1
- Load-from-misaligned-address failures on Hexagon simulator HOT 3
- XNNPACK tests that use mmap() fail on Hexagon devices
- Default condition missing for xnnpack_aggregate_library HOT 1
- unsupported instruction `vpdpbusd' HOT 3
- tests for vbinary f16_vsqrdiffc_test are missing a bazel build target
- Add benchmarks for vbinary microkernels
- Possible null pointer dereference in logging
- Dynamic shape support follow-up HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xnnpack.