Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

results from dragoon/komodo

Table of contents

Requirements

  • install GPLT (for plotting)
  • install Virtualenv (for managing Python virtual environments)
  • activate the make module
use make.nu
  • import update-pages from the html module
use html.nu update-pages

TIP

the make and html modules are imported in .env.nu and can be used automatically with tools like nuenv.

Plot

use regex.nu *

let cpu = 'ee672bb315ea00fe5815f0e20db6aa88017c1ba8355794f411c10a6057377e57' | regex exact
let src = {
    debug: [
        ["c8f3481f"],
    ],
    release: [
        ["00086216", "04541a50", "733a57d6"],
        [
            "00086216", # 909176b0, da197416
            "b4212615", # 825cec65
            "04541a50", # a780eb1d, 206fe9d2, 5727d551
            "544835dd", # 5727d551
            "fa141146", # 5727d551
            "491b37ea", # 5727d551
            "4daad4a0", # 5727d551
            "b92ecb2d", # 5727d551
            "64f25f1d", # 5727d551
            "53e7bf81", # 5727d551
            "e591a733", # 5727d551
            "43ad9f18", # 062a39b5
            "90394e42", # 057569f7
            "18b67518", # 0acf66a2
            "e8d6f8fa", # 943e5932
            "0d0768b9", # e7b9968c
        ],
    ],
}

let a = (make plot -T -o gallery field group setup commit linalg fec
    --cpu-hash-pattern $cpu
    --src-hash-pattern ($src.debug.0 | regex or | regex start)
    --rust-build 'debug'
)
let b = (make plot -T -o gallery field group setup commit linalg fec
    --cpu-hash-pattern $cpu
    --src-hash-pattern ($src.release.0 | regex or | regex start)
    --rust-build 'release'
)
let c = (make plot -T -o gallery protocols
    --git-hash-pattern ''
    --cpu-hash-pattern $cpu
    --src-hash-pattern ($src.release.1 | regex or | regex start)
    --rust-build 'release'
)

{
    cpu: $a.cpu,
    figures: ($a.figures ++ $b.figures ++ $c.figures),
} | save --force gallery/index.nuon

Pages

open gallery/index.nuon | html update-pages --reset-index