mirror of
https://github.com/sharkdp/fd
synced 2024-09-28 20:13:34 +00:00
Fix #1085 for real
cross doesn't pass all environment variables through into the build container, so JEMALLOC_SYS_WITH_LG_PAGE=16 wasn't being picked up from the host. Instead, set it explicitly in Cross.toml. Link: https://github.com/cross-rs/cross/wiki/Configuration
This commit is contained in:
parent
8acd7722f0
commit
d7d63eddbe
6
.github/workflows/CICD.yml
vendored
6
.github/workflows/CICD.yml
vendored
|
@ -134,11 +134,7 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
case ${{ matrix.job.target }} in
|
||||
aarch64-*) export JEMALLOC_SYS_WITH_LG_PAGE=16 ;;
|
||||
esac;
|
||||
$BUILD_CMD build --locked --release --target=${{ matrix.job.target }}
|
||||
run: $BUILD_CMD build --locked --release --target=${{ matrix.job.target }}
|
||||
|
||||
- name: Set binary name & path
|
||||
id: bin
|
||||
|
|
6
Cross.toml
Normal file
6
Cross.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
# https://github.com/sharkdp/fd/issues/1085
|
||||
[target.aarch64-unknown-linux-gnu.env]
|
||||
passthrough = ["JEMALLOC_SYS_WITH_LG_PAGE=16"]
|
||||
|
||||
[target.aarch64-unknown-linux-musl.env]
|
||||
passthrough = ["JEMALLOC_SYS_WITH_LG_PAGE=16"]
|
Loading…
Reference in a new issue