Skip to content

CI: add GCC 13 - #20961

Closed
thesamesam wants to merge 1 commit into
openssl:masterfrom
thesamesam:ci-gcc-13
Closed

thesamesam wants to merge 1 commit into
openssl:masterfrom
thesamesam:ci-gcc-13

Conversation

@thesamesam

Copy link
Copy Markdown
Contributor

Add GCC 13 to CI (released a week or so ago). This extends the LLVM PPA logic for GCC where needed (only when specified) as it's not yet available in any of the base images.

We do need to take a look at splitting up these jobs / changing how often they run but I've not got the energy to do that just this moment.

Signed-off-by: Sam James <[email protected]>
@tom-cosgrove-arm tom-cosgrove-arm added branch: master Applies to master branch approval: otc review pending tests: exempted The PR is exempt from requirements for testing labels May 14, 2023
@tom-cosgrove-arm

Copy link
Copy Markdown
Contributor

Is this wanted on branches other than master?

@thesamesam

Copy link
Copy Markdown
Contributor Author

in the past, we did all branches except for 1.1.1x: #19500 (review).

In this case, no code changes are needed, but it sounds like even if there were, we wouldn't be merging them unless it's critical, so I guess >= 3.0.x.

@paulidale

Copy link
Copy Markdown
Contributor

Note that the stable releases policy says:

New tests and test cases are allowed only as part of a bug fix.

It's not clear if this is a new test or not, at least to me.

@paulidale paulidale added approval: done This pull request has the required number of approvals tests: present The PR has suitable tests present and removed approval: otc review pending tests: exempted The PR is exempt from requirements for testing labels May 15, 2023
@t8m

t8m commented May 15, 2023

Copy link
Copy Markdown
Member

It is unclear to me if this would provide any major benefit for the 3.1 and 3.0 branches. Changes there should be done on master branch as well and PRs are usually submitted against the master branch so any regressions on gcc-13 would be detected there. But I am not against cherry-picking it there either.

@openssl-machine

Copy link
Copy Markdown
Collaborator

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually.

@thesamesam

thesamesam commented May 16, 2023 •

Copy link
Copy Markdown
Contributor Author

It is unclear to me if this would provide any major benefit for the 3.1 and 3.0 branches. Changes there should be done on master branch as well and PRs are usually submitted against the master branch so any regressions on gcc-13 would be detected there. But I am not against cherry-picking it there either.

I've seen backports go wrong in various projects, but I don't feel that strongly about this here.

Last two cents on the subject:

  1. These compilers will be used by distributions and users building stuff on those branches, so to me, it seems like the question should mostly be "why not?" The only reason I can think of is CI hours, which is a fair criticism.
  2. Someone clearly state the rule this time so I don't forget it in 6 months when I do another one of these PRs 😉 (could OTC just come up with a rule here maybe?)

Thanks all.

@paulidale

Copy link
Copy Markdown
Contributor

On the second point, I've raised an item for OTC to discuss this and produce some guidelines or update our stable releases policy: ⌗68.

@tom-cosgrove-arm

Copy link
Copy Markdown
Contributor

Are we happy for this to be merged, or are we waiting for the outcome of openssl/technical-policies#68?

@thesamesam

Copy link
Copy Markdown
Contributor Author

I think we can merge this now, as there's various other stuff I'd do if the policy was to backport CI improvements anyway (i.e it wouldn't be just cherry picking this ideally).

@tom-cosgrove-arm tom-cosgrove-arm added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Jun 30, 2023
@paulidale

Copy link
Copy Markdown
Contributor

Merged, thanks for the contribution.

@paulidale paulidale closed this Jun 30, 2023
openssl-machine pushed a commit that referenced this pull request Jun 30, 2023
Signed-off-by: Sam James <[email protected]>

Reviewed-by: Tom Cosgrove <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from #20961)
@thesamesam
thesamesam deleted the ci-gcc-13 branch June 30, 2023 14:58
bernd-edlinger pushed a commit to bernd-edlinger/openssl that referenced this pull request Aug 31, 2023
Signed-off-by: Sam James <[email protected]>

Reviewed-by: Tom Cosgrove <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from openssl#20961)

(cherry picked from commit 5d16169)
bernd-edlinger pushed a commit to bernd-edlinger/openssl that referenced this pull request Sep 12, 2023
Signed-off-by: Sam James <[email protected]>

Reviewed-by: Tom Cosgrove <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from openssl#20961)

(cherry picked from commit 5d16169)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Applies to master branch tests: present The PR has suitable tests present

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants