def extra_options(extra_vars=None): """Easyconfig parameters specific to bundles of Python packages.""" if extra_vars is None: extra_vars = {} # combine custom easyconfig parameters of Bundle & PythonPackage extra_vars = Bundle.extra_options(extra_vars) return PythonPackage.extra_options(extra_vars)
def extra_options(): gfx_list_help_msg = "AMD GPU architectures to build for (if None, use defaults: %s)" extra_vars = { 'gfx_list': [None, gfx_list_help_msg % ', '.join(DEFAULT_GFX_ARCHS), CUSTOM], } return Bundle.extra_options(extra_vars)
def extra_options(extra_vars=None): """Easyconfig parameters specific to OpenSSL wrapper""" extra_vars = Bundle.extra_options(extra_vars=extra_vars) extra_vars.update({ 'wrap_system_openssl': [True, 'Detect and wrap OpenSSL installation in host system', CUSTOM], 'minimum_openssl_version': [None, 'Minimum version of OpenSSL required in host system', CUSTOM], }) return extra_vars
def extra_options(): extra_vars = { 'arch': [ None, "Architecture to be used (em64t-unknown-linux-gnu%s)" % ', '.join([a for a in ['', '_smp', '_mpi']]), CUSTOM ], } return Bundle.extra_options(extra_vars)
def extra_options(extra_vars=None): """Easyconfig parameters specific to bundles of Python packages.""" #50 extra_vars = { #51 'arch_name': [None, "Change julia's Project.toml pathname", CUSTOM], #52 } if extra_vars is None: extra_vars = {} # combine custom easyconfig parameters of Bundle & PythonPackage extra_vars = Bundle.extra_options(extra_vars) return JuliaPackage.extra_options(extra_vars)
def extra_options(extra_vars=None): """Easyconfig parameters specific to toolchains.""" if extra_vars is None: extra_vars = {} extra_vars.update({ 'set_env_external_modules': [ False, "Include setenv statements for toolchain components that use " "an external module, based on available metadata", CUSTOM ], }) return Bundle.extra_options(extra_vars=extra_vars)
def extra_options(): """Add custom easyconfig parameters for SystemMPI easyblock.""" # Gather extra_vars from inherited classes, order matters to make sure bundle initialises correctly extra_vars = ConfigureMake.extra_options() extra_vars.update(EB_impi.extra_options()) extra_vars.update(Bundle.extra_options()) # Add an option to add all module path extensions to the resultant easyconfig # This is useful if you are importing the MPI installation from a non-default path extra_vars.update({ 'generate_standalone_module': [False, "Add known path extensions and environment variables for the MPI " "installation to the final module", CUSTOM], }) return extra_vars
def extra_options(): """Add custom easyconfig parameters for SystemCompiler easyblock.""" # Gather extra_vars from inherited classes, order matters here to make this work without problems in __init__ extra_vars = EB_GCC.extra_options() extra_vars.update(EB_icc.extra_options()) extra_vars.update(EB_ifort.extra_options()) extra_vars.update(Bundle.extra_options()) # Add an option to add all module path extensions to the resultant easyconfig # This is useful if you are importing a compiler from a non-default path extra_vars.update({ 'generate_standalone_module': [ False, "Add known path/library extensions and environment variables for the compiler to the final module", CUSTOM ], }) return extra_vars
def extra_options(): """Custom easyconfig parameters for CrayPEToolchain""" extra_vars = { 'PrgEnv': [ None, 'PrgEnv module to load, e.g., cray to load PrgEnv-cray, or None for automatic determination', CUSTOM ], 'PrgEnv_load': [ True, 'Load the PrgEnv module (if True) or just set the corresponding environment variable (if False)', CUSTOM ], 'PrgEnv_family': [ None, 'Declare to be a member of the PrgEnv family (if \'PrgEnv\), of the cpeToolchain family (if \'cpeToolchain\') or manually unload all known PrgEnv and cpe* modules (if None, needed when LMOD is not used)', CUSTOM ], 'CPE_compiler': [ None, 'Versionless compiler module to load, or None for automatic determination', CUSTOM ], 'CPE_version': [ None, 'Version of the CPE, if different from the version of the module', CUSTOM ], 'CPE_load': [ 'first', 'First load the cpe module (if \'first\'), after the PrgEnv module (if \'after\'), load it at the end (if \'last\'), or do not load the cpe module (if None)', CUSTOM ], 'cray_targets': [[], 'Targetting modules to load', CUSTOM], #'optional_example_param': [None, "Example optional custom parameter", CUSTOM], } return Bundle.extra_options(extra_vars)