Skip to content

Commit 4903f41

Browse files
authored
ci: enable mimalloc for linux amd64 (openobserve#854)
1 parent 4824508 commit 4903f41

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
include:
1414
- arch: x86_64-unknown-linux-gnu
1515
os: ubuntu-2004-8-cores
16-
features: ""
16+
features: "--features mimalloc"
1717
file_name: openobserve-${{ github.ref_name }}-linux-amd64
1818
file_ext: .tar.gz
1919
- arch: x86_64-unknown-linux-musl

deploy/build/Dockerfile.tag-simd.amd64

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COPY . /app
2020
COPY --from=webBuilder /web/dist web/dist
2121

2222
# RUN cargo build --release
23-
RUN RUSTFLAGS='-C target-feature=+aes,+avx,+avx2,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+avx512f,+avx512cd,+avx512er,+avx512bw,+avx512dq,+avx512vl' cargo build --release --target x86_64-unknown-linux-gnu
23+
RUN RUSTFLAGS='-C target-feature=+aes,+avx,+avx2,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+avx512f,+avx512cd,+avx512er,+avx512bw,+avx512dq,+avx512vl' cargo build --release --features mimalloc --target x86_64-unknown-linux-gnu
2424
RUN mv /app/target/x86_64-unknown-linux-gnu/release/openobserve /app/target/release/openobserve
2525

2626
FROM gcr.io/distroless/cc as runtime

deploy/build/Dockerfile.tag.amd64

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COPY . /app
2020
COPY --from=webBuilder /web/dist web/dist
2121

2222
# RUN cargo build --release
23-
RUN RUSTFLAGS='-C target-feature=+sse2,+sse3,+ssse3,+sse4.1,+sse4.2' cargo build --release --target x86_64-unknown-linux-gnu
23+
RUN RUSTFLAGS='-C target-feature=+sse2,+sse3,+ssse3,+sse4.1,+sse4.2' cargo build --release --features mimalloc --target x86_64-unknown-linux-gnu
2424
RUN mv /app/target/x86_64-unknown-linux-gnu/release/openobserve /app/target/release/openobserve
2525

2626
FROM gcr.io/distroless/cc as runtime

0 commit comments

Comments
 (0)