[PATCH] D108156: [CMake][Darwin] Ignore stderr during SDKSetting.plist parsing

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 9 12:10:02 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG05eaa2b42f66: [CMake][Darwin] Ignore stderr during SDKSetting.plist parsing (authored by steven_wu).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108156

Files:
  compiler-rt/cmake/builtin-config-ix.cmake


Index: compiler-rt/cmake/builtin-config-ix.cmake
===================================================================
--- compiler-rt/cmake/builtin-config-ix.cmake
+++ compiler-rt/cmake/builtin-config-ix.cmake
@@ -83,7 +83,8 @@
     execute_process(COMMAND
         /usr/libexec/PlistBuddy -c "Print :SupportedTargets:${os}:Archs" ${sdk_path}/SDKSettings.plist
       OUTPUT_VARIABLE SDK_SUPPORTED_ARCHS
-      RESULT_VARIABLE PLIST_ERROR)
+      RESULT_VARIABLE PLIST_ERROR
+      ERROR_QUIET)
     if (PLIST_ERROR EQUAL 0 AND
         SDK_SUPPORTED_ARCHS MATCHES " ${arch}\n")
       message(STATUS "Found ${arch} support in ${sdk_path}/SDKSettings.plist")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108156.371685.patch
Type: text/x-patch
Size: 658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210909/b03a9c5f/attachment.bin>


More information about the llvm-commits mailing list