mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2024-12-27 02:05:22 +08:00
Use 16kb page size on Linux aarch64 (closes #289)
This commit is contained in:
parent
7663d96d28
commit
4f375a4883
1 changed files with 2 additions and 5 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -20,6 +20,7 @@ jobs:
|
|||
include:
|
||||
- target: aarch64-unknown-linux-gnu
|
||||
host_os: ubuntu-20.04
|
||||
env: "JEMALLOC_SYS_WITH_LG_PAGE=16"
|
||||
use_cross: true
|
||||
- target: armv7-unknown-linux-gnueabihf
|
||||
host_os: ubuntu-20.04
|
||||
|
@ -33,6 +34,7 @@ jobs:
|
|||
|
||||
- target: aarch64-unknown-linux-musl
|
||||
host_os: ubuntu-20.04
|
||||
env: "JEMALLOC_SYS_WITH_LG_PAGE=16"
|
||||
use_cross: true
|
||||
#- target: armv7-unknown-linux-musleabihf
|
||||
# host_os: ubuntu-20.04
|
||||
|
@ -84,11 +86,6 @@ jobs:
|
|||
sudo installer -allowUntrusted -dumplog -pkg FoundationDB-7.1.34_x86_64.pkg -target /
|
||||
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
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue