From a78a365c2842a70f5bb47fa91899432b682d965c Mon Sep 17 00:00:00 2001 From: Tom <53666156+tom-miller1@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:10:13 -0400 Subject: [PATCH] Fix PPC64 page size in binary builds. ## Summary Add maturin build flag to set 64kb page size on PPC64 and PPC64LE architectures. Not aware of modern systems that use 4kb pages. Resolves #6528 # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Author: Tom <53666156+tom-miller1@users.noreply.github.com> # Date: Wed Sep 11 11:10:13 2024 -0400 # # On branch main # Your branch and 'origin/main' have diverged, # and have 1 and 2 different commits each, respectively. # (use "git pull" to merge the remote branch into yours) # # Changes to be committed: # modified: build-binaries.yml # --- .github/workflows/build-binaries.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 56ce96161933..7f0787cbc76e 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -431,8 +431,12 @@ jobs: platform: - target: powerpc64le-unknown-linux-gnu arch: ppc64le + # see https://github.com/astral-sh/uv/issues/6528 + maturin_docker_options: -e JEMALLOC_SYS_WITH_LG_PAGE=16 - target: powerpc64-unknown-linux-gnu arch: ppc64 + # see https://github.com/astral-sh/uv/issues/6528 + maturin_docker_options: -e JEMALLOC_SYS_WITH_LG_PAGE=16 steps: - uses: actions/checkout@v4 @@ -576,6 +580,8 @@ jobs: arch: armv7 - target: powerpc64le-unknown-linux-musl arch: ppc64le + # see https://github.com/astral-sh/uv/issues/6528 + maturin_docker_options: -e JEMALLOC_SYS_WITH_LG_PAGE=16 toolchain: nightly fail-fast: false