-
Notifications
You must be signed in to change notification settings - Fork 564
[runtime] Use a set of properties to pass common configure flags #914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
407c925 to
906070d
Compare
| <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> |
There was a problem hiding this comment.
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
906070d to
08f4dc6
Compare
DRY - do not repeat configure args across various runtimes.
08f4dc6 to
dd7aca6
Compare
|
I don't know why, but everything failed. Consider the Ubuntu+xbuild PR Build log: |
|
I saw it locally, it disappeared as mysteriously as it appeared. Let's see if it builds now. |
|
build |
|
build |
|
@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 |
|
This PR is obsolete because we're now using mono's "sdks" feature for mono builds. |
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)
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)
DRY - do not repeat configure args across various runtimes.