File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -483,12 +483,14 @@ function set_deployment_target_based_options() {
483
483
;;
484
484
esac
485
485
486
+ echo " num deployment targets = ${# CROSS_COMPILE_TOOLS_DEPLOYMENT_TARGETS[@]} "
487
+
486
488
llvm_cmake_options=(
487
489
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=" ${cmake_osx_deployment_target} "
488
490
-DCMAKE_OSX_SYSROOT:PATH=" $( xcrun --sdk ${xcrun_sdk_name} --show-sdk-path) "
489
491
-DLLVM_HOST_TRIPLE:STRING=" ${llvm_host_triple} "
490
492
-DLLVM_ENABLE_LIBCXX:BOOL=TRUE
491
- -DLLVM_BUILD_EXTERNAL_COMPILER_RT :BOOL=" $( true_false ${# CROSS_COMPILE_TOOLS_DEPLOYMENT_TARGETS[@]} ) "
493
+ -DLLVM_TOOL_COMPILER_RT_BUILD :BOOL=" $( false_true ${# CROSS_COMPILE_TOOLS_DEPLOYMENT_TARGETS[@]} ) "
492
494
-DCOMPILER_RT_ENABLE_IOS:BOOL=" $( false_true ${SKIP_IOS} ) "
493
495
-DCOMPILER_RT_ENABLE_WATCHOS:BOOL=FALSE
494
496
-DCOMPILER_RT_ENABLE_TVOS:BOOL=FALSE
@@ -810,7 +812,11 @@ function true_false() {
810
812
}
811
813
812
814
function false_true() {
813
- true_false $( not " $1 " )
815
+ if [[ $( true_false " $1 " ) = " TRUE" ]]; then
816
+ echo " FALSE"
817
+ else
818
+ echo " TRUE"
819
+ fi
814
820
}
815
821
816
822
function cmake_version() {
You can’t perform that action at this time.
0 commit comments