Skip to content

Commit e6f0430

Browse files
clean up llvm/runtimes/CMakeList.txt
1 parent 9c0e2f9 commit e6f0430

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

llvm/runtimes/CMakeLists.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -520,24 +520,6 @@ if(build_runtimes)
520520
endif()
521521
endforeach()
522522
endif()
523-
if("libc" IN_LIST LLVM_ENABLE_PROJECTS AND
524-
(LLVM_LIBC_FULL_BUILD OR LLVM_LIBC_GPU_BUILD))
525-
if(LIBC_HDRGEN_EXE)
526-
set(hdrgen_exe ${LIBC_HDRGEN_EXE})
527-
else()
528-
if(TARGET ${LIBC_TABLEGEN_EXE})
529-
set(hdrgen_exe $<TARGET_FILE:${LIBC_TABLEGEN_EXE}>)
530-
else()
531-
set(hdrgen_exe ${LIBC_TABLEGEN_EXE})
532-
endif()
533-
set(hdrgen_deps ${LIBC_TABLEGEN_TARGET})
534-
endif()
535-
if(NOT hdrgen_exe)
536-
message(FATAL_ERROR "libc-hdrgen executable missing")
537-
endif()
538-
list(APPEND extra_cmake_args "-DLIBC_HDRGEN_EXE=${hdrgen_exe}")
539-
list(APPEND extra_deps ${hdrgen_deps})
540-
endif()
541523
if(LLVM_LIBC_GPU_BUILD)
542524
list(APPEND extra_cmake_args "-DLLVM_LIBC_GPU_BUILD=ON")
543525
if("libc" IN_LIST RUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES)

0 commit comments

Comments
 (0)