Skip to content
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

Merged
merged 1 commit into from
Nov 15, 2017

Conversation

grendello
Copy link
Contributor

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

rebuild-help:
@echo Helper targets to rebuild the Mono runtime and BCL assemblies
@echo
@echo " rebuild-mono"
Copy link
Member

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"
Copy link
Member

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.

@grendello grendello force-pushed the build-helpers branch 4 times, most recently from 5e96e76 to eae97b2 Compare November 15, 2017 15:12
# of whether a cached copy was used.
rebuild-mono

# Rebuild and install Mono runtime for the armeabi architecture only regardless
Copy link
Member

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
Copy link
Member

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
@grendello grendello merged commit 1e0803c into dotnet:master Nov 15, 2017
@grendello grendello deleted the build-helpers branch November 15, 2017 17:32
jonpryor pushed a commit that referenced this pull request Aug 24, 2022
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
jonathanpeppers pushed a commit that referenced this pull request Aug 24, 2022
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
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants