Skip to content

[3.11] build: enable aarch64 optimizations - #905

Merged
conda-forge-admin merged 2 commits into
conda-forge:3.11from
113xiaoji:codex/enable-aarch64-optimizations-311
Sep 1, 2026
Merged

[3.11] build: enable aarch64 optimizations#905
conda-forge-admin merged 2 commits into
conda-forge:3.11from
113xiaoji:codex/enable-aarch64-optimizations-311

Conversation

@113xiaoji

Copy link
Copy Markdown

Summary

Linux AArch64 builds now run natively, but the Python 3.11 branch still
inherits the historical emulated-CI override that disables its existing
LTO and PGO path.

Changes

  • Remove only the Linux AArch64 _OPTIMIZED=no override
  • Keep the cross-built PPC64LE override unchanged
  • Bump the unchanged-version recipe build number

Test Plan

  • Verified the candidate retains --with-lto, --enable-optimizations,
    profile-opt, and PROFILE_TASK="-m test --pgo"
  • Verified the branch diff contains only recipe/build_base.sh and
    recipe/meta.yaml
  • Use the native Linux AArch64 GitHub Actions job for build validation

Known Concern

Native AArch64 Python rebuilds have an open downstream cross-build
compatibility issue in #880. This draft does not alter that sysconfig/linker
behavior.

Part of #903

@conda-forge-admin

conda-forge-admin commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipe/meta.yaml:

  • ℹ️ The recipe is not parsable by parser conda-souschef (grayskull). This parser is not currently used by conda-forge, but may be in the future. We are collecting information to see which recipes are compatible with grayskull.
  • ℹ️ The recipe is not parsable by parser conda-recipe-manager. The recipe can only be automatically migrated to the new v1 format if it is parseable by conda-recipe-manager.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/32581098425. Examine the logs at this URL for more detail.

@113xiaoji
113xiaoji marked this pull request as ready for review August 21, 2026 17:35
@h-vetinarih-vetinari changed the title build: enable aarch64 optimizations[3.11] build: enable aarch64 optimizationsAug 21, 2026
@113xiaoji
113xiaojiforce-pushed the codex/enable-aarch64-optimizations-311 branch from 9ee801e to f6ad634CompareAugust 22, 2026 15:08
@113xiaoji113xiaoji reopened this Aug 22, 2026
@113xiaoji

Copy link
Copy Markdown
Author

@msarahan@xhochy@scopatz@pelson@ocefpaf@jakirkham@chrisburr@isuruf@mbargull@katietz

Could you please review this PR when possible? It is now rebased onto the latest 3.11 branch and the merge conflict has been resolved. The diff remains limited to removing the three-line Linux AArch64 optimization guard and bumping the build number. Thank you!

@isurufisuruf added the automerge Merge the PR when CI passes label Sep 1, 2026
@conda-forge-admin
conda-forge-admin merged commit 09dc3ba into conda-forge:3.11Sep 1, 2026
14 checks passed
@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

  • linter: passed
  • azure: passed
  • github-actions: passed

Thus the PR was passing and merged! Have a great day!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automergeMerge the PR when CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@113xiaoji@conda-forge-admin@isuruf