# eb-local ::::{zig:module} eb-local :file: src/main.zig :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/main.zig 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 - {zig:mod}`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. - {zig:mod}`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. - {zig:mod}`eb-local.secrets`: Secrets for a build: each names the variable eb receives and where its value comes from. - {zig:mod}`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. - {zig:mod}`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. - {zig:mod}`eb-local.rpath`: RPATH wrappers for compilers that have no build environment module. - {zig:mod}`eb-local.elfcheck`: `eb-local check`: what a program built by hand on EESSI depends on, and whether it can run here. - {zig:mod}`eb-local.isa_audit`: `eb-local audit-isa`: the instructions in an installed prefix that need a CPU feature the target does not have. - {zig:mod}`eb-local.extend`: Run EasyBuild through EESSI-extend with no Slurm job. - {zig:mod}`eb-local.lmodcache`: `eb-local lmod-cache`: write the spider cache Lmod trusts. - {zig:mod}`eb-local.modulerc`: `eb-local modulerc`: add operator-selected defaults, aliases and hides. - {zig:mod}`eb-local.foreign`: Host and container paths that must not leak into a build. - {zig:mod}`eb-local.cvmfs`: CernVM-FS checks for `eb-local doctor --cvmfs`. - {zig:mod}`eb-local.mpi`: MPI transport checks for `eb-local doctor --mpi`. - {zig:mod}`eb-local.cpumask`: `eb-local --cpu-target`: build for another CPU target on this machine. - {zig:mod}`eb-local.recipe_overlay`: Declarative site overlays for upstream easyconfigs: parameter replacements, patch additions, dependency variants, keyed by the base file digest. - {zig:mod}`eb-local.vm`: `eb-local __vm-run`: run a command under a virtual CPU that presents an EESSI CPU target. ## Functions :::{zig:function} eb-local.main :signature: pub fn main(init: std.process.Init) u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/main.zig#L7954 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 :::{zig:constant} eb-local.version :signature: pub const version = "3.6.0" :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/main.zig#L52 The version `eb-local --version` prints, and the release it is. :::