Skip to content
Snippets Groups Projects
user avatar
karim.moussaoui authored
bf11e9b3
History

pipeline status coverage changelog

batsched is a set of [Batsim]-compatible algorithms implemented in C++.

Development setup prerequisites

  1. Install Nix with the nix command and nix flakes enabled. This can be done via nix-portable or with a full install + configuration.

Dev workflow 1 (pure build every time)

  1. Hack some input files.
  2. (if you have added new files to Git that are needed to compile batsched, you must git add them)
  3. Build batsched via nix: nix build .#batsched from the git repository's root.
  4. Use the batsched that has been compiled. It is available in ./result/bin/batsched

Dev workflow 2 (iterative builds)

  1. Hack some input files.
  2. Enter a shell that you'll use to compile batsched: nix develop .#batsched. In this shell you can compile batsched how you'd do without Nix:
    • meson setup build once
    • then ninja -C build everytime you want to compile batsched
  3. Use the batsched that has been compiled. It is available in ./build/batsched