File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ function set_deployment_target_based_options() {
490
490
-DCMAKE_OSX_SYSROOT:PATH=" $( xcrun --sdk ${xcrun_sdk_name} --show-sdk-path) "
491
491
-DLLVM_HOST_TRIPLE:STRING=" ${llvm_host_triple} "
492
492
-DLLVM_ENABLE_LIBCXX:BOOL=TRUE
493
- -DLLVM_TOOL_COMPILER_RT_BUILD:BOOL=" $( false_true ${# CROSS_COMPILE_TOOLS_DEPLOYMENT_TARGETS[@] } ) "
493
+ -DLLVM_TOOL_COMPILER_RT_BUILD:BOOL=" $( false_true ${SKIP_COMPILER_RT } ) "
494
494
-DCOMPILER_RT_ENABLE_IOS:BOOL=" $( false_true ${SKIP_IOS} ) "
495
495
-DCOMPILER_RT_ENABLE_WATCHOS:BOOL=FALSE
496
496
-DCOMPILER_RT_ENABLE_TVOS:BOOL=FALSE
@@ -738,6 +738,11 @@ if [[ "${SKIP_BUILD_WATCHOS_SIMULATOR}" ]] ; then
738
738
SKIP_TEST_WATCHOS_SIMULATOR=1
739
739
fi
740
740
741
+ # FIXME: We currently do not support cross-compiling swift with compiler-rt.
742
+ if [[ " ${CROSS_COMPILE_TOOLS_DEPLOYMENT_TARGETS} " ]]; then
743
+ SKIP_COMPILER_RT=1
744
+ fi
745
+
741
746
# WORKSPACE, BUILD_DIR and INSTALLABLE_PACKAGE must be absolute paths
742
747
case " ${WORKSPACE} " in
743
748
/* ) ;;
@@ -1231,6 +1236,10 @@ case "${CMAKE_GENERATOR}" in
1231
1236
" ${COMMON_CMAKE_OPTIONS[@]} "
1232
1237
-DCMAKE_CONFIGURATION_TYPES=" Debug;Release;MinSizeRel;RelWithDebInfo"
1233
1238
)
1239
+
1240
+ # FIXME: We currently do not support building compiler-rt with the
1241
+ # Xcode generator.
1242
+ SKIP_COMPILER_RT=1
1234
1243
;;
1235
1244
esac
1236
1245
You can’t perform that action at this time.
0 commit comments