forked from dotnet/macios
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put a binary copy of mlaunch in macios-binaries instead of in Azure. F…
…ixes dotnet#3316. (dotnet#3800) * Put a binary copy of mlaunch in macios-binaries instead of in Azure. Fixes dotnet#3316. If the Xamarin build is enabled, then build mlaunch from source, otherwise get it from macios-binaries. Fixes dotnet#3316. * Bump macios-binaries. Commit list for xamarin/macios-binaries: * xamarin/macios-binaries@69a9088 Bump mlaunch to xamarin/maccore@4505cd6f02 (dotnet#8) Diff: xamarin/macios-binaries@e1e8bdf...69a9088
- Loading branch information
1 parent
371a1d5
commit e6c45c2
Showing
5 changed files
with
48 additions
and
39 deletions.
There are no files selected for viewing
Submodule macios-binaries
updated
27 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TOP=.. | ||
SUBDIRS=mmp mtouch install-source | ||
SUBDIRS=mmp mtouch install-source mlaunch | ||
include $(TOP)/Make.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
TOP=../.. | ||
|
||
include $(TOP)/Make.config | ||
|
||
COLOR_GREEN:=$(shell tput setaf 120 2>/dev/null) | ||
COLOR_CLEAR:=$(shell tput sgr0 2>/dev/null) | ||
|
||
ifdef ENABLE_XAMARIN | ||
all-local install-local:: | ||
$(MAKE) -C $(MACCORE_PATH)/tools/mlaunch $@ | ||
else | ||
all-local install-local:: | ||
$(Q) cp -R $(MACIOS_BINARIES_PATH)/mlaunch/bin/mlaunch $(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin | ||
$(Q) cp -R $(MACIOS_BINARIES_PATH)/mlaunch/lib/mlaunch $(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib | ||
endif | ||
|
||
ifdef ENABLE_XAMARIN | ||
publish: | ||
$(Q) mkdir -p $(MACIOS_BINARIES_PATH)/mlaunch/bin | ||
$(Q) mkdir -p $(MACIOS_BINARIES_PATH)/mlaunch/lib | ||
$(Q) cp -R $(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch $(MACIOS_BINARIES_PATH)/mlaunch/bin | ||
$(Q) cp -R $(IOS_DESTDIR)/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mlaunch $(MACIOS_BINARIES_PATH)/mlaunch/lib | ||
$(Q) cd $(MACIOS_BINARIES_PATH) && git add mlaunch && git commit -q -m "Bump mlaunch to xamarin/maccore@$(shell cd $(MACCORE_PATH) && git log -1 --pretty=%h)" && git log -1 --pretty=short | ||
$(Q) echo "$(COLOR_GREEN)A new version of mlaunch has been copied to $(MACIOS_BINARIES_PATH), and a commit created with the new version.$(COLOR_CLEAR)" | ||
$(Q) echo "$(COLOR_GREEN)Please create pull request in the macios-binaries repository for the new mlaunch version, and once merged, bump the submodule in xamarin-macios.$(COLOR_CLEAR)" | ||
else | ||
publish: | ||
@echo "Can't publish mlaunch binaries to the macios-binaries repository unless building mlaunch from source (by enabling the xamarin build)" | ||
@exit 1 | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
mlaunch | ||
------- | ||
|
||
mlaunch is a closed source tool used to interact with simulators and devices. | ||
|
||
We'll build this tool from souce if the xamarin build is enabled (configured | ||
with --enable-xamarin). | ||
|
||
Otherwise we'll get a binary version from the macios-binaries repository. This | ||
version may be somewhat out of date, but should work at least for running | ||
tests. | ||
|
||
To update the binary version of mlaunch in macios-binaries execute `make publish` | ||
in this directory (when the xamarin build is enabled, so that mlaunch | ||
is built from source). |