Skip to content

Conversation

@boomanaiden154
Copy link
Contributor

This patch refactors big chunks of the common functionality shared
between monolithic-linux.sh and monolithic-windows.sh to a separate
script, utils.sh, that is then sourced in both of the files. This makes
it a bit easier to maintain the scripts.

Platform differences should not be a large deal for the setup here as we
are using bash as the shell on both Linux and Windows.

Copy link
Collaborator

@DavidSpickett DavidSpickett left a comment

Choose a reason for hiding this comment

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

Agree with the changes overall but there are problems in the CI runs to deal with. Unless they are because this is part of a stack of PRs?

Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
Created using spr 1.3.6
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
@boomanaiden154
Copy link
Contributor Author

Agree with the changes overall but there are problems in the CI runs to deal with. Unless they are because this is part of a stack of PRs?

Fixed. I had the directory screwed up in the source line (relative to the script instead of CWD).

Copy link
Collaborator

@DavidSpickett DavidSpickett left a comment

Choose a reason for hiding this comment

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

LGTM.

Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
Created using spr 1.3.6
Created using spr 1.3.6
boomanaiden154 added a commit to boomanaiden154/llvm-project that referenced this pull request Aug 6, 2025
This patch refactors big chunks of the common functionality shared
between monolithic-linux.sh and monolithic-windows.sh to a separate
script, utils.sh, that is then sourced in both of the files. This makes
it a bit easier to maintain the scripts.

Platform differences should not be a large deal for the setup here as we
are using bash as the shell on both Linux and Windows.

Pull Request: llvm#152199
boomanaiden154 added a commit that referenced this pull request Aug 6, 2025
This patch adds the python-is-python3 package to the CI container.
Windows by default uses python instead of python3, which prevents
code sharing without additionaly hackery. This should fix that and
allow for #152199 to land.
@boomanaiden154 boomanaiden154 changed the base branch from users/boomanaiden154/main.ci-refactor-monolithic-scripts-to-use-common-utilssh to main August 6, 2025 22:00
@boomanaiden154 boomanaiden154 merged commit d54aa36 into main Aug 6, 2025
13 of 14 checks passed
@boomanaiden154 boomanaiden154 deleted the users/boomanaiden154/ci-refactor-monolithic-scripts-to-use-common-utilssh branch August 6, 2025 22:00
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Aug 6, 2025
This patch refactors big chunks of the common functionality shared
between monolithic-linux.sh and monolithic-windows.sh to a separate
script, utils.sh, that is then sourced in both of the files. This makes
it a bit easier to maintain the scripts.

Platform differences should not be a large deal for the setup here as we
are using bash as the shell on both Linux and Windows.

Reviewers:
lnihlen, gburgessiv, Keenuts, DavidSpickett, dschuff, cmtice, Endilll

Reviewed By: DavidSpickett, cmtice

Pull Request: llvm/llvm-project#152199
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants