Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snmalloc/0.7.0 package update #35468

Merged
merged 4 commits into from
Dec 18, 2024
Merged
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
19 changes: 11 additions & 8 deletions snmalloc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: snmalloc
version: "0.6.2"
epoch: 1
version: 0.7.0
epoch: 0
description: "snmalloc is a high-performance, message passing based allocator."
copyright:
- license: MIT
Expand All @@ -10,8 +10,9 @@ package:
- glibc

vars:
# https://github.com/microsoft/snmalloc/issues/669
llvm-vers: 18
# Using clang and llvm 17 which is compitable according to upstream: https://github.com/microsoft/snmalloc/blob/main/docs/BUILDING.md/#building-on-unix-like-platforms
# Using 18 causes error: https://github.com/wolfi-dev/os/pull/35468#issuecomment-2551419593
llvm-vers: 17
luhring marked this conversation as resolved.
Show resolved Hide resolved

environment:
contents:
Expand All @@ -22,6 +23,7 @@ environment:
- busybox
- ca-certificates-bundle
- clang-${{vars.llvm-vers}}
- clang-${{vars.llvm-vers}}-dev
- clang-${{vars.llvm-vers}}-extras
- cmake
- coreutils
Expand All @@ -31,10 +33,11 @@ environment:
- wolfi-base

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://github.com/microsoft/snmalloc/archive/refs/tags/${{package.version}}.tar.gz
expected-sha256: e0486ccf03eac5dd8acbb66ea8ad33bec289572a51614acdf7117397e4f1af8c
repository: https://github.com/microsoft/snmalloc.git
tag: ${{package.version}}
expected-commit: 564c88b07c53728ec90a88d7d34d0f74d3b0bfff

- uses: cmake/configure
with:
Expand All @@ -45,7 +48,7 @@ pipeline:
-DSNMALLOC_BUILD_TESTING=OFF \
-DSNMALLOC_LINK_ICF=ON \
-DSNMALLOC_IPO=ON \
-DSNMALLOC_STATIC_LIBRARY_PREFIX=
-DSNMALLOC_STATIC_LIBRARY_PREFIX= \

- uses: cmake/build

Expand Down
Loading