[libunwind] [libunwind] Make sure libunwind test dependencies are installed before running tests (PR #171474)
Louis Dionne via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 9 12:44:43 PST 2025
================
@@ -9,6 +9,26 @@ macro(pythonize_bool var)
endmacro()
set(LIBUNWIND_TESTING_INSTALL_PREFIX "${LIBUNWIND_BINARY_DIR}/test-suite-install")
+add_custom_target(libunwind-install-cxx-for-testing
+ DEPENDS cxx-headers
+ cxx
+ cxx_experimental
+ cxx-modules
+ COMMAND ${CMAKE_COMMAND} -E make_directory "${LIBUNWIND_TESTING_INSTALL_PREFIX}"
----------------
ldionne wrote:
That's a good observation, thanks! And in fact I think I can refactor this a bunch further.
https://github.com/llvm/llvm-project/pull/171474
More information about the cfe-commits
mailing list