Repository navigation
Update third_party/ruy and use its own new CMakeLists.txt. - #4564
Conversation
|
Looks like it's trying to run ruy's tests. We probably don't want to do that? |
correct (we should make sure it's only generating the libraries and no other targets - like benchmarks/test binaries/etc) |
|
Sorry about that! I thought, apparently mistakenly, that that was taken
care of by EXCLUDE_FROM_ALL.
…On Thu, Jan 21, 2021 at 5:09 PM Ben Vanik ***@***.***> wrote:
Looks like it's trying to run ruy's tests. We probably don't want to do
that?
correct (we should make sure it's only generating the libraries and no
other targets - like benchmarks/test binaries/etc)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4564 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAATNL7HKODESCQGOO7LKL3S3CQY7ANCNFSM4WLNNV3A>
.
|
|
Should be fixed by google/ruy#249, PTAL |
| # ruy must come after cpuinfo and googletest so it uses already-defined targets. | ||
| add_subdirectory(third_party/ruy EXCLUDE_FROM_ALL) |
There was a problem hiding this comment.
If you guarded cpuinfo with the existence of its CMakeLists.txt as well, this wouldn't be required.
There was a problem hiding this comment.
Cpuinfo is currently a mandatory dependency of Ruy (as far as the CMakeLists is concerned --- Bazel is different due to supporting some exotic platforms, but ruy's performance is degraded when cpuinfo is not available, and since Ruys CMake users care about performance, I didn't see a need to support cpuinfo-less builds in ruy cmakelists).
Sounds ok?
There was a problem hiding this comment.
I'm not saying you should support cpuinfo-less builds of ruy, but you can support someone providing their own cpuinfo (as IREE does). If the ruy cpuinfo submodule isn't checked out, then that is a strong indicator that someone doesn't want to use the cpuinfo that comes from ruy's submodule (and must provide their own). Assuming the build just hard fails with "I can't find cpuinfo" (as opposed to silently degrading performance), then not adding the directory when it doesn't exist is nicer than requiring that ruy be added in some particular order.
* 4da7ac0 Allow benchmark pipeline to be run on presubmit (#4607) * efbf53d Integrate MLIR-EmitC at iml130/mlir-emitc@4e501d8 (#4610) * 9cdd378 Revert removing explicit linker path in compile_android_modules.sh. (#4605) * 7ed1872 Merge pull request #4601 * 4e1a69b Remove custom CMake cross compilation for Android. (#4584) * 38210b5 Merge branch 'main' into google-to-main * 7defc33 Update third_party/ruy and use its own new CMakeLists.txt. (#4564) * 71c6802 Integrate MLIR-EmitC at iml130/mlir-emitc@4e501d8 (#4593) * 7e4dd01 E2E implementation of all remaining fft types (#4585) * 53fcde4 Merge google -> main (#4588) COPYBARA_INTEGRATE_REVIEW=#4614 from NatashaKnk:main-to-google 4da7ac0 PiperOrigin-RevId: 353949105
* 4da7ac0 Allow benchmark pipeline to be run on presubmit (#4607) * efbf53d Integrate MLIR-EmitC at iml130/mlir-emitc@4e501d8 (#4610) * 9cdd378 Revert removing explicit linker path in compile_android_modules.sh. (#4605) * 7ed1872 Merge pull request #4601 * 4e1a69b Remove custom CMake cross compilation for Android. (#4584) * 38210b5 Merge branch 'main' into google-to-main * 7defc33 Update third_party/ruy and use its own new CMakeLists.txt. (#4564) * 71c6802 Integrate MLIR-EmitC at iml130/mlir-emitc@4e501d8 (#4593) * 7e4dd01 E2E implementation of all remaining fft types (#4585) * 53fcde4 Merge google -> main (#4588) COPYBARA_INTEGRATE_REVIEW=#4614 from NatashaKnk:main-to-google 4da7ac0 PiperOrigin-RevId: 353949105
No description provided.