File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -573,26 +573,12 @@ function set_build_options_for_host() {
573
573
-DLLVM_ENABLE_MODULES:BOOL=" $( true_false ${LLVM_ENABLE_MODULES} ) "
574
574
)
575
575
if [[ $( is_llvm_lto_enabled) == " TRUE" ]]; then
576
- if [[ $( cmake_needs_to_specify_standard_computed_defaults) == " TRUE" ]]; then
577
- llvm_cmake_options+=(
578
- " -DCMAKE_C_STANDARD_COMPUTED_DEFAULT=AppleClang"
579
- " -DCMAKE_CXX_STANDARD_COMPUTED_DEFAULT=AppleClang"
580
- )
581
- fi
582
-
583
576
llvm_cmake_options+=(
584
577
" -DLLVM_PARALLEL_LINK_JOBS=${LLVM_NUM_PARALLEL_LTO_LINK_JOBS} "
585
578
)
586
579
fi
587
580
588
581
if [[ $( is_swift_lto_enabled) == " TRUE" ]]; then
589
- if [[ $( cmake_needs_to_specify_standard_computed_defaults) = " TRUE" ]]; then
590
- swift_cmake_options+=(
591
- " -DCMAKE_C_STANDARD_COMPUTED_DEFAULT=AppleClang"
592
- " -DCMAKE_CXX_STANDARD_COMPUTED_DEFAULT=AppleClang"
593
- )
594
- fi
595
-
596
582
llvm_cmake_options+=(
597
583
-DLLVM_ENABLE_MODULE_DEBUGGING:BOOL=NO
598
584
)
@@ -914,14 +900,6 @@ function cmake_version() {
914
900
" ${CMAKE} " --version | grep " cmake version" | cut -f 3 -d " "
915
901
}
916
902
917
- function cmake_needs_to_specify_standard_computed_defaults() {
918
- if [[ $( cmake_version) = " 3.4.0" ]]; then
919
- echo " TRUE"
920
- else
921
- echo " FALSE"
922
- fi
923
- }
924
-
925
903
# Sanitize the list of cross-compilation targets.
926
904
#
927
905
# In the Build/Host/Target paradigm:
You can’t perform that action at this time.
0 commit comments