Skip to content

Commit

Permalink
Merge pull request #4904 from xamarin/mono-2018-10
Browse files Browse the repository at this point in the history
Bump to mono:2018-10
  • Loading branch information
rolfbjarne committed Mar 8, 2019
2 parents 244563e + 221f3e4 commit 99e727c
Show file tree
Hide file tree
Showing 105 changed files with 3,578 additions and 2,570 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Expand Up @@ -8,7 +8,7 @@
[submodule "external/mono"]
path = external/mono
url = ../../mono/mono.git
branch = 2018-08
branch = 2018-10
[submodule "external/opentk"]
path = external/opentk
url = ../../mono/opentk.git
Expand Down
6 changes: 3 additions & 3 deletions Make.config
Expand Up @@ -49,9 +49,9 @@ XCODE94_URL=http://xamarin-storage/bot-provisioning/xcodes/Xcode_9.4.xip
XCODE94_DEVELOPER_ROOT=/Applications/Xcode94.app/Contents/Developer

# Minimum Mono version for building XI/XM
MIN_MONO_VERSION=5.18.0.185
MAX_MONO_VERSION=5.18.99
MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-08/149/ea740d2bc8d58d9c0ee44ef0ba15ccddeafbe227/MonoFramework-MDK-5.18.0.185.macos10.xamarin.universal.pkg
MIN_MONO_VERSION=5.20.0.220
MAX_MONO_VERSION=5.20.99
MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-10/199/d390bb6901fd29051a065323ace54a8920f24f39/MonoFramework-MDK-5.20.0.220.macos10.xamarin.universal.pkg

# Minimum Mono version for Xamarin.Mac apps using the system mono
MIN_XM_MONO_VERSION=5.18.0.185
Expand Down
245 changes: 211 additions & 34 deletions builds/Makefile

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/create-shared-library.sh
Expand Up @@ -36,4 +36,4 @@ cd $TMPDIR
ar -x $STATIC_LIBRARY
cd ..

