Details
Details
Diff Detail
Diff Detail
- Repository
- rT test-suite
Event Timeline
Comment Actions
I've reverted this (https://github.com/llvm/llvm-test-suite/commit/f6b04890c21ac634fcba6075017ec1487a85e132) as it's causing cmake to fail on all of the Linaro bots running the test suite.
E.g. https://lab.llvm.org/buildbot/#/builders/178/builds/151/steps/19/logs/stdio
CMake Error at cmake/modules/TestSuite.cmake:99 (add_dependencies): Cannot add target-level dependencies to non-existent target "donotoptimize_assembly_test". The add_dependencies works for top-level logical targets created by the add_executable, add_library, or add_custom_target commands. If you want to add file-level dependencies see the DEPENDS option of the add_custom_target and add_custom_command commands. Call Stack (most recent call first): MicroBenchmarks/libs/CMakeLists.txt:16 (test_suite_add_build_dependencies)
Do we need to enable these targets elsewhere before trying to add dependencies for them?
If it turns out the cmake cache needs clearing I can do that on our side.
Comment Actions
This may be a caching issue. Can you look at the cache and see if BENCHMARK_ENABLE_TESTING is defined, and what value?
Locally, on a clean build directory, this has no issue.