[libc-commits] [PATCH] D116888: [libc] improve error message for unsupported target platforms

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jan 19 10:39:39 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa01523ea9939: [libc] improve error message for unsupported target platforms (authored by yannic, committed by michaelrj).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116888

Files:
  libc/CMakeLists.txt


Index: libc/CMakeLists.txt
===================================================================
--- libc/CMakeLists.txt
+++ libc/CMakeLists.txt
@@ -89,7 +89,7 @@
 elseif(EXISTS "${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/entrypoints.txt")
   set(entrypoint_file "${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/entrypoints.txt")
 else()
-  message(FATAL_ERROR "entrypoints.txt file for the target platform not found.")
+  message(FATAL_ERROR "entrypoints.txt file for the target platform '${LIBC_TARGET_OS}/${LIBC_TARGET_ARCHITECTURE}' not found.")
 endif()
 include(${entrypoint_file})
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116888.401331.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220119/b1d2885c/attachment.bin>


More information about the libc-commits mailing list