[ROCm] Fix compiler unwrapping step in jenkins build scripts for Caffe2/PyTorch on ROCm#25409
[ROCm] Fix compiler unwrapping step in jenkins build scripts for Caffe2/PyTorch on ROCm#25409iotamudelta wants to merge 11 commits intopytorch:masterfrom
Conversation
While there, also fix it for three digit releases with the hope that I do not need to touch it for some time.
|
@pytorchbot retest this please |
|
@pytorchbot rebase this please |
|
Sorry, I can't merge this because there are conflicts. To merge this yourself, run the commands below: (To learn more about this bot, see Bot commands.) |
|
Kinnae have a rebase |
The other shopt resides there as well
|
@pytorchbot rebase this please |
|
There's nothing to do! This branch is already up to date with master (1ea1d7f). (To learn more about this bot, see Bot commands.) |
|
|
@pytorchbot rebase this please |
|
Sorry, I can't merge this because there are conflicts. To merge this yourself, run the commands below: (To learn more about this bot, see Bot commands.) |
|
@pytorchbot retest this please |
|
@pytorchbot rebase this please |
|
Sorry, I can't merge this because there are conflicts. To merge this yourself, run the commands below: (To learn more about this bot, see Bot commands.) |
|
@pytorchbot retest this please |
|
@pytorchbot rebase this please |
|
Sorry, I can't merge this because there are conflicts. To merge this yourself, run the commands below: (To learn more about this bot, see Bot commands.) |
zou3519
left a comment
There was a problem hiding this comment.
Builds appear to be failing
|
yes, the failures seem real. they fall through to the ROCm line (?!) and since shopt extglob was not enabled, the syntax is unknown. @ezyang any ideas/suggestions here? |
|
Maybe shopt has to be placed in the actual source file itself, as it affects parsing? |
|
the ROCm tests which should be the only ones affected by the change pass though |
|
Oh, I bet it's something dumb like, we're running different versions of bash/sh in the CI jobs, and ROCm's is new enough to understand the syntax, but the other ones aren't. Are you sure you can't rewrite this test to do something else? |
extglob there, add and use a helper script
|
I've moved it into a helper script that enables |
Hardcode everything to bash
|
@zou3519 can you revisit? Thanks! |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@bddppq is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
…rch on ROCm (pytorch#25409) Summary: Fix the regex (requires enabling extglob) for two digit clang releases. While there, also fix it for three digit releases with the hope that I do not need to touch it for some time. Unfortunately, this regex requires extglob to be enabled in the shell. Pull Request resolved: pytorch#25409 Differential Revision: D17431786 Pulled By: bddppq fbshipit-source-id: a50b2ff525d9b6046deae9c8725c92d67119599a
Fix the regex (requires enabling extglob) for two digit clang releases.
While there, also fix it for three digit releases with the hope that I
do not need to touch it for some time.
Unfortunately, this regex requires extglob to be enabled in the shell.