[PATCH] D55503: Change llvm call once check for building Swift for PowerPC(ppc64le)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 9 22:50:38 PST 2018


lebedev.ri added a comment.

It is best to always upload all patches with full context (`-U99999`).
Do the tests pass on that ppc64le?



================
Comment at: include/llvm/Support/Threading.h:30
     (defined(_LIBCPP_VERSION) ||                                               \
-     !(defined(__NetBSD__) || defined(__OpenBSD__) || defined(__ppc__)))
+     !(defined(__NetBSD__) || defined(__OpenBSD__) || defined(__ppc__)) || (defined(__PPC__) && defined(__LITTLE_ENDIAN__)))
 // std::call_once from libc++ is used on all Unix platforms. Other
----------------
clang-format please (linewrap 80 col)


Repository:
  rL LLVM

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

https://reviews.llvm.org/D55503





More information about the llvm-commits mailing list