forked from microsoft/mimalloc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
386 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,3 @@ | |
*.dll binary | ||
*.lib binary | ||
*.exe binary | ||
bin export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ ide/vs20??/VTune* | |
out/ | ||
docs/ | ||
*.zip | ||
*.tar | ||
*.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# install from an image | ||
# download first an appropiate tar.gz image into the current directory | ||
# from: <https://github.com/alpinelinux/docker-alpine/tree/edge/armv7> | ||
FROM scratch | ||
|
||
# Substitute the image name that was downloaded | ||
ADD alpine-minirootfs-20240329-armv7.tar.gz / | ||
|
||
# Install tools | ||
RUN apk add build-base make cmake | ||
RUN apk add git | ||
RUN apk add vim | ||
|
||
RUN mkdir -p /home/dev | ||
WORKDIR /home/dev | ||
|
||
# Get mimalloc | ||
RUN git clone https://github.com/microsoft/mimalloc -b dev-slice | ||
RUN mkdir -p mimalloc/out/release | ||
RUN mkdir -p mimalloc/out/debug | ||
|
||
# Build mimalloc debug | ||
WORKDIR /home/dev/mimalloc/out/debug | ||
RUN cmake ../.. -DMI_DEBUG_FULL=ON | ||
RUN make -j | ||
RUN make test | ||
|
||
CMD ["/bin/sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# alpine image | ||
FROM alpine | ||
|
||
# Install tools | ||
RUN apk add build-base make cmake | ||
RUN apk add git | ||
RUN apk add vim | ||
|
||
RUN mkdir -p /home/dev | ||
WORKDIR /home/dev | ||
|
||
# Get mimalloc | ||
RUN git clone https://github.com/microsoft/mimalloc -b dev-slice | ||
RUN mkdir -p mimalloc/out/release | ||
RUN mkdir -p mimalloc/out/debug | ||
|
||
# Build mimalloc debug | ||
WORKDIR /home/dev/mimalloc/out/debug | ||
RUN cmake ../.. -DMI_DEBUG_FULL=ON | ||
RUN make -j | ||
RUN make test | ||
|
||
CMD ["/bin/sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM quay.io/pypa/manylinux2014_x86_64 | ||
|
||
# Install tools | ||
RUN yum install -y openssl-devel | ||
RUN yum install -y gcc gcc-c++ kernel-devel make | ||
RUN yum install -y git cmake | ||
RUN yum install -y vim | ||
|
||
RUN mkdir -p /home/dev | ||
WORKDIR /home/dev | ||
|
||
# Get mimalloc | ||
RUN git clone https://github.com/microsoft/mimalloc -b dev-slice | ||
RUN mkdir -p mimalloc/out/release | ||
RUN mkdir -p mimalloc/out/debug | ||
|
||
# Build mimalloc debug | ||
WORKDIR /home/dev/mimalloc/out/debug | ||
RUN cmake ../.. -DMI_DEBUG_FULL=ON | ||
RUN make -j | ||
RUN make test | ||
|
||
CMD ["/bin/sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Various example docker files used for testing. | ||
|
||
Usage: | ||
|
||
``` | ||
> cd <host> | ||
> docker build -t <host>-mimalloc . | ||
> docker run -it <host>-mimalloc | ||
>> make test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.