Skip to content

Commit

Permalink
Merge libcxx: [libc++] Re-apply workaround for D63883
Browse files Browse the repository at this point in the history
apple-llvm-split-dir: libcxx/
  • Loading branch information
apple-llvm-mt committed Oct 1, 2019
2 parents 4728061 + bcab951 commit 69dd2c2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libcxx/CMakeLists.txt
Expand Up @@ -148,6 +148,16 @@ set(LIBCXX_CXX_ABI "default" CACHE STRING
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") OR ("$ENV{USER}" STREQUAL "buildslave")))
if (LIBCXX_CXX_ABI STREQUAL "libcxxabi" AND NOT DEFINED LIBCXX_CXX_ABI_INCLUDE_PATHS)
message(WARNING "OVERRIDING BUILDBOT CONFIG")
set(LIBCXX_CXX_ABI "default" CACHE STRING "FIXME" FORCE)
endif()
endif()
endif()
# Setup the default options if LIBCXX_CXX_ABI is not specified.
if (LIBCXX_CXX_ABI STREQUAL "default")
find_path(
Expand Down

0 comments on commit 69dd2c2

Please sign in to comment.