Skip to content

Conversation

@kunalspathak
Copy link
Contributor

During local development, we now will have to use --produce_repro if we want superpmi.exe to produce *.mc files. This way, we will skip producing the *.mc files in CI.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 13, 2024
@kunalspathak
Copy link
Contributor Author

@dotnet/jit-contrib

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Comment on lines 1509 to 1510
if not coreclr_args.produce_repro:
pass
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't do anything. Do you want pass to be return? Or maybe don't do anything here since it won't find any .mc files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah yes....return.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, I think I will just remove this because it won't find any mc files. That's why it worked as expected locally when i was testing.

]
if self.coreclr_args.produce_repro:
flags += [
"-r", os.path.join(temp_location, "repro") # Repro name prefix, create .mc repro files
Copy link
Contributor

Choose a reason for hiding this comment

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

You need to remove the -r above, or you'll be adding it twice.

@BruceForstall
Copy link
Contributor

@kunalspathak This broke collections:

'CoreclrArguments' object has no attribute 'produce_repro'

e.g., SuperPMI collect libraries crossgen2 linux x64 checked

https://dev.azure.com/dnceng/internal/_build/results?buildId=2406194&view=results

@BruceForstall
Copy link
Contributor

Fixed here: #99867

@github-actions github-actions bot locked and limited conversation to collaborators Apr 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants