Skip to content

Conversation

@grendello
Copy link
Contributor

DRY - do not repeat configure args across various runtimes.

@grendello grendello added the full-mono-integration-build For PRs; run a full build (~6-10h for mono bumps), not the faster PR subset (~2h for mono bumps) label Oct 4, 2017
@grendello grendello force-pushed the common-configure-flags branch 2 times, most recently from 407c925 to 906070d Compare October 5, 2017 18:28
<RanLib>$(AndroidMxeFullPath)\bin\$(MingwCommandPrefix64)-ranlib</RanLib>
<Strip>$(AndroidMxeFullPath)\bin\$(MingwCommandPrefix64)-strip</Strip>
<ConfigureFlags>PATH="$PATH:$(AndroidMxeFullPath)\bin" --host=$(MingwCommandPrefix64) --target=$(MingwCommandPrefix64) --disable-boehm --enable-mcs-build=no --enable-nls=no --enable-maintainer-mode --with-monodroid --disable-llvm ac_cv_header_zlib_h=no ac_cv_search_dlopen=no</ConfigureFlags>
<ConfigureFlags>PATH="$PATH:$(AndroidMxeFullPath)\bin" --host=$(MingwCommandPrefix64) --target=$(MingwCommandPrefix64) $(_CommonHostConfigureFlags) --disable-dynamic-btls --disable-mcs-build --disable-llvm ac_cv_header_zlib_h=no ac_cv_search_dlopen=no</ConfigureFlags>
Copy link
Member

Choose a reason for hiding this comment

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

You can remove --disable-dynamic-btls and --enable-dynamic-btls below since BTLS is always dynamic now.

If the intention here was to disable BTLS completely on host runtimes then you'd need to pass --disable-btls

@grendello grendello force-pushed the common-configure-flags branch from 906070d to 08f4dc6 Compare November 20, 2017 20:13
DRY - do not repeat configure args across various runtimes.
@grendello grendello force-pushed the common-configure-flags branch from 08f4dc6 to dd7aca6 Compare November 20, 2017 20:16
@jonpryor
Copy link
Contributor

I don't know why, but everything failed. Consider the Ubuntu+xbuild PR Build log:

Error: Unable to find assembly 'create-keyboards, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
...
error CS0006: Metadata file './../../class/lib/xbuild_12/../net_4_x/nunitlite.dll' could not be found
...
error : Command 'make -j2 test # host-Linux' exited with code: 2.

@grendello
Copy link
Contributor Author

I saw it locally, it disappeared as mysteriously as it appeared. Let's see if it builds now.

@grendello
Copy link
Contributor Author

build

@grendello
Copy link
Contributor Author

build

@jonpryor
Copy link
Contributor

jonpryor commented May 3, 2018

@grendello: is this PR still relevant/needed? We're now using Mono's "sdks" to build the runtime, so many of the changes in this PR are obsolete. The changes for host-mxe-Win64 might still work -- at least until mono-sdks subsume MXE -- but is it worth thinking about this PR anymore?

@jonpryor
Copy link
Contributor

This PR is obsolete because we're now using mono's "sdks" feature for mono builds.

@jonpryor jonpryor closed this Nov 28, 2018
@grendello grendello deleted the common-configure-flags branch February 13, 2019 09:05
jonpryor added a commit to jonpryor/xamarin-android that referenced this pull request Nov 16, 2021
Fixes: dotnet/java-interop#857

Changes: dotnet/java-interop@087684a...0293360

  * dotnet/java-interop@0293360a: [Xamarin.Android.Tools.Bytecode] NRT Support (dotnet#913)
  * dotnet/java-interop@e85564c1: [generator] Import NRT data from managed assemblies (dotnet#912)
  * dotnet/java-interop@c476cc39: [ci] Update to use VS2022 build agents (dotnet#914)
jonpryor added a commit that referenced this pull request Nov 17, 2021
Fixes: dotnet/java-interop#857

Changes: dotnet/java-interop@087684a...0293360

  * dotnet/java-interop@0293360a: [Xamarin.Android.Tools.Bytecode] NRT Support (#913)
  * dotnet/java-interop@e85564c1: [generator] Import NRT data from managed assemblies (#912)
  * dotnet/java-interop@c476cc39: [ci] Update to use VS2022 build agents (#914)
@github-actions github-actions bot locked and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

full-mono-integration-build For PRs; run a full build (~6-10h for mono bumps), not the faster PR subset (~2h for mono bumps)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants