For LLVM-related variable LLVM_ENABLE_PROJECTS, if
you want to build ALL projects by specifying
-DLLVM_ENABLE_PROJECTS=all, all the following projects
clang;clang-tools-extra;cross-project-tests;libc;libclc;lld;lldb;openmp;polly;pstl
are to be built. Particularly, libc is also to be
built, which will bring me the following error:
1 2
....../llvm-project/libc/src/string/strcpy.cpp:17:28: error: ‘char*__llvm_libc_18_0_0_git::strcpy(char*, const char*)’ aliased to external symbol ‘strcpy’ 17 | LLVM_LIBC_FUNCTION(char*, strcpy,