-
Notifications
You must be signed in to change notification settings - Fork 12
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
1 parent
587c9ce
commit ca7de55
Showing
1 changed file
with
15 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM debian:12.2 | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && apt-get install -y ninja-build cmake gcc g++ git python3 python3-distutils python3-dev python3-pip nasm clang-format libcap-dev tmux zsh neovim | ||
RUN pip3 install torch==1.13.0+cpu -f https://download.pytorch.org/whl/torch_stable.html | ||
COPY . /sloader | ||
WORKDIR /sloader | ||
RUN ./build_chibicc.sh | ||
# TODO | ||
# RUN ./run-format.sh | ||
RUN rm -rf build | ||
RUN mkdir build | ||
RUN cmake -GNinja -S . -B build | ||
RUN cmake --build build | ||
RUN cd build && ctest --output-on-failure -j $(nproc) | ||
RUN ./make-sloader-itself.sh |