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 @@ -555,26 +555,12 @@ function set_build_options_for_host() {
555
555
-DLLVM_ENABLE_MODULES:BOOL=" $( true_false ${LLVM_ENABLE_MODULES} ) "
556
556
)
557
557
if [[ $( is_llvm_lto_enabled) == " TRUE" ]]; then
558
- if [[ $( cmake_needs_to_specify_standard_computed_defaults) == " TRUE" ]]; then
559
- llvm_cmake_options+=(
560
- " -DCMAKE_C_STANDARD_COMPUTED_DEFAULT=AppleClang"
561
- " -DCMAKE_CXX_STANDARD_COMPUTED_DEFAULT=AppleClang"
562
- )
563
- fi
564
-
565
558
llvm_cmake_options+=(
566
559
" -DLLVM_PARALLEL_LINK_JOBS=${LLVM_NUM_PARALLEL_LTO_LINK_JOBS} "
567
560
)
568
561
fi
569
562
570
563
if [[ $( is_swift_lto_enabled) == " TRUE" ]]; then
571
- if [[ $( cmake_needs_to_specify_standard_computed_defaults) = " TRUE" ]]; then
572
- swift_cmake_options+=(
573
- " -DCMAKE_C_STANDARD_COMPUTED_DEFAULT=AppleClang"
574
- " -DCMAKE_CXX_STANDARD_COMPUTED_DEFAULT=AppleClang"
575
- )
576
- fi
577
-
578
564
llvm_cmake_options+=(
579
565
-DLLVM_ENABLE_MODULE_DEBUGGING:BOOL=NO
580
566
)
@@ -896,14 +882,6 @@ function cmake_version() {
896
882
" ${CMAKE} " --version | grep " cmake version" | cut -f 3 -d " "
897
883
}
898
884
899
- function cmake_needs_to_specify_standard_computed_defaults() {
900
- if [[ $( cmake_version) = " 3.4.0" ]]; then
901
- echo " TRUE"
902
- else
903
- echo " FALSE"
904
- fi
905
- }
906
-
907
885
# Sanitize the list of cross-compilation targets.
908
886
#
909
887
# In the Build/Host/Target paradigm:
You can’t perform that action at this time.
0 commit comments