[PATCH] D23228: Do not depend on unwind when building standalone

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 5 14:48:27 PDT 2016


phosek created this revision.
phosek added a subscriber: cfe-commits.

When libcxxabi is being built standalone, unwind dependency is not available, so do not use it even when LLVM unwinder is being requested.

https://reviews.llvm.org/D23228

Files:
  test/CMakeLists.txt

Index: test/CMakeLists.txt
===================================================================
--- test/CMakeLists.txt
+++ test/CMakeLists.txt
@@ -36,10 +36,9 @@
 
 if (NOT LIBCXXABI_BUILT_STANDALONE)
   list(APPEND LIBCXXABI_TEST_DEPS cxx)
-endif()
-
-if (LIBCXXABI_USE_LLVM_UNWINDER)
-  list(APPEND LIBCXXABI_TEST_DEPS unwind)
+  if (LIBCXXABI_USE_LLVM_UNWINDER)
+    list(APPEND LIBCXXABI_TEST_DEPS unwind)
+  endif()
 endif()
 
 add_lit_testsuite(check-libcxxabi "Running libcxxabi tests"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23228.67022.patch
Type: text/x-patch
Size: 493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160805/3d31eec2/attachment.bin>


More information about the cfe-commits mailing list