-
Notifications
You must be signed in to change notification settings - Fork 0
Build System
This page describes the build-system direction for XAI OS.
macOS is the first host for bring-up. QEMU on macOS is for correctness and boot architecture, not performance claims.
The host bootstrap script should check QEMU, LLVM/Clang, LLD, Python, Git, image tools, and OVMF availability.
Early kernel code should be freestanding C99 plus minimal architecture assembly. C++ is allowed in userspace, runtime, and AI components, not early kernel core.
The build should use LLVM/Clang, LLD, QEMU, Git, Python for host tooling where useful, and deterministic image scripts.
The repository should eventually provide:
-
make all; -
make image; -
make qemu; -
make test; -
scripts/run-qemu-x86_64.sh; -
scripts/run-qemu-aarch64.sh.
Disk image creation must be scripted. Build artifacts should live only under ignored output directories.
Expected artifact paths:
build/
out/
dist/
Generated .img, .iso, .efi, .elf, .bin, .map, and .log files must not be committed.
CI should run formatting, host-side unit tests, image creation, and QEMU smoke boots when available.
The target source layout is described in Implementation Plan. Keep the main repo clean until implementation files are introduced.
Minimum implementation tree:
boot/uefi/
kernel/arch/x86_64/
kernel/core/
kernel/mm/
kernel/irq/
kernel/dev/
kernel/net/
userspace/init/
runtime/include/xaios/
ai/runtime/
bench/
tests/
scripts/
-
make allbuilds the active target. -
make imagecreates a bootable image. -
make qemustarts QEMU on macOS. -
make testruns host-side checks. - Missing tools produce actionable errors.
This page defines the GitHub Wiki navigation sidebar.
- Architecture
- AI Cells
- CPU AI Runtime
- App Agents
- Memory System
- Networking
- Scheduler and Core Isolation
- Filesystem and Storage
- Driver Model
- Security Model
- Build System
- Build System
- Project Tracker
- Implementation Plan
- QEMU Full OS Core Workdown
- QEMU 100 Completion Plan
- Example Apps
- Codex Work Packages
- Testing and Benchmarking