[libcxx-commits] [libcxx] r365847 - Attempt to override broken buildbot config for libc++abi.

Eric Fiselier via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 11 17:02:49 PDT 2019


Author: ericwf
Date: Thu Jul 11 17:02:49 2019
New Revision: 365847

URL: http://llvm.org/viewvc/llvm-project?rev=365847&view=rev
Log:
Attempt to override broken buildbot config for libc++abi.

The buildbots were changed to pass -DLIBCXX_CXX_ABI=libcxxabi, but
they don't provide an include path for the library, so cxxabi.h is
never found while building libc++.

This is a temporary change until the buildbots are updated or until
D63883 lands in a form that unbreaks the bots

Modified:
    libcxx/trunk/CMakeLists.txt

Modified: libcxx/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=365847&r1=365846&r2=365847&view=diff
==============================================================================
--- libcxx/trunk/CMakeLists.txt (original)
+++ libcxx/trunk/CMakeLists.txt Thu Jul 11 17:02:49 2019
@@ -147,6 +147,14 @@ set(LIBCXX_CXX_ABI "default" CACHE STRIN
 set(CXXABIS none default libcxxabi libcxxrt libstdc++ libsupc++ vcruntime)
 set_property(CACHE LIBCXX_CXX_ABI PROPERTY STRINGS ;${CXXABIS})
 
+# FIXME: This is a temporary hack to get the buildbots working while D63883 is in flight.
+# Without this all the bots fail while building libc++
+if (DEFINED ENV{USER})
+  if (("$ENV{USER}" STREQUAL "buildbot") OR ("$ENV{USER}" STREQUAL "llvmbb"))
+    message(WARNING "OVERRIDING BUILDBOT CONFIG")
+    set(LIBCXX_CXX_ABI "default" CACHE STRING "FIXME" FORCE)
+  endif()
+endif()
 # Setup the default options if LIBCXX_CXX_ABI is not specified.
 if (LIBCXX_CXX_ABI STREQUAL "default")
   find_path(




More information about the libcxx-commits mailing list