Skip to content

[3.11] build: enable aarch64 optimizations - #905

Open
113xiaoji wants to merge 2 commits into
conda-forge:3.11from
113xiaoji:codex/enable-aarch64-optimizations-311
Open

[3.11] build: enable aarch64 optimizations#905
113xiaoji wants to merge 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-vetinari h-vetinari changed the title build: enable aarch64 optimizations [3.11] build: enable aarch64 optimizations Aug 21, 2026
@113xiaoji 113xiaoji closed this Aug 22, 2026
@113xiaoji
113xiaoji force-pushed the codex/enable-aarch64-optimizations-311 branch from 9ee801e to f6ad634 Compare August 22, 2026 15:08
@113xiaoji 113xiaoji reopened this Aug 22, 2026
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.

2 participants