[libcxx-commits] [PATCH] D119538: [libcxxabi] [test] Depend on unwind only if available

Michał Górny via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 16 10:30:53 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5244ef0faf55: [libcxxabi] [test] Depend on unwind only if available (authored by mgorny).
Herald added a project: libc++abi.
Herald added a reviewer: libc++abi.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119538/new/

https://reviews.llvm.org/D119538

Files:
  libcxxabi/test/CMakeLists.txt


Index: libcxxabi/test/CMakeLists.txt
===================================================================
--- libcxxabi/test/CMakeLists.txt
+++ libcxxabi/test/CMakeLists.txt
@@ -63,7 +63,7 @@
 
 if (NOT LIBCXXABI_STANDALONE_BUILD)
   list(APPEND LIBCXXABI_TEST_DEPS cxx)
-  if (LIBCXXABI_USE_LLVM_UNWINDER)
+  if (LIBCXXABI_USE_LLVM_UNWINDER AND TARGET unwind)
     list(APPEND LIBCXXABI_TEST_DEPS unwind)
   endif()
 endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119538.409318.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220216/49584779/attachment-0001.bin>


More information about the libcxx-commits mailing list