Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,9 @@ jobs:
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
platforms: linux/arm64
build-args: WITH_AVX2=0
build-args: |
WITH_LG_PAGESIZE=1
WITH_AVX2=0
postfix: "-arm64v8"
tag: "arm64v8"
# Non AVX build
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/rust-cubestore-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ jobs:
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
platforms: linux/arm64
build-args: WITH_AVX2=0
build-args: |
WITH_LG_PAGESIZE=1
WITH_AVX2=0
postfix: "-arm64v8"
timeout-minutes: 60
steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/rust-cubestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ jobs:
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
platforms: linux/arm64
build-args: WITH_AVX2=0
build-args: |
WITH_LG_PAGESIZE=1
WITH_AVX2=0
timeout-minutes: 60
if: github.ref != 'refs/heads/master'
steps:
Expand Down
3 changes: 3 additions & 0 deletions rust/cubestore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,17 @@ COPY cubestore/cubestore/Cargo.toml cubestore/Cargo.toml
RUN mkdir -p cubestore/src/bin && \
echo "fn main() {print!(\"Dummy main\");} // dummy file" > cubestore/src/bin/cubestored.rs

ARG WITH_LG_PAGESIZE=0
ARG WITH_AVX2=1
RUN [ "$WITH_AVX2" -eq "1" ] && export RUSTFLAGS="-C target-feature=+avx2"; \
[ "$WITH_LG_PAGESIZE" -eq "1" ] && export JEMALLOC_SYS_WITH_LG_PAGE="16"; \
cargo build --release -p cubestore

# Cube Store get version from his own package
COPY cubestore/package.json package.json
COPY cubestore/cubestore cubestore
RUN [ "$WITH_AVX2" -eq "1" ] && export RUSTFLAGS="-C target-feature=+avx2"; \
[ "$WITH_LG_PAGESIZE" -eq "1" ] && export JEMALLOC_SYS_WITH_LG_PAGE="16"; \
cargo build --release -p cubestore

FROM debian:bookworm-slim
Expand Down
Loading