<div dir="ltr">Should the FIXME comment be updated then? It sounds like it contradicts the commit message (?)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 1, 2019 at 3:25 PM Louis Dionne via libcxx-commits <<a href="mailto:libcxx-commits@lists.llvm.org">libcxx-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Author: ldionne<br>
Date: Tue Oct  1 12:27:38 2019<br>
New Revision: 373385<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=373385&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=373385&view=rev</a><br>
Log:<br>
[libc++] Re-apply workaround for D63883<br>
<br>
In reality, this workaround is for the fact that LIBCXX_CXX_ABI=libcxxabi<br>
can't be specified on Linux, since libc++abi isn't shipped with the system.<br>
Since the build bots explicitly specify LIBCXX_CXX_ABI=libcxxabi, they fail<br>
unless we apply the workaround.<br>
<br>
Modified:<br>
    libcxx/trunk/CMakeLists.txt<br>
<br>
Modified: libcxx/trunk/CMakeLists.txt<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=373385&r1=373384&r2=373385&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=373385&r1=373384&r2=373385&view=diff</a><br>
==============================================================================<br>
--- libcxx/trunk/CMakeLists.txt (original)<br>
+++ libcxx/trunk/CMakeLists.txt Tue Oct  1 12:27:38 2019<br>
@@ -148,6 +148,16 @@ set(LIBCXX_CXX_ABI "default" CACHE STRIN<br>
 set(CXXABIS none default libcxxabi libcxxrt libstdc++ libsupc++ vcruntime)<br>
 set_property(CACHE LIBCXX_CXX_ABI PROPERTY STRINGS ;${CXXABIS})<br>
<br>
+# FIXME: This is a temporary hack to get the buildbots working while D63883 is in flight.<br>
+# Without this all the bots fail while building libc++<br>
+if (DEFINED ENV{USER})<br>
+  if (("$ENV{USER}" STREQUAL "buildbot") OR (("$ENV{USER}" STREQUAL "llvmbb") OR ("$ENV{USER}" STREQUAL "buildslave")))<br>
+    if (LIBCXX_CXX_ABI STREQUAL "libcxxabi" AND NOT DEFINED LIBCXX_CXX_ABI_INCLUDE_PATHS)<br>
+      message(WARNING "OVERRIDING BUILDBOT CONFIG")<br>
+      set(LIBCXX_CXX_ABI "default" CACHE STRING "FIXME" FORCE)<br>
+    endif()<br>
+  endif()<br>
+endif()<br>
 # Setup the default options if LIBCXX_CXX_ABI is not specified.<br>
 if (LIBCXX_CXX_ABI STREQUAL "default")<br>
   find_path(<br>
<br>
<br>
_______________________________________________<br>
libcxx-commits mailing list<br>
<a href="mailto:libcxx-commits@lists.llvm.org" target="_blank">libcxx-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-commits</a><br>
</blockquote></div>