示例#1
0
    def extra_options():
        """Define custom easyconfig parameters for TensorRT."""

        # Combine extra variables from Binary and PythonPackage easyblocks
        extra_vars = Binary.extra_options()
        extra_vars = PythonPackage.extra_options(extra_vars)
        return EasyBlock.extra_options(extra_vars)
示例#2
0
 def extra_options(extra_vars=None):
     """Define extra easyconfig parameters specific to Allinea."""
     extra = Binary.extra_options(extra_vars)
     extra.update({
         'templates': [[], "List of templates.", CUSTOM],
     })
     return extra
示例#3
0
    def extra_options(extra_vars=None):
        """Define extra easyconfig parameters specific to Allinea."""

        orig_vars = Binary.extra_options(extra_vars)
        allinea_vars = [("templates", [[], "List of templates.", CUSTOM])]
        allinea_vars.extend(orig_vars)
        return allinea_vars
示例#4
0
 def extra_options():
     """Define custom easyconfig parameters for Molpro."""
     # Combine extra variables from Binary and ConfigureMake easyblocks as
     # well as those needed for Molpro specifically
     extra_vars = Binary.extra_options()
     extra_vars = ConfigureMake.extra_options(extra_vars)
     extra_vars.update({"precompiled_binaries": [False, "Are we installing precompiled binaries?", CUSTOM]})
     return EasyBlock.extra_options(extra_vars)
    def extra_options(extra_vars=None):
        """Define extra easyconfig parameters specific to Allinea."""

        orig_vars = dict(Binary.extra_options(extra_vars))
        allinea_vars = {
            'templates': [[], "List of templates.", CUSTOM],
        }
        allinea_vars.update(orig_vars)
        return allinea_vars.items()
示例#6
0
 def extra_options():
     """Create a set of wrappers based on a list determined by the easyconfig file"""
     extra_vars = {
         'host_compilers': [
             None, "Host compilers for which a wrapper will be generated",
             CUSTOM
         ]
     }
     return Binary.extra_options(extra_vars)
 def extra_options():
     """Additional easyconfig parameters custom to Mathematica."""
     extra_vars = {
         'activation_key': [
             None, "Activation key (expected format: 0000-0000-AAAAA)",
             CUSTOM
         ],
     }
     return Binary.extra_options(extra_vars)
 def extra_options(extra_vars=None):
     """Extra easyconfig parameters specific to RPMs."""
     extra_vars = Binary.extra_options(extra_vars)
     extra_vars.update({
         'force': [False, "Use force", CUSTOM],
         'preinstall': [False, "Enable pre install", CUSTOM],
         'postinstall': [False, "Enable post install", CUSTOM],
         'makesymlinks': [[], "Create symlinks for listed paths", CUSTOM],  # supports glob
     })
     return extra_vars
示例#9
0
 def extra_options(extra_vars=None):
     """Extra easyconfig parameters specific to Conda easyblock."""
     extra_vars = Binary.extra_options(extra_vars)
     extra_vars.update({
         'channels': [None, "List of conda channels to pass to 'conda install'", CUSTOM],
         'environment_file': [None, "Conda environment.yml file to use with 'conda env create'", CUSTOM],
         'remote_environment': [None, "Remote conda environment to use with 'conda env create'", CUSTOM],
         'requirements': [None, "Requirements specification to pass to 'conda install'", CUSTOM],
     })
     return extra_vars
示例#10
0
 def extra_options():
     extra_vars = [
         # staged install via a tmp dir can help with the hard (potentially faulty) check on available disk space
         ('staged_install', [
             False,
             "Should the installation should be staged via a temporary dir?",
             CUSTOM
         ]),
     ]
     return Binary.extra_options(extra_vars)
示例#11
0
 def extra_options():
     """Define custom easyconfig parameters for Molpro."""
     # Combine extra variables from Binary and ConfigureMake easyblocks as
     # well as those needed for Molpro specifically
     extra_vars = Binary.extra_options()
     extra_vars = ConfigureMake.extra_options(extra_vars)
     extra_vars.update({
         'precompiled_binaries': [False, "Are we installing precompiled binaries?", CUSTOM],
     })
     return EasyBlock.extra_options(extra_vars)
示例#12
0
 def extra_options(extra_vars=None):
     """Extra easyconfig parameters specific to RPMs."""
     extra_vars = Binary.extra_options(extra_vars)
     extra_vars.update({
         'force': [False, "Use force", CUSTOM],
         'preinstall': [False, "Enable pre install", CUSTOM],
         'postinstall': [False, "Enable post install", CUSTOM],
         'makesymlinks': [[], "Create symlinks for listed paths", CUSTOM],  # supports glob
     })
     return extra_vars
示例#13
0
 def extra_options():
     extra_vars = {
         'with_fe_safe': [
             None,
             "Enable installation of fe-safe (if None: auto-enable for ABAQUS >= 2020)",
             CUSTOM
         ],
         'with_tosca': [
             None,
             "Enable installation of Tosca (if None: auto-enable for ABAQUS >= 2020)",
             CUSTOM
         ],
     }
     return Binary.extra_options(extra_vars)
示例#14
0
 def extra_options(extra_vars=None):
     """Extra easyconfig parameters specific to Conda easyblock."""
     extra_vars = Binary.extra_options(extra_vars)
     extra_vars.update({
         'channels': [
             None, "List of conda channels to pass to 'conda install'",
             CUSTOM
         ],
         'environment_file': [
             None,
             "Conda environment.yml file to use with 'conda env create'",
             CUSTOM
         ],
         'remote_environment': [
             None,
             "Remote conda environment to use with 'conda env create'",
             CUSTOM
         ],
         'requirements': [
             None, "Requirements specification to pass to 'conda install'",
             CUSTOM
         ],
     })
     return extra_vars
 def extra_options():
     """Additional easyconfig parameters custom to Mathematica."""
     extra_vars = {
         'activation_key': [None, "Activation key (expected format: 0000-0000-AAAAA)", CUSTOM],
     }
     return Binary.extra_options(extra_vars)
 def extra_options():
     """Create a set of wrappers based on a list determined by the easyconfig file"""
     extra_vars = {
         'host_compilers': [None, "Host compilers for which a wrapper will be generated", CUSTOM]
     }
     return Binary.extra_options(extra_vars)
示例#17
0
 def extra_options(extra_vars=None):
     """Extra easyconfig parameters specific to CST Studio Suite easyblock."""
     extra_vars = {
         'sp_level': [None, "Service pack level to apply", CUSTOM]
     }
     return Binary.extra_options(extra_vars)
示例#18
0
 def extra_options():
     extra_vars = {
         # staged install via a tmp dir can help with the hard (potentially faulty) check on available disk space
         'staged_install': [False, "Should the installation should be staged via a temporary dir?", CUSTOM],
     }
     return Binary.extra_options(extra_vars)