Skip to content

Commit

Permalink
build: use clang & set MI_LIBC_MUSL
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed Jan 10, 2025
1 parent 0279e50 commit baaaeb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ apk upgrade --no-cache
apk add --no-cache \
alpine-sdk \
cargo \
clang \
cmake \
curl \
mold \
Expand All @@ -27,9 +28,11 @@ patch -p1 < /tmp/mimalloc.diff
cmake \
-Bout \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_INSTALL_PREFIX=/usr \
-DMI_BUILD_OBJECT=OFF \
-DMI_BUILD_TESTS=OFF \
-DMI_LIBC_MUSL=ON \
-DMI_SKIP_COLLECT_ON_EXIT=ON \
-G Ninja \
.
Expand Down

0 comments on commit baaaeb4

Please sign in to comment.