Skip to content

Commit ed57ab0

Browse files
authored
[cmake] Move FindLibcCommonUtils to shared cmake, to fix standalone builds (llvm#131586)
Move `FindLibcCommonUtils` from LLVM's CMake module directory to the shared top-level CMake directory, as the module is intended to be used from within the source tree rather than the installed LLVM version. This fixes standalone offload builds after llvm#131205.
1 parent 06546e0 commit ed57ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/cmake/modules/FindLibcCommonUtils.cmake renamed to cmake/Modules/FindLibcCommonUtils.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#===--------------------------------------------------------------------===//
88

99
if(NOT TARGET llvm-libc-common-utilities)
10-
set(libc_path ${CMAKE_CURRENT_LIST_DIR}/../../../libc)
10+
set(libc_path ${CMAKE_CURRENT_LIST_DIR}/../../libc)
1111
if (EXISTS ${libc_path} AND IS_DIRECTORY ${libc_path})
1212
add_library(llvm-libc-common-utilities INTERFACE)
1313
# TODO: Reorganize the libc shared section so that it can be included without

0 commit comments

Comments
 (0)