Skip to content
Draft
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
5 changes: 5 additions & 0 deletions .github/actions/helper-mimalloc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ runs:
mkdir mimalloc
tar -xf mimalloc.tar.gz --strip 1 -C mimalloc

# https://github.com/ldc-developers/ldc/pull/4853#discussion_r2869484071
if [[ '${{ runner.os }}' == macOS ]]; then
sed -i '' 's|__attribute__((constructor(101)))|__attribute__((constructor(0)))|' mimalloc/src/prim/osx/alloc-override-zone.c
fi

mkdir build-mimalloc
cd build-mimalloc
cmake -G Ninja ../mimalloc ${{ inputs.cmake_flags }}
Expand Down
2 changes: 1 addition & 1 deletion packaging/mimalloc_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.8.7
v1.9.7