Giter VIP home page Giter VIP logo

Comments (4)

ConnorBaker avatar ConnorBaker commented on June 10, 2024

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.

skottmckay avatar skottmckay commented on June 10, 2024

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.

ConnorBaker avatar ConnorBaker commented on June 10, 2024

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.

skottmckay avatar skottmckay commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.