$CC $LINKER_FLAGS -dynamiclib -O2 -Wl,-application_extension -compatibility_version 2 -current_version 2.0 -framework CoreFoundation -lobjc -liconv -o $FRAMEWORK $TMPDIR/*.o
$CC $LINKER_FLAGS -dynamiclib -O2 -Wl,-application_extension -compatibility_version 2 -current_version 2.0 -framework CoreFoundation -lobjc -liconv -lz -o $FRAMEWORK $TMPDIR/*.o
2 changes: 1 addition & 1 deletion external/mono
Submodule mono updated 1427 files
1 change: 0 additions & 1 deletion runtime/.gitignore
@@ -1,5 +1,4 @@
.libs
zlib-helper.c
delegates.inc
Delegates.generated.cs
delegates.h
Expand Down
1 change: 0 additions & 1 deletion runtime/COOP.md
Expand Up @@ -49,7 +49,6 @@ Review
* trampolines-x86_64.m [DONE]
* trampolines.m [FIRST PASS DONE]
* xamarin-support.m [DONE]
* zlib-helper.c [NO MANAGED CODE AT ALL]

StaticRegistrar.cs [FIRST PASS DONE; SEE PENDING NOTE BELOW]

Expand Down
24 changes: 6 additions & 18 deletions runtime/Makefile
Expand Up @@ -311,18 +311,6 @@ $(eval $(call LibTemplate,tvos,TVOS))

SDK_BUILDDIR=$(MONO_PATH)/sdks/builds

ZLIB_HELPER_IOS_armv7 = $(SDK_BUILDDIR)/ios-target32-release/support/zlib-helper.o
ZLIB_HELPER_IOS_armv7s = $(SDK_BUILDDIR)/ios-target32s-release/support/zlib-helper.o
ZLIB_HELPER_IOS_arm64 = $(SDK_BUILDDIR)/ios-target64-release/support/zlib-helper.o
ZLIB_HELPER_IOS_x86 = $(SDK_BUILDDIR)/ios-sim32-release/support/zlib-helper.o
ZLIB_HELPER_IOS_x86_64 = $(SDK_BUILDDIR)/ios-sim64-release/support/zlib-helper.o

ZLIB_HELPER_WATCHOS_armv7k = $(SDK_BUILDDIR)/ios-targetwatch-release/support/zlib-helper.o
ZLIB_HELPER_WATCHOS_x86 = $(SDK_BUILDDIR)/ios-simwatch-release/support/zlib-helper.o

ZLIB_HELPER_TVOS_arm64 = $(SDK_BUILDDIR)/ios-targettv-release/support/zlib-helper.o
ZLIB_HELPER_TVOS_x86_64 = $(SDK_BUILDDIR)/ios-simtv-release/support/zlib-helper.o

#
# LibXamarinTemplate (and LibXamarinArchTemplate) builds libxamarin.a
#
Expand All @@ -339,12 +327,12 @@ define LibXamarinTemplate
$(1)$(3)_COMMON_DYLIB_FLAGS = -lmonosgen-2.0 -Wl,-install_name,libxamarin$(4).dylib -framework Foundation -framework CFNetwork -framework UIKit -lz
$(1)$(3)_COMMON_FRAMEWORK_FLAGS = -framework Mono -Wl,-install_name,@rpath/Xamarin$(4).framework/Xamarin$(4) -framework Foundation -framework CFNetwork -framework UIKit -lz

x86_$(1)$(3)_OBJECTS = $(ZLIB_HELPER_$(2)_x86) $$(patsubst %,.libs/$(1)/%$(4).x86.o,$$($(2)_SOURCE_STEMS)) $$(patsubst %,.libs/$(1)/%$(4).x86.o,$$($(2)_I386_SOURCE_STEMS))
x86_64_$(1)$(3)_OBJECTS = $(ZLIB_HELPER_$(2)_x86_64) $$(patsubst %,.libs/$(1)/%$(4).x86_64.o,$$($(2)_SOURCE_STEMS)) $$(patsubst %,.libs/$(1)/%$(4).x86_64.o,$$($(2)_X86_64_SOURCE_STEMS))
armv7_$(1)$(3)_OBJECTS = $(ZLIB_HELPER_$(2)_armv7) $$(patsubst %,.libs/$(1)/%$(4).armv7.o,$$($(2)_SOURCE_STEMS))
armv7s_$(1)$(3)_OBJECTS = $(ZLIB_HELPER_$(2)_armv7s) $$(patsubst %,.libs/$(1)/%$(4).armv7s.o,$$($(2)_SOURCE_STEMS))
armv7k_$(1)$(3)_OBJECTS = $(ZLIB_HELPER_$(2)_armv7k) $$(patsubst %,.libs/$(1)/%$(4).armv7k.o,$$($(2)_SOURCE_STEMS))
arm64_$(1)$(3)_OBJECTS = $(ZLIB_HELPER_$(2)_arm64) $$(patsubst %,.libs/$(1)/%$(4).arm64.o,$$($(2)_SOURCE_STEMS))
x86_$(1)$(3)_OBJECTS = $$(patsubst %,.libs/$(1)/%$(4).x86.o,$$($(2)_SOURCE_STEMS)) $$(patsubst %,.libs/$(1)/%$(4).x86.o,$$($(2)_I386_SOURCE_STEMS))
x86_64_$(1)$(3)_OBJECTS = $$(patsubst %,.libs/$(1)/%$(4).x86_64.o,$$($(2)_SOURCE_STEMS)) $$(patsubst %,.libs/$(1)/%$(4).x86_64.o,$$($(2)_X86_64_SOURCE_STEMS))
armv7_$(1)$(3)_OBJECTS = $$(patsubst %,.libs/$(1)/%$(4).armv7.o,$$($(2)_SOURCE_STEMS))
armv7s_$(1)$(3)_OBJECTS = $$(patsubst %,.libs/$(1)/%$(4).armv7s.o,$$($(2)_SOURCE_STEMS))
armv7k_$(1)$(3)_OBJECTS = $$(patsubst %,.libs/$(1)/%$(4).armv7k.o,$$($(2)_SOURCE_STEMS))
arm64_$(1)$(3)_OBJECTS = $$(patsubst %,.libs/$(1)/%$(4).arm64.o,$$($(2)_SOURCE_STEMS))

$$(foreach arch,$$($(2)_ARCHITECTURES),$$(eval $$(call LibXamarinArchTemplate,$(1),$(2),$(3),$(4),$$(arch))))

Expand Down
1 change: 0 additions & 1 deletion runtime/libmonotouch.csproj
Expand Up @@ -44,7 +44,6 @@
</PropertyGroup>
<ItemGroup>
<None Include="Makefile" />
<None Include="zlib-helper.c" />
<None Include="xamarin\main.h" />
<None Include="xamarin\mono-runtime.h" />
<None Include="xamarin\runtime.h" />
Expand Down
7 changes: 7 additions & 0 deletions tests/.gitignore
Expand Up @@ -18,6 +18,13 @@ build
*-unifiedXM45.sln
*-unified-32.sln
*-unifiedXM45-32.sln
*-mac.?sproj
*-mac-32.?sproj
*-macXM45.?sproj
*-macXM45-32.?sproj
*-macXM45.sln
*-mac-32.sln
*-macXM45-32.sln
*-today.?sproj
*-today-extension.?sproj
*-today.sln
Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile
Expand Up @@ -11,7 +11,7 @@ include $(TOP)/mk/rules.mk
MTOUCH=$(IOS_DESTDIR)/$(MONOTOUCH_PREFIX)/bin/mtouch
UNIT_SERVER_DIR=$(TOUCH_UNIT_PATH)/Touch.Server
UNIT_SERVER=$(UNIT_SERVER_DIR)/bin/Debug/Touch.Server.exe
TEST_SUITES=monotouch-test link\ sdk link\ all dont\ link framework-test mini
TEST_SUITES=monotouch-test link\ sdk link\ all dont\ link framework-test mini mono-native
BCL_TEST_SUITES=mscorlib \
System \
System.Core \
Expand Down

2 comments on commit 99e727c

@xamarin-release-manager
Copy link
Collaborator

Choose a reason for hiding this comment

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

Build was (probably) aborted

🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Test run' 🔥 : org.jenkinsci.plugins.workflow.steps.FlowInterruptedException

Build succeeded
✅ Packages: xamarin.ios-12.11.0.131.pkg xamarin.mac-5.11.0.131.pkg
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)

@mandel-macaque
Copy link
Member

Choose a reason for hiding this comment

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

Setting state to success where context is continuous-integration/jenkins/branch.

Build issues in the bots can be ignored.

Please sign in to comment.