[PATCH] D133273: [compiler-rt][macOS]: Fix building compiler-rt without iOS related SDKs
Tobias Hieta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 4 07:33:36 PDT 2022
thieta updated this revision to Diff 457858.
thieta added a comment.
Removed whitespaces
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133273/new/
https://reviews.llvm.org/D133273
Files:
compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
Index: compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
===================================================================
--- compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
@@ -70,8 +70,10 @@
)
endif()
if(NOT result_process EQUAL 0)
- message(FATAL_ERROR
+ message(WARNING
"Failed to determine SDK version for \"${sdk_name}\" SDK")
+ set(${var} "0" PARENT_SCOPE)
+ return()
endif()
# Check reported version looks sane.
if (NOT "${var_internal}" MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+)?$")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133273.457858.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220904/d5f9c033/attachment.bin>
More information about the llvm-commits
mailing list