polaris.build.omega.get_omega_cime_target
- polaris.build.omega.get_omega_cime_target(build_dir: str | None) Tuple[str | None, str | None][source]
Get the machine and compiler that a standalone Omega build was configured for.
- Parameters:
build_dir (str, optional) – The root of the standalone Omega build directory.
- Returns:
machine (str, optional) – The
OMEGA_CIME_MACHINEof the build, orNoneif it cannot be determined.compiler (str, optional) – The
OMEGA_CIME_COMPILERof the build, orNoneif it cannot be determined.