[libcxx-commits] [PATCH] D75991: [libc++] [cmake] Better diagnostics for missing abi library headers
Sergej Jaskiewicz via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 11 11:21:25 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGed77efeff18c: [libc++] [cmake] Better diagnostics for missing abi library headers (authored by broadwaylamb).
Changed prior to commit:
https://reviews.llvm.org/D75991?vs=249621&id=249696#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75991/new/
https://reviews.llvm.org/D75991
Files:
libcxx/cmake/Modules/HandleLibCXXABI.cmake
Index: libcxx/cmake/Modules/HandleLibCXXABI.cmake
===================================================================
--- libcxx/cmake/Modules/HandleLibCXXABI.cmake
+++ libcxx/cmake/Modules/HandleLibCXXABI.cmake
@@ -37,8 +37,10 @@
foreach(fpath ${LIBCXX_ABILIB_FILES})
set(found FALSE)
foreach(incpath ${LIBCXX_CXX_ABI_INCLUDE_PATHS})
+ message(STATUS "Looking for ${fpath} in ${incpath}")
if (EXISTS "${incpath}/${fpath}")
set(found TRUE)
+ message(STATUS "Looking for ${fpath} in ${incpath} - found")
get_filename_component(dstdir ${fpath} PATH)
get_filename_component(ifile ${fpath} NAME)
set(src ${incpath}/${fpath})
@@ -66,10 +68,12 @@
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
endif()
+ else()
+ message(STATUS "Looking for ${fpath} in ${incpath} - not found")
endif()
endforeach()
if (NOT found)
- message(WARNING "Failed to find ${fpath}")
+ message(WARNING "Failed to find ${fpath} in ${LIBCXX_CXX_ABI_INCLUDE_PATHS}")
endif()
endforeach()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75991.249696.patch
Type: text/x-patch
Size: 1118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200311/1086ba48/attachment.bin>
More information about the libcxx-commits
mailing list