File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 7
7
# build, see runtimes/CMakeLists.txt, except that we currently check whether
8
8
# compiler-rt is being built to determine whether to first build builtins
9
9
# or not so we need that information in this file as well.
10
- set (LLVM_ALL_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind;openmp" )
10
+ set (LLVM_ALL_RUNTIMES "compiler-rt;libc; libcxx;libcxxabi;libunwind;openmp" )
11
11
set (LLVM_ENABLE_RUNTIMES "" CACHE STRING
12
12
"Semicolon-separated list of runtimes to build (${LLVM_ALL_RUNTIMES} ), or \" all\" ." )
13
13
if (LLVM_ENABLE_RUNTIMES STREQUAL "all" )
@@ -166,6 +166,12 @@ endif()
166
166
# for all variables that will apply to runtimes.
167
167
foreach (entry ${runtimes} )
168
168
get_filename_component (projName ${entry} NAME )
169
+ if (projName STREQUAL "libc" )
170
+ # For now, we will use the name "llvmlibc" for the libc project as it is
171
+ # not a full libc yet. Also, if we leave it as is, the "lib" prefix gets
172
+ # stripped below and the targets endup having the name "c", "check-c" etc.
173
+ set (projName "llvmlibc" )
174
+ endif ()
169
175
string (REPLACE "-" "_" canon_name ${projName} )
170
176
string (TOUPPER ${canon_name} canon_name)
171
177
list (APPEND prefixes ${canon_name} )
Original file line number Diff line number Diff line change 2
2
cmake_minimum_required (VERSION 3.13.4)
3
3
project (Runtimes C CXX ASM)
4
4
5
- set (LLVM_ALL_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind;openmp" )
5
+ set (LLVM_ALL_RUNTIMES "compiler-rt;libc; libcxx;libcxxabi;libunwind;openmp" )
6
6
set (LLVM_ENABLE_RUNTIMES "" CACHE STRING
7
7
"Semicolon-separated list of runtimes to build (${LLVM_ALL_RUNTIMES} ), or \" all\" ." )
8
8
if (LLVM_ENABLE_RUNTIMES STREQUAL "all" )
You can’t perform that action at this time.
0 commit comments