예제 #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)
예제 #7
0
 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)
예제 #8
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
예제 #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)
예제 #16
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)
예제 #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)