File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -69,17 +69,8 @@ function(llvm_create_cross_target project_name target_name toolchain buildtype)
6969 "-DLLVM_EXTERNAL_${name} _SOURCE_DIR=${LLVM_EXTERNAL_${name} _SOURCE_DIR}" )
7070 endforeach ()
7171
72- if ("libc" IN_LIST LLVM_ENABLE_PROJECTS)
73- set (libc_flags -DLLVM_LIBC_FULL_BUILD=ON )
74- if (MSVC )
75- # Due to some issues mentioned in llvm/projects/CMakeLists.txt, libc build is disabled by
76- # default in the cross target when building with MSVC compatible compilers on Windows. Add
77- # LLVM_FORCE_BUILD_RUNTIME to bypass this issue and force its building on Windows.
78- list (APPEND libc_flags -DLLVM_FORCE_BUILD_RUNTIME=ON )
79- endif ()
80- endif ()
8172 if (LLVM_LIBC_GPU_BUILD)
82- list ( APPEND libc_flags -DLLVM_LIBC_GPU_BUILD=ON )
73+ set ( libc_flags -DLLVM_LIBC_GPU_BUILD=ON )
8374 endif ()
8475
8576 add_custom_command (OUTPUT ${${project_name} _${target_name} _BUILD}/CMakeCache.txt
You can’t perform that action at this time.
0 commit comments