Use 16kb page size on Linux aarch64 (closes #289)

This commit is contained in:
mdecimus 2024-04-18 17:15:15 +02:00
parent 7663d96d28
commit 4f375a4883

View file

@ -20,6 +20,7 @@ jobs:
include: include:
- target: aarch64-unknown-linux-gnu - target: aarch64-unknown-linux-gnu
host_os: ubuntu-20.04 host_os: ubuntu-20.04
env: "JEMALLOC_SYS_WITH_LG_PAGE=16"
use_cross: true use_cross: true
- target: armv7-unknown-linux-gnueabihf - target: armv7-unknown-linux-gnueabihf
host_os: ubuntu-20.04 host_os: ubuntu-20.04
@ -33,6 +34,7 @@ jobs:
- target: aarch64-unknown-linux-musl - target: aarch64-unknown-linux-musl
host_os: ubuntu-20.04 host_os: ubuntu-20.04
env: "JEMALLOC_SYS_WITH_LG_PAGE=16"
use_cross: true use_cross: true
#- target: armv7-unknown-linux-musleabihf #- target: armv7-unknown-linux-musleabihf
# host_os: ubuntu-20.04 # host_os: ubuntu-20.04
@ -84,11 +86,6 @@ jobs:
sudo installer -allowUntrusted -dumplog -pkg FoundationDB-7.1.34_x86_64.pkg -target / sudo installer -allowUntrusted -dumplog -pkg FoundationDB-7.1.34_x86_64.pkg -target /
echo "USE_FOUNDATIONDB=1" >> "$GITHUB_ENV" echo "USE_FOUNDATIONDB=1" >> "$GITHUB_ENV"
- name: Update JEMALLOC_SYS_WITH_LG_PAGE (aarch64-*-linux-*)
if: startsWith(matrix.host_os, 'ubuntu') && startsWith(matrix.target, 'aarch64')
run: |
echo "JEMALLOC_SYS_WITH_LG_PAGE=16" >> "$GITHUB_ENV"
- name: Rust Cache - name: Rust Cache
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2
with: with: