File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -487,7 +487,9 @@ jobs:
487487 - os : ubuntu-24.04-arm
488488 target : aarch64-unknown-linux-gnu
489489 platforms : linux/arm64
490- build-args : WITH_AVX2=0
490+ build-args : |
491+ WITH_LG_PAGESIZE=1
492+ WITH_AVX2=0
491493 postfix : " -arm64v8"
492494 tag : " arm64v8"
493495 # Non AVX build
Original file line number Diff line number Diff line change 7676 - os : ubuntu-24.04-arm
7777 target : aarch64-unknown-linux-gnu
7878 platforms : linux/arm64
79- build-args : WITH_AVX2=0
79+ build-args : |
80+ WITH_LG_PAGESIZE=1
81+ WITH_AVX2=0
8082 postfix : " -arm64v8"
8183 timeout-minutes : 60
8284 steps :
Original file line number Diff line number Diff line change 8080 - os : ubuntu-24.04-arm
8181 target : aarch64-unknown-linux-gnu
8282 platforms : linux/arm64
83- build-args : WITH_AVX2=0
83+ build-args : |
84+ WITH_LG_PAGESIZE=1
85+ WITH_AVX2=0
8486 timeout-minutes : 60
8587 if : github.ref != 'refs/heads/master'
8688 steps :
Original file line number Diff line number Diff line change @@ -18,14 +18,17 @@ COPY cubestore/cubestore/Cargo.toml cubestore/Cargo.toml
1818RUN mkdir -p cubestore/src/bin && \
1919 echo "fn main() {print!(\" Dummy main\" );} // dummy file" > cubestore/src/bin/cubestored.rs
2020
21+ ARG WITH_LG_PAGESIZE=0
2122ARG WITH_AVX2=1
2223RUN [ "$WITH_AVX2" -eq "1" ] && export RUSTFLAGS="-C target-feature=+avx2" ; \
24+ [ "$WITH_LG_PAGESIZE" -eq "1" ] && export JEMALLOC_SYS_WITH_LG_PAGE="16" ; \
2325 cargo build --release -p cubestore
2426
2527# Cube Store get version from his own package
2628COPY cubestore/package.json package.json
2729COPY cubestore/cubestore cubestore
2830RUN [ "$WITH_AVX2" -eq "1" ] && export RUSTFLAGS="-C target-feature=+avx2" ; \
31+ [ "$WITH_LG_PAGESIZE" -eq "1" ] && export JEMALLOC_SYS_WITH_LG_PAGE="16" ; \
2932 cargo build --release -p cubestore
3033
3134FROM debian:bookworm-slim
You can’t perform that action at this time.
0 commit comments