Skip to content

Commit

Permalink
Merge pull request #35468 from wolfi-dev/wolfictl-00b6bf1e-4106-4278-…
Browse files Browse the repository at this point in the history
…ab29-2f12c312616d

snmalloc/0.7.0 package update
  • Loading branch information
luhring authored Dec 18, 2024
2 parents 01f544d + 2271bbb commit 39cdc18
Showing 1 changed file with 11 additions and 8 deletions.
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

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

0 comments on commit 39cdc18

Please sign in to comment.