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

Remove Crossgen2's -O option in Test Builds Wherever Possible #89223

Merged
merged 8 commits into from
Aug 1, 2023
Merged

Remove Crossgen2's -O option in Test Builds Wherever Possible #89223

merged 8 commits into from
Aug 1, 2023

Conversation

ivdiazsa
Copy link
Contributor

This PR fixes issue #56148. The -O option for Crossgen2 was required in the past for several reasons. However, nowadays it's causing issues in some tests that depend on their assembly's debug bit, which the -O option causes to be ignored.

@ivdiazsa ivdiazsa self-assigned this Jul 19, 2023
@ivdiazsa ivdiazsa added this to the 8.0.0 milestone Jul 19, 2023
@ivdiazsa ivdiazsa linked an issue Jul 19, 2023 that may be closed by this pull request
@ivdiazsa ivdiazsa marked this pull request as ready for review July 25, 2023 18:24
@ivdiazsa ivdiazsa requested a review from trylek July 25, 2023 18:24
@ivdiazsa
Copy link
Contributor Author

@trylek Hi Tomas! I removed all the -O calls to Crossgen I could find, but I'm not sure if I missed others or whether some of these must remain. PTAL and let me know your thoughts.

@ivdiazsa
Copy link
Contributor Author

/azp run runtime-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivdiazsa
Copy link
Contributor Author

/azp help

@azure-pipelines
Copy link

Supported commands
  • help:
    • Get descriptions, examples and documentation about supported commands
    • Example: help "command_name"
  • list:
    • List all pipelines for this repository using a comment.
    • Example: "list"
  • run:
    • Run all pipelines or specific pipelines for this repository using a comment. Use this command by itself to trigger all related pipelines, or specify specific pipelines to run.
    • Example: "run" or "run pipeline_name, pipeline_name, pipeline_name"
  • where:
    • Report back the Azure DevOps orgs that are related to this repository and org
    • Example: "where"

See additional documentation.

@dotnet dotnet deleted a comment from azure-pipelines bot Jul 25, 2023
@ivdiazsa
Copy link
Contributor Author

/azp list

@azure-pipelines
Copy link

CI/CD Pipelines for this repository:

@ivdiazsa
Copy link
Contributor Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

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

Looks great to me, thank you!

@ivdiazsa
Copy link
Contributor Author

Hmm seems like something broke in certain AOT configurations. Taking a look right now.

@ivdiazsa
Copy link
Contributor Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 89223 in repo dotnet/runtime

@ivdiazsa
Copy link
Contributor Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivdiazsa
Copy link
Contributor Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivdiazsa
Copy link
Contributor Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

actually a problem with the extra-platforms, or they're just trolling
at this point.
@ivdiazsa
Copy link
Contributor Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivdiazsa
Copy link
Contributor Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivdiazsa
Copy link
Contributor Author

Extra Platforms seems to be utterly broken for Mono, completely unrelated to my changes. Will try to run only the default innerloop and outerloop with all the changes and if those pass, then this PR is ready to merge.

extra-platforms pipelines are super broken right now.
@ivdiazsa
Copy link
Contributor Author

/azp run runtime-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivdiazsa
Copy link
Contributor Author

ivdiazsa commented Aug 1, 2023

R2R-CG2 failures are unrelated so merging this now.

@ivdiazsa ivdiazsa merged commit ac464d2 into dotnet:main Aug 1, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

R2R jobs should not pass -O to crossgen2
2 participants