[PATCH] D71131: gn build: Change scudo's list of supported platforms to a whitelist.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 15:58:01 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3131249204bc: gn build: Change scudo's list of supported platforms to a whitelist. (authored by pcc).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71131

Files:
  llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn


Index: llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
+++ llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
@@ -1,11 +1,7 @@
 import("//llvm/utils/gn/build/toolchain/compiler.gni")
 
 supported_toolchains = []
-# FIXME: On macOS, stage2_unix currently doesn't copy libc++ headers to
-# the out dir, but clang relies on them on mac to compile code that uses C++
-# standard library headers. scudo needs C++ standard library headers, so disable
-# this on mac until stage2_unix correctly copies libc++ headers.
-if (target_os != "win" && target_os != "mac")  {
+if (target_os == "linux" || target_os == "fuchsia")  {
   supported_toolchains += [ "//llvm/utils/gn/build/toolchain:stage2_unix" ]
 }
 if (android_ndk_path != "") {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71131.232669.patch
Type: text/x-patch
Size: 866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191206/bfe28260/attachment.bin>


More information about the llvm-commits mailing list