Skip to content

Commit 6381a77

Browse files
committed
[android] disable Synchronization for android armv7 builds
1 parent 30dbf3a commit 6381a77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/build.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,8 @@ function Build-Runtime([Platform]$Platform, $Arch) {
15921592
SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED = "YES";
15931593
SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION = "YES";
15941594
SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING = "YES";
1595-
SWIFT_ENABLE_SYNCHRONIZATION = "YES";
1595+
# FIXME: re-enable after https://github.com/apple/swift/issues/74186 is fixed.
1596+
SWIFT_ENABLE_SYNCHRONIZATION = if (($Platform -eq "Android") -and ($Arch -eq $AndroidARMv7)) { "NO" } else { "YES" };
15961597
SWIFT_NATIVE_SWIFT_TOOLS_PATH = (Join-Path -Path $CompilersBinaryCache -ChildPath "bin");
15971598
SWIFT_PATH_TO_LIBDISPATCH_SOURCE = "$SourceCache\swift-corelibs-libdispatch";
15981599
SWIFT_PATH_TO_STRING_PROCESSING_SOURCE = "$SourceCache\swift-experimental-string-processing";

0 commit comments

Comments
 (0)