Skip to content

Commit f4a8a66

Browse files
authored
Merge pull request #1300 from Unity-Technologies/unity-master-32bit-osx-buildserver-only
only build 32bit osx on build server. Catalina doesn't support buildi…
2 parents 4e50876 + d92549d commit f4a8a66

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

external/buildscripts/build_all_osx.pl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@
5252
);
5353

5454
my $monoArch32Target = "i386";
55-
56-
print(">>> Building $monoArch32Target\n");
57-
system("perl", "$buildscriptsdir/build.pl", "--arch32=1", "--clean=1", "--classlibtests=0", @passAlongArgs) eq 0 or die ("failing building $monoArch32Target");
55+
if ($buildMachine)
56+
{
57+
print(">>> Building $monoArch32Target\n");
58+
system("perl", "$buildscriptsdir/build.pl", "--arch32=1", "--clean=1", "--classlibtests=0", @passAlongArgs) eq 0 or die ("failing building $monoArch32Target");
59+
}
5860

5961
if ($artifactsCommon)
6062
{
@@ -80,7 +82,7 @@
8082

8183
system("mkdir -p $embedDirDestination");
8284

83-
if (!(-d $embedDirSource32))
85+
if (!(-d $embedDirSource32) && $buildMachine)
8486
{
8587
die("Expected source directory not found : $embedDirSource32\n");
8688
}

0 commit comments

Comments
 (0)