-
Notifications
You must be signed in to change notification settings - Fork 524
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
Add a bunch of Make targets to help rebuilding Mono runtime and BCL #1029
Conversation
rebuild-help: | ||
@echo Helper targets to rebuild the Mono runtime and BCL assemblies | ||
@echo | ||
@echo " rebuild-mono" |
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.
I'd call this rebuild-mono-runtime
to make it clear that it only builds the runtime.
@echo " of whether a cached copy was used." | ||
@echo | ||
$(foreach arch,$(ALL_JIT_ABIS),$(call MonoArchRebuildHelp,$(arch))) | ||
@echo " rebuild-bcl-assembly ASSEMBLY=bcl_assembly_name" |
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.
and this one maybe rebuild-mono-bcl-assembly
?
the ASSEMBLY=bcl_assembly_name
doesn't tell me whether I need to use System.Core or System.Core.dll, probably better to use a concrete example.
5e96e76
to
eae97b2
Compare
Documentation/DevelopmentTips.md
Outdated
# of whether a cached copy was used. | ||
rebuild-mono | ||
|
||
# Rebuild and install Mono runtime for the armeabi architecture only regardless |
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.
nit: indentation.
This says Rebuild **and install** Mono
while the above only says Rebuild, is that intentional i.e. does it just build and not install? Same in the rebuild-help target.
echo In order to build host Mono for $(OS) please enable it in Configuration.Override.props file and ; \ | ||
echo Run the following command: make rebuild-mono ; \ | ||
echo Unable to rebuild all BCL assemblies ; \ | ||
fi |
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.
should this exit 1
here?
This basically implements the steps described in Documentation/DevelopmentTips.md for the runtime and BCL assembles. Short help is available by running make rebuild-help
eae97b2
to
c17178a
Compare
Fixes: #7234 Changes: dotnet/java-interop@a5756ca...e31d9c6 * dotnet/java-interop@e31d9c62: Context: #7285 (comment) (#1029) * dotnet/java-interop@d3ea180c: [generator] Add support for `[ObsoletedOSPlatform]` (#1026) * dotnet/java-interop@6d1ae4ee: [generator] Remove [Obsolete] style compatibility hacks. (#1025) * dotnet/java-interop@440c05ee: [generator] Refactor logic for applying [Obsolete] attributes (#1024) * dotnet/java-interop@9b1d3ab7: [Localization] Import translated resx files (#1018) `generator` can now emit `[ObsoletedOSPlatformAttribute]`. Requires: - Update `Mono.Android.targets` to pass `lang-feature=obsoleted-platform-attributes` to `generator` when building for .NET 7+ - Update `acceptable-breakages-vReference-net7.0.txt` to account for removing existing `[Obsolete]` attributes in favor of the new ones, for .NET 7+ only
Fixes: #7234 Changes: dotnet/java-interop@a5756ca...e31d9c6 * dotnet/java-interop@e31d9c62: Context: #7285 (comment) (#1029) * dotnet/java-interop@d3ea180c: [generator] Add support for `[ObsoletedOSPlatform]` (#1026) * dotnet/java-interop@6d1ae4ee: [generator] Remove [Obsolete] style compatibility hacks. (#1025) * dotnet/java-interop@440c05ee: [generator] Refactor logic for applying [Obsolete] attributes (#1024) * dotnet/java-interop@9b1d3ab7: [Localization] Import translated resx files (#1018) `generator` can now emit `[ObsoletedOSPlatformAttribute]`. Requires: - Update `Mono.Android.targets` to pass `lang-feature=obsoleted-platform-attributes` to `generator` when building for .NET 7+ - Update `acceptable-breakages-vReference-net7.0.txt` to account for removing existing `[Obsolete]` attributes in favor of the new ones, for .NET 7+ only
This basically implements the steps described in
Documentation/DevelopmentTips.md for the runtime and BCL assembles. Short help
is available by running
make rebuild-help