File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 77#===--------------------------------------------------------------------===//
88
99if (NOT TARGET llvm-libc-common-utilities)
10- set (libc_path ${CMAKE_CURRENT_LIST_DIR} /.. /../libc)
10+ set (libc_path ${LLVM_MAIN_SRC_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
Original file line number Diff line number Diff line change 99# traversing each directory.
1010create_llvm_tool_options()
1111
12- if (NOT LLVM_COMPILER_IS_GCC_COMPATIBLE)
12+ if (NOT LLVM_COMPILER_IS_GCC_COMPATIBLE OR NOT TARGET llvm-libc-common-utilities )
1313 set (LLVM_TOOL_LLVM_GPU_LOADER_BUILD OFF )
1414endif ()
1515
You can’t perform that action at this time.
0 commit comments