Make jitoption a common option in superpmi.py#48921
Conversation
Also change from `--jitoption` to `-jitoption` per convention where options taking an arg have just one dash. Fixes dotnet#48919.
|
@BruceForstall PTAL I have to trigger the collection manually, right? |
|
My SPMI runs are seeing some sort of hiccup fetching published builds. @BruceForstall @kunalspathak does this ring any bells? |
Taking a look. |
yes. looks like you found that. Although I still see these in some failure logs:
I don't know about the "failure to fetch" errors you point to. Maybe you can try a collection locally with your fixes (if you haven't already). |
|
There are 2 failures. All the non-x64 jobs fail to download @agocke - If this a permanent change, I will fix it by adding the extra The other failure is in x64 jobs and happening because of what @BruceForstall pointed out. |
|
@kunalspathak feel free to add that change to this PR if you want (or point met at diffs for it). Both fixes will be needed to get clean runs. |
|
Pushed and trigged a run - https://dev.azure.com/dnceng/internal/_build/results?buildId=1017890&view=results |
BruceForstall
left a comment
There was a problem hiding this comment.
LGTM as a targeted fix.
However, I would still like you to address the comments over in #48738 (comment), namely:
- (nit) change
-jitoptionto--jitoption - support passing
-jitoptionto asm diffs
|
@BruceForstall over in #48738 (comment) you suggested a one dash |
|
For asm diffs, seems like maybe |
oops, I wasn't thinking clearly. Thanks for doing that change.
Depends what user model you think makes sense. You could use your newly added fwiw, I would go with the simple model ( |
|
Ok, let's land this first and I will follow up with some thing for asm diffs. |
|
It looks like after this change we have such warning: |
|
Ah, I realized this when reviewing, but thought it was handled. I verified on my local machine and I didn't see that warning. But see, if this helps? - if self.coreclr_args.jitoption:
- for o in self.coreclr_args.jitoption:
+ if hasattr(self.coreclr_args, "jitoption") and self.coreclr_args.jitoption:
+ for o in self.coreclr_args.jitoption: |
|
Looks like my repo was in a bad state, after reset/rebuild I don't see the warning, sorry for the false alarm. |
|
@AndyAyersMS , others: I wanted to use |
|
Are you suggesting to replace |
|
Yes, add |
Also change from
--jitoptionto-jitoptionper convention whereoptions taking an arg have just one dash.
Fixes #48919.