Build via docker
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m27s

This commit is contained in:
2026-03-07 03:49:35 +01:00
parent dbef1787ec
commit bc5b04d809
3 changed files with 26 additions and 14 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM ubuntu:latest AS builder
RUN apt-get update && apt-get -y install clang llvm lld make xorriso gcc
WORKDIR /usr/src/MOP3
COPY . .
RUN ./aux/devel.sh
FROM scratch
COPY --from=builder /usr/src/MOP3/mop3.iso /mop3.iso

View File

@@ -2,23 +2,23 @@
set -xe
debugopt=""
bt="buildtype=release"
if [ "$1" = "debug" ]; then
debugopt="buildtype=debug"
bt="buildtype=debug"
fi
make -B all_lz4
make -B all_kernel "$debugopt"
make -B all_libsystem "$debugopt"
make -B all_liballoc "$debugopt"
make -B all_libprocess "$debugopt"
make -B all_libterminal "$debugopt"
make -B all_libstring "$debugopt"
make -B all_libkb "$debugopt"
make -B all_libaux "$debugopt"
make -B all_libarena "$debugopt"
make -B all_libioutil "$debugopt"
make -B all_apps "$debugopt"
make -B all_kernel "$bt"
make -B all_libsystem "$bt"
make -B all_liballoc "$bt"
make -B all_libprocess "$bt"
make -B all_libterminal "$bt"
make -B all_libstring "$bt"
make -B all_libkb "$bt"
make -B all_libaux "$bt"
make -B all_libarena "$bt"
make -B all_libioutil "$bt"
make -B all_apps "$bt"
make -B all_dist
./aux/limine_iso_amd64.sh

View File

@@ -1,2 +1,2 @@
all_lz4:
make -C lz4 allmost
make -C lz4 -j1 allmost