eb-local

module eb-local  src/main.zig[source][autodoc]

eb-local: install and build software on top of EESSI into a directory you own. Configuration is layered TOML (see config.zig); secrets come from the environment, owner-only files or nimvault (see secrets.zig).

Modules

  • eb-local.toml: The part of TOML 1.0 that eb-local’s configuration uses: tables ([a.b]), dotted keys, basic and literal strings, integers, booleans and arrays, which may span lines.

  • eb-local.config: eb-local’s settings, layered lowest first: built-in defaults, the site file, a site profile, the user file, a user profile, EB_LOCAL_* variables, command-line options.

  • eb-local.secrets: Secrets for a build: each names the variable eb receives and where its value comes from.

  • eb-local.sites: Site file templates, built into the program or kept by a site in a file: eb-local site lists the built-in ones, and renders and installs either kind.

  • eb-local.storage: Where a build may write: the allocation’s own node-local mount, and a durable installation prefix that is neither node-local nor shared scratch.

  • eb-local.rpath: RPATH wrappers for compilers that have no build environment module.

  • eb-local.elfcheck: eb-local check: what a program built by hand on EESSI depends on, and whether it can run here.

  • eb-local.isa_audit: eb-local audit-isa: the instructions in an installed prefix that need a CPU feature the target does not have.

  • eb-local.extend: Run EasyBuild through EESSI-extend with no Slurm job.

  • eb-local.lmodcache: eb-local lmod-cache: write the spider cache Lmod trusts.

  • eb-local.modulerc: eb-local modulerc: add operator-selected defaults, aliases and hides.

  • eb-local.foreign: Host and container paths that must not leak into a build.

  • eb-local.cvmfs: CernVM-FS checks for eb-local doctor --cvmfs.

  • eb-local.mpi: MPI transport checks for eb-local doctor --mpi.

  • eb-local.cpumask: eb-local --cpu-target: build for another CPU target on this machine.

  • eb-local.recipe_overlay: Declarative site overlays for upstream easyconfigs: parameter replacements, patch additions, dependency variants, keyed by the base file digest.

  • eb-local.vm: eb-local __vm-run: run a command under a virtual CPU that presents an EESSI CPU target.

Functions

pub fn main(init: std.process.Init) u8[source][autodoc]

Run the command the arguments name, and return its exit status. With EB_LOCAL_EESSI_EXTEND set, not empty and not 0, every argument is eb’s, as for eb-local eb --.

Constants

pub const version = "3.6.0"[source][autodoc]

The version eb-local --version prints, and the release it is.