diff options
author | Ankit Jain <radical@gmail.com> | 2019-03-13 18:40:05 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-03-13 18:40:05 +0300 |
commit | 4cb9a914f02828ae03a8e94756976b9c41cc9517 (patch) | |
tree | bc47dab45d936ac36220496326d75e69d419d00a /packaging | |
parent | 90bdd5da71363388b36b8bd32110968f2401bef9 (diff) |
[msbuild] Update to track upstream vs16.0 branch (#13053)
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/MacSDK/fsharp.py | 3 | ||||
-rw-r--r-- | packaging/MacSDK/msbuild.py | 6 | ||||
-rw-r--r-- | packaging/MacSDK/patches/fsharp-msbuild-16-0.patch | 50 |
3 files changed, 55 insertions, 4 deletions
diff --git a/packaging/MacSDK/fsharp.py b/packaging/MacSDK/fsharp.py index bc85ba33654..64d84ba8856 100644 --- a/packaging/MacSDK/fsharp.py +++ b/packaging/MacSDK/fsharp.py @@ -13,7 +13,8 @@ class FsharpPackage(GitHubTarballPackage): 'patches/fsharp-path-overloads.patch', 'patches/fsharp-debug-pinvoke-fix.patch', 'patches/fsharp-IsPathRooted-type-inference.patch', - 'patches/fsharp-GetFileNameWithoutExtension-type-inference.patch']) + 'patches/fsharp-GetFileNameWithoutExtension-type-inference.patch', + 'patches/fsharp-msbuild-16-0.patch']) def prep(self): Package.prep(self) diff --git a/packaging/MacSDK/msbuild.py b/packaging/MacSDK/msbuild.py index 548e4b1e6be..91693599f59 100644 --- a/packaging/MacSDK/msbuild.py +++ b/packaging/MacSDK/msbuild.py @@ -3,11 +3,11 @@ import fileinput class MSBuild (GitHubPackage): def __init__ (self): GitHubPackage.__init__ (self, 'mono', 'msbuild', '15', # note: fix scripts/ci/run-test-mac-sdk.sh when bumping the version number - revision = '804bde742bdf9d65c7ceb672a3d5400c0c22e628') + revision = '883603959ff53aac1bb6c0d1155a45ff1a3e4d6e') def build (self): - self.sh ('./build.sh -hostType mono -configuration Release -skipTests') - self.sh ('zip msbuild-bin-logs.zip artifacts/Release-MONO/log/*') + self.sh ('./eng/cibuild_bootstrapped_msbuild.sh --host_type mono --configuration Release --skip_tests') + self.sh ('find artifacts -wholename \'*/log/*\' -type f -exec zip msbuild-bin-logs.zip {} \+') def install (self): # use the bootstrap msbuild as the system might not have one available! diff --git a/packaging/MacSDK/patches/fsharp-msbuild-16-0.patch b/packaging/MacSDK/patches/fsharp-msbuild-16-0.patch new file mode 100644 index 00000000000..e9a766683fa --- /dev/null +++ b/packaging/MacSDK/patches/fsharp-msbuild-16-0.patch @@ -0,0 +1,50 @@ +diff --git a/mono/config.make.in b/mono/config.make.in +index 3106ab99f..8af247ffd 100644 +--- a/mono/config.make.in ++++ b/mono/config.make.in +@@ -148,6 +148,7 @@ install-sdk-lib: + echo " --> $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v12.0/FSharp/"; \ + echo " --> $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v14.0/FSharp/"; \ + echo " --> $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v15.0/FSharp/"; \ ++ echo " --> $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v16.0/FSharp/"; \ + \ + mkdir -p $(tmpdir); \ + mkdir -p $(DESTDIR)$(monodir)/Microsoft\ F#/v4.0/; \ +@@ -160,6 +161,7 @@ install-sdk-lib: + mkdir -p $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \ + mkdir -p $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v14.0/FSharp/; \ + mkdir -p $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v15.0/FSharp/; \ ++ mkdir -p $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v16.0/FSharp/; \ + \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.Targets $(DESTDIR)$(monodir)/fsharp/; \ + $(INSTALL_LIB) $(outdir)Microsoft.Portable.FSharp.Targets $(DESTDIR)$(monodir)/fsharp/; \ +@@ -177,6 +179,7 @@ install-sdk-lib: + $(INSTALL_LIB) $(tmpdir)Microsoft.FSharp.Targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \ + $(INSTALL_LIB) $(tmpdir)Microsoft.FSharp.Targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v14.0/FSharp/; \ + $(INSTALL_LIB) $(tmpdir)Microsoft.FSharp.Targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v15.0/FSharp/; \ ++ $(INSTALL_LIB) $(tmpdir)Microsoft.FSharp.Targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v16.0/FSharp/; \ + \ + echo '<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">' > $(tmpdir)Microsoft.Portable.FSharp.Targets; \ + echo ' <Import Project="$(monodir)/fsharp/Microsoft.Portable.FSharp.Targets" />' >> $(tmpdir)Microsoft.Portable.FSharp.Targets; \ +@@ -191,18 +194,21 @@ install-sdk-lib: + $(INSTALL_LIB) $(tmpdir)Microsoft.Portable.FSharp.Targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \ + $(INSTALL_LIB) $(tmpdir)Microsoft.Portable.FSharp.Targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v14.0/FSharp/; \ + $(INSTALL_LIB) $(tmpdir)Microsoft.Portable.FSharp.Targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v15.0/FSharp/; \ ++ $(INSTALL_LIB) $(tmpdir)Microsoft.Portable.FSharp.Targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v16.0/FSharp/; \ + \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.props $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v/FSharp/; \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.props $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v11.0/FSharp/; \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.props $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.props $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v14.0/FSharp/; \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.props $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v15.0/FSharp/; \ ++ $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.props $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v16.0/FSharp/; \ + \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v/FSharp/; \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v11.0/FSharp/; \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v12.0/FSharp/; \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v14.0/FSharp/; \ + $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v15.0/FSharp/; \ ++ $(INSTALL_LIB) $(outdir)Microsoft.FSharp.NetSdk.targets $(DESTDIR)$(monodir)/xbuild/Microsoft/VisualStudio/v16.0/FSharp/; \ + fi + @if test x-$(outsuffix) = x-net40; then \ + if test -e $(outdir)$(NAME).dll; then \ |