From 93db4041e45e89ddd2d324859e159021114c0bb8 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Thu, 30 Aug 2018 17:29:56 -0400 Subject: [PATCH] [mono-sdks] Necessary changes to unify the LLVM provisioning for both iOS and Android. --- builds/Makefile | 14 +++++++------- configure | 2 +- external/mono | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/builds/Makefile b/builds/Makefile index ee03daca9e6b..988ee3674380 100644 --- a/builds/Makefile +++ b/builds/Makefile @@ -90,10 +90,10 @@ CCACHE_CXXFLAGS=-Qunused-arguments # Configuration for the mono sdk makefiles # SDK_CONFIG=$(MONO_PATH)/sdks/Make.config -SDK_ARGS=XCODE_DIR=$(XCODE_DEVELOPER_ROOT) IOS_VERSION=$(IOS_SDK_VERSION) IOS_VERSION_MIN=$(MIN_IOS_SDK_VERSION) TVOS_VERSION=$(TVOS_SDK_VERSION) TVOS_VERSION_MIN=$(MIN_TVOS_SDK_VERSION) WATCHOS_VERSION=$(WATCH_SDK_VERSION) WATCHOS_VERSION_MIN=$(MIN_WATCHOS_SDK_VERSION) +SDK_ARGS=XCODE_DIR=$(XCODE_DEVELOPER_ROOT) IOS_VERSION=$(IOS_SDK_VERSION) IOS_VERSION_MIN=$(MIN_IOS_SDK_VERSION) TVOS_VERSION=$(TVOS_SDK_VERSION) TVOS_VERSION_MIN=$(MIN_TVOS_SDK_VERSION) WATCHOS_VERSION=$(WATCH_SDK_VERSION) WATCHOS_VERSION_MIN=$(MIN_WATCHOS_SDK_VERSION) IGNORE_PROVISION_LLVM=1 -ifdef IGNORE_PACKAGE_LLVM -SDK_ARGS += IGNORE_PACKAGE_LLVM=1 +ifdef DISABLE_DOWNLOAD_LLVM +SDK_ARGS += DISABLE_DOWNLOAD_LLVM=1 endif SDK_BUILDDIR = $(MONO_PATH)/sdks/builds @@ -1498,11 +1498,11 @@ build-llvm32: .stamp-build-llvm build-llvm64: .stamp-build-llvm .stamp-build-llvm: $(SDK_CONFIG) - $(MAKE) -C $(SDK_BUILDDIR) build-ios-llvm $(SDK_ARGS) + $(MAKE) -C $(SDK_BUILDDIR) provision-llvm36-llvm32 provision-llvm-llvm64 $(SDK_ARGS) $(Q) touch $@ clean-llvm: $(SDK_CONFIG) - $(MAKE) -C $(SDK_BUILDDIR) clean-ios-llvm $(SDK_ARGS) + $(MAKE) -C $(SDK_BUILDDIR) clean-llvm36-llvm32 clean-llvm-llvm64 $(SDK_ARGS) $(RM) .stamp-*-llvm* .PHONY: install-llvm64 llvm llvm64 @@ -1515,10 +1515,10 @@ LLVM_TARGETS = \ $(PREFIX)/LLVM36/bin/opt \ $(PREFIX)/LLVM36/bin/llc -$(PREFIX)/LLVM/bin/%: $(SDK_DESTDIR)/ios-llvm64/bin/% | $(PREFIX)/LLVM/bin +$(PREFIX)/LLVM/bin/%: $(SDK_DESTDIR)/llvm-llvm64/bin/% | $(PREFIX)/LLVM/bin $(call Q_2,INSTALL ,[LLVM64]) install -c -m 0755 $(INSTALL_STRIP_FLAG) $^ $@ -$(PREFIX)/LLVM36/bin/%: $(SDK_DESTDIR)/ios-llvm36-32/bin/% | $(PREFIX)/LLVM36/bin +$(PREFIX)/LLVM36/bin/%: $(SDK_DESTDIR)/llvm36-llvm32/bin/% | $(PREFIX)/LLVM36/bin $(call Q_2,INSTALL ,[LLVM64]) install -c -m 0755 $(INSTALL_STRIP_FLAG) $^ $@ $(PREFIX)/LLVM/bin: diff --git a/configure b/configure index a5a53a72e602..611226256305 100755 --- a/configure +++ b/configure @@ -85,7 +85,7 @@ while test x$1 != x; do shift ;; --disable-packaged-llvm) - echo "IGNORE_PACKAGE_LLVM=1" >> $CONFIGURED_FILE + echo "DISABLE_DOWNLOAD_LLVM=1" >> $CONFIGURED_FILE shift ;; --help|-h) diff --git a/external/mono b/external/mono index f9c42ea71673..330eec3b4c97 160000 --- a/external/mono +++ b/external/mono @@ -1 +1 @@ -Subproject commit f9c42ea71673aabe0010be96274038cb7561dce2 +Subproject commit 330eec3b4c970e85536637686b5332d6b0863dc3