diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-06 12:39:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 12:39:49 -0400 |
commit | 0e4488e9dc2ef76e48f1bc621cd05000b8a73818 (patch) | |
tree | 0ed4e9d78725579c58ccf4b7695ab2f3878bd84b | |
parent | 8acd7722f09ff45ef51335751160e0a8dcc096dc (diff) | |
parent | d7d63eddbebc3ee3e3c7c94ef5a1c23918e68347 (diff) |
Merge pull request #1549 from tavianator/jemalloc-aarch64
Fix #1085 for real
-rw-r--r-- | .github/workflows/CICD.yml | 6 | ||||
-rw-r--r-- | Cross.toml | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 7abebfd..c07c41c 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -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 diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 0000000..3a14621 --- /dev/null +++ b/Cross.toml @@ -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"] |