GithubHelp home page GithubHelp logo

d-os / dos Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 4.99 MB

D/os source code super-repo

License: BSD Zero Clause License

Makefile 0.06% Shell 0.02% C 98.58% C++ 1.35% POV-Ray SDL 0.01%
operating-system open-source

dos's Introduction

D/os

δέος (déos) — Dee Operating System

Discord Chat

Mission statement

Build operating system for workplace computers, using best available open source components.

Goals

  • developer friendly
  • reasonably unix-compliant
  • lean base system

Non-goals

  • LSB compliance
  • applications distribution

Build && Run

  • See tools/tc-build/README.md for a list of required host tools.
  • Additionall host tools:
    • D language compiler
    • pahole (dnf install dwarves)
    • expat headers (dnf install expat-devel)
  • QEmu needs you to be running Linux kernel with KVM support.

⚠️ This repository makes heavy use of git submodules, so you need to git clone --recursive

⚠️ Some of submodules store copious amount of data. You are advised to clone --depth 1

make toolchain sysroot compdb kernel kernel_modules
ninja && ./qemu.sh

Testing

You need to be running Linux kernel with binderfs support.

Unit tests

ninja -f chroot.ninja out/system.content && ./chroot.sh out/system /tests/kits

Interactive tests

Clone Weston and make a local build for host. Then run it: ($DOS_DIR is a directory with this repository working copy.)

XDG_RUNTIME_DIR=$DOS_DIR/out/system/run build/compositor/weston

Having Weston window open run in another terminal window:

ninja -f chroot.ninja out/system.content && ./chroot.sh out/system env XDG_RUNTIME_DIR=/run WAYLAND_DISPLAY=wayland-1 WAYLAND_DEBUG=1 /tests/interface_window

System integration tests

To run tests that require system services you need to build using -f debug.ninja and run the following services on dedicated terminals:

ninja -f debug.ninja out/system.content && ./chroot.sh out/system /system/bin/servicemanager
ninja -f debug.ninja out/system.content && ./chroot.sh out/system /system/libexec/app_server

then run test:

ninja -f debug.ninja out/system.content && ./chroot.sh out/system /tests/app_message_runner

dos's People

Contributors

smokku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.