[libc-commits] [PATCH] D116888: [libc] improve error message for unsupported target platforms
Yannic Bonenberger via Phabricator via libc-commits
libc-commits at lists.llvm.org
Sun Jan 9 05:05:44 PST 2022
yannic created this revision.
yannic added reviewers: michaelrj, ecnelises, tschuett.
yannic added a project: libc-project.
Herald added subscribers: libc-commits, mgorny.
yannic requested review of this revision.
Repository:
rG LLVM Github Monorepo
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.398417.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220109/cfeda2a0/attachment.bin>
More information about the libc-commits
mailing list