8000 gh-135755: rename undocumented `HACL_CAN_COMPILE_SIMD{128,256}` macros by picnixz · Pull Request #135847 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-135755: rename 8000 undocumented HACL_CAN_COMPILE_SIMD{128,256} macros #135847

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

Merged

Conversation

picnixz
Copy link
Member
@picnixz picnixz commented Jun 23, 2025

@encukou Should this actually be backported? also could you have a look at the renames yourself because I may have misrenamed them (and it's hard to spot typos in one's own code in general), TiA!

@picnixz
Copy link
Member Author
picnixz commented Jun 23, 2025

!buildbot FIPS only

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @picnixz for commit bc635b0 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135847%2Fmerge

The command will test the builders whose names match following regular expression: FIPS only

The builders matched are:

  • AMD64 RHEL8 FIPS Only Blake2 Builtin Hash PR
  • AMD64 CentOS9 FIPS Only Blake2 Builtin Hash PR

Copy link
Member
@encukou encukou left a comment

Choose a reason for hiding this comment

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

I think they should be backported.
Betas can still have even “significant changes to new features”; renaming macros should be fine.

@picnixz picnixz added the needs backport to 3.14 bugs and security fixes label Jun 24, 2025
Copy link
Member
@encukou encukou left a comment

Choose a reason for hiding this comment

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

OK; that sounds reasonable.

@picnixz
Copy link
Member Author
picnixz commented Jun 24, 2025

I will actually run the full build bots fleet just to be sure that we won't cause configure & build failures. There will be failures on some build bots (those without BLAKE-2 will fail because of some tests that expect blake2 to exist but that's been failing for the past year).

@picnixz picnixz added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jun 24, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @picnixz for commit bc635b0 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135847%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jun 24, 2025
@picnixz
Member Author
picnixz commented Jun 24, 2025

@zanieb Can you check if this PR breaks something on your side? I don't have access to macOS builds and I think you have different configurations that have once caught issues that I didn't know about. TiA

@zanieb
Copy link
Contributor
zanieb commented Jun 26, 2025

Taking a look, trying to add 3.15 compatibility to python-build-standalone briefly so I can test without backporting.

@zanieb
Copy link
Contributor
zanieb commented Jun 26, 2025

This seemed to work without issue, though I can only run it locally not across our whole matrix.

@picnixz picnixz merged commit 1e975ae into python:main Jun 27, 2025
8000 39 checks passed
@picnixz picnixz deleted the fix/configure/hacl-can-compile-macros-135755 branch June 27, 2025 15:12
@miss-islington-app
Copy link

Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @picnixz, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 1e975aee28924afbd956183918cef278e09ce8f3 3.14

@picnixz
Copy link
Member Author
picnixz commented Jun 27, 2025

Today, I should be called a conflict solver.

picnixz added a commit to picnixz/cpython that referenced this pull request Jun 27, 2025
…8,256}` macros (pythonGH-135847)

Rename undocumented `HACL_CAN_COMPILE_SIMD{128,256}` macros
to `_Py_HACL_CAN_COMPILE_VEC{128,256}`. These macros are private.
(cherry picked from commit 1e975ae)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@bedevere-app
Copy link
bedevere-app bot commented Jun 27, 2025

GH-136045 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0