File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -60,27 +60,6 @@ if(LIBC_BUILD_GPU_LOADER OR (LLVM_LIBC_GPU_BUILD AND NOT LLVM_RUNTIMES_BUILD))
6060 add_subdirectory (utils/gpu)
6161endif ()
6262
63- set (NEED_LIBC_HDRGEN FALSE )
64- if (NOT LLVM_RUNTIMES_BUILD)
65- if ("libc" IN_LIST LLVM_ENABLE_RUNTIMES)
66- set (NEED_LIBC_HDRGEN TRUE )
67- else ()
68- foreach (_name ${LLVM_RUNTIME_TARGETS} )
69- if ("libc" IN_LIST RUNTIMES_${_name} _LLVM_ENABLE_RUNTIMES)
70- set (NEED_LIBC_HDRGEN TRUE )
71- break ()
72- endif ()
73- endforeach ()
74- endif ()
75- endif ()
76- if (NEED_LIBC_HDRGEN)
77- # When libc is build as part of the runtimes/bootstrap build's CMake run, we
78- # only need to build the host tools to build the libc. So, we just do enough
79- # to build libc-hdrgen and return.
80- return ()
81- endif ()
82- unset (NEED_LIBC_HDRGEN)
83-
8463option (LIBC_CMAKE_VERBOSE_LOGGING
8564 "Log details warnings and notifications during CMake configuration." OFF )
8665
You can’t perform that action at this time.
0 commit comments