Skip to content

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

Merged
merged 4 commits into from
Nov 7, 2018

Conversation

@ashwinimurt ashwinimurt changed the title Update external build-deps tools paths Update external build-deps tools paths (MBE) Nov 6, 2018
@ashwinimurt ashwinimurt requested a review from joncham November 6, 2018 20:55
my $texinfoDir = "$externalBuildDeps/texinfo-$texinfoVersion";
my $automakeDir = "$externalBuildDeps/automake-$automakeVersion";
my $libtoolDir = "$externalBuildDeps/libtool-$libtoolVersion";
my $autoconfDir = "$externalBuildDeps/autoconf-2-69/autoconf-$autoconfVersion";
Copy link
Author

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");
}
Copy link
Author

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);
Copy link
Member

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?

Copy link
Author

@ashwinimurt ashwinimurt Nov 7, 2018

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!");
}

Copy link
Author

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);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@ashwinimurt ashwinimurt merged commit b96f9da into unity-master Nov 7, 2018
@ashwinimurt ashwinimurt deleted the support-rearranged-mono-build-deps branch November 7, 2018 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants