Skip to content

Commit

Permalink
fix(docker): build jemalloc with 64KB pagesize for linux/arm64 (#…
Browse files Browse the repository at this point in the history
…1916)

build jemalloc with 64kb pagesize for linux/arm64
  • Loading branch information
kariy authored May 3, 2024
1 parent e95f86f commit adf8496
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y gcc-aarch64-linux-gnu libssl-dev
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
# We build jemalloc with 64KB pagesize so that it works for all linux/arm64 pagesize variants
# See: https://github.com/jemalloc/jemalloc/issues/467
echo "JEMALLOC_SYS_WITH_LG_PAGE=16" >> $GITHUB_ENV
- name: Build binaries
run: cargo build --release --bins --target ${{ matrix.job.target }}
Expand Down

0 comments on commit adf8496

Please sign in to comment.