-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Run crossgen in parallel in crossgen_comparison.py #33175
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
Changes from all commits
e19d3cc
ceaf034
76b4c23
123e570
cb3f72c
62cd881
84742dc
71723c3
0752950
151c206
695138b
1d88239
7341c2f
c19887d
750e14b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -101,7 +101,6 @@ jobs: | |
| artifactName: '$(librariesBuildArtifactName)' | ||
| displayName: 'live-built libraries' | ||
|
|
||
|
|
||
| # Populate Core_Root | ||
| - script: $(coreClrRepoRootDir)build-test$(scriptExt) $(buildConfig) $(archType) $(crossArg) generatelayoutonly | ||
| displayName: Populate Core_Root | ||
|
|
@@ -123,6 +122,7 @@ jobs: | |
| inputs: | ||
| scriptSource: 'filePath' | ||
| scriptPath: $(coreClrRepoRoot)/tests/scripts/crossgen_comparison.py | ||
| pythonInterpreter: /usr/bin/python3 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to add
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should be one python3, seeing that python2 is eol. We have not exactly mandated it yet. |
||
| ${{ if ne(parameters.osGroup, 'Windows_NT') }}: | ||
| arguments: | ||
| crossgen_framework | ||
|
|
@@ -138,7 +138,6 @@ jobs: | |
| --core_root $(workItemDirectory) | ||
| --result_dir $(workItemDirectory)\log\$(crossFlavor) | ||
|
|
||
|
|
||
| # Dump contents and payload information | ||
| - ${{ if ne(parameters.osGroup, 'Windows_NT') }}: | ||
| - script: | | ||
|
|
@@ -150,7 +149,6 @@ jobs: | |
| dir $(workItemDirectory) | ||
| displayName: Dump contents and payload information | ||
|
|
||
|
|
||
| # Send payload to Helix where the native output is generated and compared to the baseline | ||
| - template: /eng/common/templates/steps/send-to-helix.yml | ||
| parameters: | ||
|
|
@@ -169,23 +167,23 @@ jobs: | |
| WorkItemCommand: | ||
| chmod +x $HELIX_WORKITEM_PAYLOAD/crossgen; | ||
| mkdir -p $HELIX_WORKITEM_PAYLOAD/log/$(targetFlavor); | ||
| python -u $HELIX_CORRELATION_PAYLOAD/crossgen_comparison.py crossgen_framework | ||
| python3 -u $HELIX_CORRELATION_PAYLOAD/crossgen_comparison.py crossgen_framework | ||
| --crossgen $HELIX_WORKITEM_PAYLOAD/crossgen | ||
| --il_corelib $HELIX_WORKITEM_PAYLOAD/IL/System.Private.CoreLib.dll | ||
| --core_root $HELIX_WORKITEM_PAYLOAD | ||
| --result_dir $HELIX_WORKITEM_PAYLOAD/log/$(targetFlavor); | ||
| python -u $HELIX_CORRELATION_PAYLOAD/crossgen_comparison.py compare | ||
| python3 -u $HELIX_CORRELATION_PAYLOAD/crossgen_comparison.py compare | ||
| --base_dir $HELIX_WORKITEM_PAYLOAD/log/$(crossFlavor) | ||
| --diff_dir $HELIX_WORKITEM_PAYLOAD/log/$(targetFlavor) | ||
| ${{ if eq(parameters.osName, 'Windows_NT') }}: | ||
| WorkItemCommand: | ||
| mkdir %HELIX_WORKITEM_PAYLOAD%\log\$(targetFlavor); | ||
| python -u %HELIX_CORRELATION_PAYLOAD%\crossgen_comparison.py crossgen_framework | ||
| python3 -u %HELIX_CORRELATION_PAYLOAD%\crossgen_comparison.py crossgen_framework | ||
| --crossgen %HELIX_WORKITEM_PAYLOAD%\crossgen | ||
| --il_corelib %HELIX_WORKITEM_PAYLOAD%\IL\System.Private.CoreLib.dll | ||
| --core_root %HELIX_WORKITEM_PAYLOAD% | ||
| --result_dir %HELIX_WORKITEM_PAYLOAD%\log\$(targetFlavor); | ||
| python -u %HELIX_CORRELATION_PAYLOAD%\crossgen_comparison.py compare | ||
| python3 -u %HELIX_CORRELATION_PAYLOAD%\crossgen_comparison.py compare | ||
| --base_dir %HELIX_WORKITEM_PAYLOAD%\log\$(crossFlavor) | ||
| --diff_dir %HELIX_WORKITEM_PAYLOAD%\log\$(targetFlavor) | ||
|
|
||
|
|
||
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.
Why did we need to upgrade the image here?
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.
The script needs python3.6+
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.
Its also generally not needed for us to target 14.04 anymore as 14.04 is eol