[PATCH] D33048: [CMake] runtimes test targets need to depend on LLVM tools
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 10 17:57:17 PDT 2017
phosek added a comment.
asan target is going to be defined in `SUB_COMPONENTS` list in Components.cmake file which is generated by the runtimes build, but runtimes are only built after everything else (that's why Component.cmake is marked as `CMAKE_CONFIGURE_DEPENDS` to tell CMake that this file is modified during the build). So this is going work if you're doing incremental build (when Components.cmake has already been generated), but it'll break in the clean build. It's pretty convoluted and non-obvious and I wish there was a better solution for this, but I haven't came up with anything better yet.
Repository:
rL LLVM
https://reviews.llvm.org/D33048
More information about the llvm-commits
mailing list