-
Notifications
You must be signed in to change notification settings - Fork 520
Update external build-deps tools paths (MBE) #1066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
my $texinfoDir = "$externalBuildDeps/texinfo-$texinfoVersion"; | ||
my $automakeDir = "$externalBuildDeps/automake-$automakeVersion"; | ||
my $libtoolDir = "$externalBuildDeps/libtool-$libtoolVersion"; | ||
my $autoconfDir = "$externalBuildDeps/autoconf-2-69/autoconf-$autoconfVersion"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stevedore does not allow .
in the unpacked folder name. So use dashes instead.
{ | ||
print(">>> Checking out boo\n"); | ||
GitClone("git://github.com/Unity-Technologies/boo.git", $booCheckout, "unity-trunk"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed for Gitlab CI builds
if (!$ENV{UNITY_THISISABUILDMACHINE}) { | ||
GitClone("git://github.com/Unity-Technologies/boo.git", $booCheckout); | ||
} | ||
GitClone("git://github.com/Unity-Technologies/boo.git", $booCheckout); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we always want to do this now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't clone if booCheckout
already exists, like on Katana, its cloned in a build step before running the script.
sub GitClone
{
my $repo = shift;
my $localFolder = shift;
my $branch = shift;
$branch = defined($branch)?$branch:master;
if (-d $localFolder) {
return;
}
system("git clone --branch $branch $repo $localFolder") eq 0 or die("git clone $repo $localFolder failed!");
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its needed for OSX and bare minimum builds on Gitlab CI
if (!$ENV{UNITY_THISISABUILDMACHINE}) { | ||
GitClone("git://github.com/Unity-Technologies/unityscript.git", $usCheckout); | ||
} | ||
GitClone("git://github.com/Unity-Technologies/unityscript.git", $usCheckout); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
To support external repo mono-build-deps PR: https://ono.unity3d.com/unity-extra/mono-build-deps/pull-request/77510/_/scripting/move-zip-files-into-folders-hgmove
Katana:
https://katana.bf.unity3d.com/projects/Mono%20Runtime%20and%20Classlibs/builders?boo_branch=unity-trunk&cecil_branch=unity-master&krait-signal-handler_branch=master&mono_branch=support-rearranged-mono-build-deps&mono-build-tools-extra_branch=master&mono-build-deps_branch=scripting%2Fmove-zip-files-into-folders&unityscript_branch=unity-trunk