hetrix

source-based package manager · v1.3

cfg.toml – configure hetrix

global defaults, build flags, and behaviour.

location

~/hetrix/cfg.toml – created automatically on first run.

key sections

[general]
editor             = "micro"          # editor for --edit
clean_after_build  = true
parallel_jobs      = 0                 # 0 = auto (nproc)
parallel_pkg_jobs  = 2                 # packages built simultaneously

[install]
auto_move = false
auto_keep = false

[build]
strip_binaries = false

[default_args]
gcc_def_args   = "-O2 -Wall"
gpp_def_args   = "-std=c++17 -O2 -Wall"
cargo_def_args = "--release"

[fetch]
git_depth      = 1
git_submodules = true

[verify]
require_sha_for_curl = false
warn_missing_sha     = false

[repos]
auto_compress   = false
compression_level = 5

performance tuning (i7-14700F example)

parallel_pkg_jobs = 8
gcc_def_args   = "-O3 -march=native -pipe"
gpp_def_args   = "-std=c++23 -O3 -march=native -pipe"