pub struct Target {Show 21 fields
pub name: String,
pub build_lists: Vec<String>,
pub eb_optarch: Option<String>,
pub max_parallel: Option<u32>,
pub cuda_compute_capabilities: Option<String>,
pub cpu_target: Option<String>,
pub accel_target: Option<String>,
pub site_prefix: Option<String>,
pub software_root: Option<String>,
pub modules_root: Option<String>,
pub staged: Option<bool>,
pub ledger_config: Option<String>,
pub default: bool,
pub phases: Option<PhaseArgs>,
pub route: Option<Route>,
pub select: Option<Select>,
pub hardware: Option<Hardware>,
pub cpu_hardware: Option<Hardware>,
pub fetch_profile: Option<Table>,
pub package_env: BTreeMap<String, BTreeMap<String, String>>,
pub build_types: BTreeMap<String, BuildTypeOverride>,
}Expand description
One node type.
Fields§
§name: StringTarget name; unique across the file.
build_lists: Vec<String>Names of build list files that belong to this target; checked against --lists-dir.
eb_optarch: Option<String>EASYBUILD_OPTARCH.
max_parallel: Option<u32>EASYBUILD_MAX_PARALLEL.
cuda_compute_capabilities: Option<String>EASYBUILD_CUDA_COMPUTE_CAPABILITIES.
cpu_target: Option<String>CPU software subdirectory in EESSI form (x86_64/amd/zen4, aarch64/neoverse_v1), exported through modules.eessi.cpu_override_var.
accel_target: Option<String>Accelerator subdirectory in EESSI form (accel/nvidia/cc90, accel/amd/gfx90a), exported through modules.eessi.accel_override_var; empty means none.
site_prefix: Option<String>Install prefix of the target; EASYBUILD_INSTALLPATH and EESSI_SITE_SOFTWARE_PREFIX. Falls back to filesystems.install_root. With modules.eessi.site_install, EESSI-extend replaces EASYBUILD_INSTALLPATH when it loads; explain shows its path as install_note.
software_root: Option<String>Live software root of the target; passed to eb-staged-rebuild --software. Required for staged rebuilds with modules.eessi.site_install: the software directory under the EESSI-extend install path.
modules_root: Option<String>Live modules root of the target; passed to eb-staged-rebuild --modules and searched for installed modules at <modules_root>/all/<Name>/<version>[.lua]. Required for staged rebuilds with modules.eessi.site_install: the modules directory under the EESSI-extend install path.
staged: Option<bool>Overrides rebuild.staged for this target.
ledger_config: Option<String>Overrides rebuild.ledger_config for this target. A ledger configuration names one target, so two targets that take staged rebuilds cannot share one.
default: boolMarks the default target of the site; informational.
phases: Option<PhaseArgs>Overrides of [phase_defaults] for this target.
route: Option<Route>CPU phase wrapper.
select: Option<Select>Per-line target selection; without it every line is planned for every target.
hardware: Option<Hardware>Hardware identity of the target’s build nodes; exported only when cpu_hardware is set.
cpu_hardware: Option<Hardware>Hardware identity of the nodes that build CPU-role units. When set, the source prefetch and build commands of each line export a class as EB_PIPELINE_HW_VENDOR_ID, EB_PIPELINE_HW_CPU_FAMILY and EB_PIPELINE_HW_MODEL: cpu_hardware for a line of a CPU-role unit, hardware for the rest. No other command exports them.
fetch_profile: Option<Table>Free-form table passed to source prefetch commands as EB_PIPELINE_FETCH_PROFILE, serialised as JSON with sorted keys.
package_env: BTreeMap<String, BTreeMap<String, String>>Environment per package name for this target, [targets.package_env.<Name>]; per key it wins over modules.package_env.
build_types: BTreeMap<String, BuildTypeOverride>Per build type overrides, [targets.build_types.<name>].