mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2024-09-20 07:16:18 +08:00
Use 16kb page size on Linux aarch64 (closes #289)
This commit is contained in:
parent
7663d96d28
commit
4f375a4883
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue