@@ -244,17 +244,16 @@ projects="llvm clang"
244
244
if [ $do_clang_tools = " yes" ]; then
245
245
projects=" $projects clang-tools-extra"
246
246
fi
247
- runtimes=" "
248
247
if [ $do_rt = " yes" ]; then
249
- runtimes =" $runtimes compiler-rt"
248
+ projects =" $projects compiler-rt"
250
249
fi
251
250
if [ $do_libs = " yes" ]; then
252
- runtimes =" $runtimes libcxx"
251
+ projects =" $projects libcxx"
253
252
if [ $do_libcxxabi = " yes" ]; then
254
- runtimes =" $runtimes libcxxabi"
253
+ projects =" $projects libcxxabi"
255
254
fi
256
255
if [ $do_libunwind = " yes" ]; then
257
- runtimes =" $runtimes libunwind"
256
+ projects =" $projects libunwind"
258
257
fi
259
258
fi
260
259
if [ $do_openmp = " yes" ]; then
@@ -381,7 +380,6 @@ function configure_llvmCore() {
381
380
esac
382
381
383
382
project_list=${projects// / ;}
384
- runtime_list=${runtimes// / ;}
385
383
echo " # Using C compiler: $c_compiler "
386
384
echo " # Using C++ compiler: $cxx_compiler "
387
385
@@ -394,7 +392,6 @@ function configure_llvmCore() {
394
392
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
395
393
-DLLVM_ENABLE_PROJECTS=" $project_list " \
396
394
-DLLVM_LIT_ARGS=" -j $NumJobs " \
397
- -DLLVM_ENABLE_RUNTIMES=" $runtime_list " \
398
395
$ExtraConfigureFlags $BuildDir /llvm-project/llvm \
399
396
2>&1 | tee $LogDir /llvm.configure-Phase$Phase -$Flavor .log
400
397
env CC=" $c_compiler " CXX=" $cxx_compiler " \
@@ -403,7 +400,6 @@ function configure_llvmCore() {
403
400
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
404
401
-DLLVM_ENABLE_PROJECTS=" $project_list " \
405
402
-DLLVM_LIT_ARGS=" -j $NumJobs " \
406
- -DLLVM_ENABLE_RUNTIMES=" $runtime_list " \
407
403
$ExtraConfigureFlags $BuildDir /llvm-project/llvm \
408
404
2>&1 | tee $LogDir /llvm.configure-Phase$Phase -$Flavor .log
409
405
0 commit comments