예제 #1
0
 def extra_options(extra_vars=None):
     """Define extra easyconfig parameters specific to CMakeMake."""
     extra_vars = dict(ConfigureMake.extra_options(extra_vars))
     extra_vars.update({
         'srcdir': [None, "Source directory location to provide to cmake command", CUSTOM],
         'separate_build_dir': [False, "Perform build in a separate directory", CUSTOM],
     })
     return ConfigureMake.extra_options(extra_vars)
예제 #2
0
 def extra_options(extra_vars=None):
     """Extra easyconfig parameters specific to ConfigureMake."""
     extra_vars = dict(ConfigureMake.extra_options(extra_vars))
     extra_vars.update({
         # 'Amber': [True, "Build Amber in addition to AmberTools", CUSTOM],
         'patchlevels': ["latest", "(AmberTools, Amber) updates to be applied", CUSTOM],
         # The following is necessary because some patches to the Amber update
         # script update the update script itself, in which case it will quit
         # and insist on being run again. We don't know how many times will
         # be needed, but the number of times is patchlevel specific.
         'patchruns': [1, "Number of times to run Amber's update script before building", CUSTOM],
         # enable testing by default
         'runtest': [True, "Run tests after each build", CUSTOM],
     })
     return ConfigureMake.extra_options(extra_vars)
예제 #3
0
 def extra_options():
     """Add extra config options specific to SLEPc."""
     extra_vars = [
                   ('sourceinstall', [False, "Indicates whether a source installation should be performed (default: False)", CUSTOM]),
                   ('runtest', ['test', "Make target to test build (default: test)", BUILD])
                  ]
     return ConfigureMake.extra_options(extra_vars)
 def extra_options():
     """Custom easyconfig parameters for Quantum ESPRESSO."""
     extra_vars = {
         'hybrid': [False, "Enable hybrid build (with OpenMP)", CUSTOM],
         'with_scalapack': [True, "Enable ScaLAPACK support", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #5
0
    def extra_options():
        """Custom easyconfig parameters for NEURON."""

        extra_vars = {
            'paranrn': [True, "Enable support for distributed simulations.", CUSTOM],
        }
        return ConfigureMake.extra_options(extra_vars)
예제 #6
0
 def extra_options():
     extra_vars = {
         'ignorethrottling': [False, "Ignore check done by ATLAS for CPU throttling (not recommended)", CUSTOM],
         'full_lapack': [False, "Build a full LAPACK library (requires netlib's LAPACK)", CUSTOM],
         'sharedlibs': [False, "Enable building of shared libs as well", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #7
0
 def extra_options():
     extra_vars = [
                   ('ignorethrottling', [False, "Ignore check done by ATLAS for CPU throttling (not recommended) (default: False)", CUSTOM]),
                   ('full_lapack', [False, "Build a full LAPACK library (requires netlib's LAPACK) (default: False)", CUSTOM]),
                   ('sharedlibs', [False, "Enable building of shared libs as well (default: False)", CUSTOM])
                  ]
     return ConfigureMake.extra_options(extra_vars)
예제 #8
0
 def extra_options(extra_vars=None):
     """Define extra options for Siesta"""
     extra = {
         'with_transiesta': [True, "Build transiesta", CUSTOM],
         'with_utils': [True, "Build all utils", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars=extra)
    def extra_options():
        """Custom easyconfig parameters for FFTW."""
        extra_vars = {
            'auto_detect_cpu_features': [True, "Auto-detect available CPU features, and configure accordingly", CUSTOM],
            'use_fma': [None, "Configure with --enable-avx-128-fma (DEPRECATED, use 'use_fma4' instead)", CUSTOM],
            'with_mpi': [True, "Enable building of FFTW MPI library", CUSTOM],
            'with_openmp': [True, "Enable building of FFTW OpenMP library", CUSTOM],
            'with_shared': [True, "Enable building of shared FFTW libraries", CUSTOM],
            'with_threads': [True, "Enable building of FFTW threads library", CUSTOM],
        }

        for flag in FFTW_CPU_FEATURE_FLAGS:
            if flag == 'fma4':
                conf_opt = 'avx-128-fma'
            else:
                conf_opt = flag

            help_msg = "Configure with --enable-%s (if None, auto-detect support for %s)" % (conf_opt, flag.upper())
            extra_vars['use_%s' % flag] = [None, help_msg, CUSTOM]

        for prec in FFTW_PRECISION_FLAGS:
            help_msg = "Enable building of %s precision library" % prec.replace('-precision', '')
            extra_vars[EB_FFTW._prec_param(prec)] = [True, help_msg, CUSTOM]

        return ConfigureMake.extra_options(extra_vars)
예제 #10
0
 def extra_options(extra_vars=None):
     """Define custom easyconfig parameters specific to MPICH."""
     extra_vars = ConfigureMake.extra_options(extra_vars)
     extra_vars.update({
         'debug': [False, "Enable debug build (which is slower)", CUSTOM],
     })
     return extra_vars
예제 #11
0
 def extra_options():
     """Add extra config options specific to Python."""
     extra_vars = {
         'ulimit_unlimited': [False, "Ensure stack size limit is set to '%s' during build" % UNLIMITED, CUSTOM],
         'ebpythonprefixes': [True, "Create sitecustomize.py and allow use of $EBPYTHONPREFIXES", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #12
0
 def extra_options():
     """Add extra config options specific to SLEPc."""
     extra_vars = {
         'sourceinstall': [False, "Indicates whether a source installation should be performed", CUSTOM],
         'runtest': ['test', "Make target to test build", BUILD],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #13
0
 def extra_options(extra_vars=None):
     """Extra easyconfig parameters specific to the binutils easyblock."""
     extra_vars = ConfigureMake.extra_options(extra_vars=extra_vars)
     extra_vars.update({
         'install_libiberty': [True, "Also install libiberty (implies building with -fPIC)", CUSTOM],
     })
     return extra_vars
예제 #14
0
    def extra_options():
        """Extra easyconfig parameters specific to PSI."""

        extra_vars = {
            # always include running PSI unit tests (takes about 2h or less)
            'runtest': ["tests TESTFLAGS='-u -q'", "Run tests included with PSI, without interruption.", BUILD],
        }
        return ConfigureMake.extra_options(extra_vars)
예제 #15
0
 def extra_options():
     """
     Define list of files or directories to be copied after make
     """
     extra_vars = [
         ('files_to_copy', [{}, "List of files or dirs to copy", MANDATORY]),
     ]
     return ConfigureMake.extra_options(extra_vars)
예제 #16
0
 def extra_options():
     """Custom easyconfig parameters for TAU."""
     backends = "Extra TAU backends to build and install; possible values: %s" % ','.join(sorted(KNOWN_BACKENDS))
     extra_vars = {
         'extra_backends': [None, backends, CUSTOM],
         'tau_makefile': ['Makefile.tau-papi-mpi-pdt', "Name of Makefile to use in $TAU_MAKEFILE", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #17
0
 def extra_options():
     """Add extra config options specific to SLEPc."""
     extra_vars = {
         'runtest': ['test', "Make target to test build", BUILD],
         'petsc_arch': [None, "PETSc architecture to use (value for $PETSC_ARCH)", CUSTOM],
         'sourceinstall': [False, "Indicates whether a source installation should be performed", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #18
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)
예제 #19
0
 def extra_options():
     """
     Define extra options needed by Geant4
     """
     extra_vars = {
         'arch': [None, "Target architecture", MANDATORY],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #20
0
 def extra_options():
     """
     Define list of files or directories to be copied after make
     """
     extra_vars = {
         'files_to_copy': [{}, "List of files or dirs to copy", MANDATORY],
         'with_configure': [False, "Run configure script before building", BUILD],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #21
0
 def extra_options(extra_vars=None):
     """
     Define if we are using rules or not, and if we are building the GUI
     """
     extra = {"have_rules": [False, "Use rules", CUSTOM], "build_gui": [False, "Build GUI", CUSTOM]}
     if extra_vars is None:
         extra_vars = {}
     extra.update(extra_vars)
     return ConfigureMake.extra_options(extra_vars=extra)
예제 #22
0
    def extra_options(extra_vars=None):
        """Define extra easyconfig parameters specific to CMakeMake."""

        orig_vars = ConfigureMake.extra_options(extra_vars)
        cmakemake_vars = [
            ('srcdir', [None, "Source directory location to provide to cmake command", CUSTOM]),
            ('separate_build_dir', [False, "Perform build in a separate directory", CUSTOM]),
        ]
        cmakemake_vars.extend(orig_vars)
        return cmakemake_vars
    def extra_options():
        extra_vars = {
             'platform': [None, "Target platform to build for (e.g. linux-g++-64, linux-icc-64)", CUSTOM],
        }
        extra_vars = ConfigureMake.extra_options(extra_vars)

        # allowing to specify prefix_opt doesn't make sense for Qt, since -prefix is hardcoded in configure_step
        del extra_vars['prefix_opt']

        return extra_vars
예제 #24
0
    def extra_options():
        extra_vars = {
            'check_qtwebengine': [False, "Make sure QtWebEngine components is installed", CUSTOM],
            'platform': [None, "Target platform to build for (e.g. linux-g++-64, linux-icc-64)", CUSTOM],
        }
        extra_vars = ConfigureMake.extra_options(extra_vars)

        # allowing to specify prefix_opt doesn't make sense for Qt, since -prefix is hardcoded in configure_step
        del extra_vars['prefix_opt']

        return extra_vars
예제 #25
0
 def extra_options():
     """Add extra config options specific to PETSc."""
     extra_vars = [
                   ('sourceinstall', [False, "Indicates whether a source installation should be performed (default: False)", CUSTOM]),
                   ('shared_libs', [False, "Build shared libraries (default: False)", CUSTOM]),
                   ('with_papi', [False, "Enable PAPI support (default: False)", CUSTOM]),
                   ('papi_inc', ['/usr/include', "Path for PAPI include files (default: /usr/include)", CUSTOM]),
                   ('papi_lib', ['/usr/lib64/libpapi.so', "Path for PAPI library (default: '/usr/lib64/libpapi.so')", CUSTOM]),
                   ('runtest', ['test', "Make target to test build (default: test)", BUILD])
                  ]
     return ConfigureMake.extra_options(extra_vars)
예제 #26
0
 def extra_options():
     """Add extra config options specific to PETSc."""
     extra_vars = {
         'sourceinstall': [False, "Indicates whether a source installation should be performed", CUSTOM],
         'shared_libs': [False, "Build shared libraries", CUSTOM],
         'with_papi': [False, "Enable PAPI support", CUSTOM],
         'papi_inc': ['/usr/include', "Path for PAPI include files", CUSTOM],
         'papi_lib': ['/usr/lib64/libpapi.so', "Path for PAPI library", CUSTOM],
         'runtest': ['test', "Make target to test build", BUILD],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #27
0
 def extra_options(extra_vars=None):
     """
     Define list of files or directories to be copied after make
     """
     extra = {
         'files_to_copy': [[], "List of files or dirs to copy", MANDATORY],
         'with_configure': [False, "Run configure script before building", BUILD],
     }
     if extra_vars is None:
         extra_vars = {}
     extra.update(extra_vars)
     return ConfigureMake.extra_options(extra_vars=extra)
 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():
     extra_vars = {
         'withchkpt': [False, "Enable checkpointing support (required BLCR)", CUSTOM],
         'withmpe': [False, "Build MPE routines", CUSTOM],
         'withhwloc': [False, "Enable support for using hwloc support for process binding", CUSTOM],
         'withlimic2': [False, "Enable LiMIC2 support for intra-node communication", CUSTOM],
         'debug': [False, "Enable debug build (which is slower)", CUSTOM],
         'rdma_type': ["gen2", "Specify the RDMA type (gen2/udapl)", CUSTOM],
         'blcr_path': [None, "Path to BLCR package", CUSTOM],
         'blcr_inc_path': [None, "Path to BLCR header files", CUSTOM],
         'blcr_lib_path': [None, "Path to BLCR library", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #30
0
 def extra_options():
     extra_vars = [
                   ('withchkpt', [False, "Enable checkpointing support (required BLCR) (default: False)", CUSTOM]),
                   ('withmpe', [False, "Build MPE routines (default: False)", CUSTOM]),
                   ('withhwloc', [False, "Enable support for using hwloc support for process binding (default: False)", CUSTOM]),
                   ('withlimic2', [False, "Enable LiMIC2 support for intra-node communication (default: False)", CUSTOM]),
                   ('debug', [False, "Enable debug build (which is slower) (default: False)", CUSTOM]),
                   ('rdma_type', ["gen2", "Specify the RDMA type (gen2/udapl) (default: gen2)", CUSTOM]),
                   ('blcr_path', [None, "Path to BLCR package (default: None)", CUSTOM]),
                   ('blcr_inc_path', [None, "Path to BLCR header files (default: None)", CUSTOM]),
                   ('blcr_lib_path', [None, "Path to BLCR library (default: None)", CUSTOM]),
                  ]
     return ConfigureMake.extra_options(extra_vars)
예제 #31
0
    def extra_options():
        """Custom easyconfig parameters for NWChem."""

        extra_vars = {
            'target': ["LINUX64", "Target platform", CUSTOM],
            # possible options for ARMCI_NETWORK on LINUX64 with Infiniband:
            # OPENIB, MPI-MT, MPI-SPAWN, MELLANOX
            'armci_network': ["OPENIB", "Network protocol to use", CUSTOM],
            'msg_comms': ["MPI", "Type of message communication", CUSTOM],
            'modules': ["all", "NWChem modules to build", CUSTOM],
            'lib_defines':
            ["", "Additional defines for C preprocessor", CUSTOM],
            'tests': [True, "Run example test cases", CUSTOM],
            # lots of tests fail, so allow a certain fail ratio
            'max_fail_ratio': [0.5, "Maximum test case fail ratio", CUSTOM],
        }
        return ConfigureMake.extra_options(extra_vars)
예제 #32
0
 def extra_options(extra_vars=None):
     """Define extra easyconfig parameters specific to CMakeMake."""
     extra_vars = ConfigureMake.extra_options(extra_vars)
     extra_vars.update({
         'abs_path_compilers': [False, "Specify compilers via absolute file path (not via command names)", CUSTOM],
         'allow_system_boost': [False, "Always allow CMake to pick up on Boost installed in OS "
                                       "(even if Boost is included as a dependency)", CUSTOM],
         'build_shared_libs': [None, "Build shared library (instead of static library)"
                                     "None can be used to add no flag (usually results in static library)", CUSTOM],
         'build_type': [None, "Build type for CMake, e.g. Release."
                              "Defaults to 'Release' or 'Debug' depending on toolchainopts[debug]", CUSTOM],
         'configure_cmd': [DEFAULT_CONFIGURE_CMD, "Configure command to use", CUSTOM],
         'generator': [None, "Build file generator to use. None to use CMake default", CUSTOM],
         'srcdir': [None, "Source directory location to provide to cmake command", CUSTOM],
         'separate_build_dir': [True, "Perform build in a separate directory", CUSTOM],
     })
     return extra_vars
예제 #33
0
 def extra_options():
     """Add extra config options specific to PETSc."""
     extra_vars = {
         'sourceinstall': [
             False,
             "Indicates whether a source installation should be performed",
             CUSTOM
         ],
         'shared_libs': [False, "Build shared libraries", CUSTOM],
         'with_papi': [False, "Enable PAPI support", CUSTOM],
         'papi_inc':
         ['/usr/include', "Path for PAPI include files", CUSTOM],
         'papi_lib':
         ['/usr/lib64/libpapi.so', "Path for PAPI library", CUSTOM],
         'runtest': ['test', "Make target to test build", BUILD],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #34
0
 def extra_options():
     extra_vars = {
         'clooguseisl': [False, "Use ISL with CLooG or not", CUSTOM],
         'generic': [None, "Build GCC and support libraries such that it runs on all processors of the target "
                           "architecture (use False to enforce non-generic regardless of configuration)", CUSTOM],
         'languages': [[], "List of languages to build GCC for (--enable-languages)", CUSTOM],
         'multilib': [False, "Build multilib gcc (both i386 and x86_64)", CUSTOM],
         'pplwatchdog': [False, "Enable PPL watchdog", CUSTOM],
         'prefer_lib_subdir': [False, "Configure GCC to prefer 'lib' subdirs over 'lib64' when linking", CUSTOM],
         'profiled': [False, "Bootstrap GCC with profile-guided optimizations", CUSTOM],
         'use_gold_linker': [True, "Configure GCC to use GOLD as default linker", CUSTOM],
         'withcloog': [False, "Build GCC with CLooG support", CUSTOM],
         'withisl': [False, "Build GCC with ISL support", CUSTOM],
         'withlibiberty': [False, "Enable installing of libiberty", CUSTOM],
         'withlto': [True, "Enable LTO support", CUSTOM],
         'withppl': [False, "Build GCC with PPL support", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #35
0
    def extra_options():
        extra_vars = {
            'check_qtwebengine':
            [False, "Make sure QtWebEngine components is installed", CUSTOM],
            'disable_advanced_kernel_features':
            [False, "Disable features that require a kernel > 3.15", CUSTOM],
            'platform': [
                None,
                "Target platform to build for (e.g. linux-g++-64, linux-icc-64)",
                CUSTOM
            ],
        }
        extra_vars = ConfigureMake.extra_options(extra_vars)

        # allowing to specify prefix_opt doesn't make sense for Qt, since -prefix is hardcoded in configure_step
        del extra_vars['prefix_opt']

        return extra_vars
예제 #36
0
 def extra_options():
     extra_vars = [
         ('ignorethrottling', [
             False,
             "Ignore check done by ATLAS for CPU throttling (not recommended) (default: False)",
             CUSTOM
         ]),
         ('full_lapack', [
             False,
             "Build a full LAPACK library (requires netlib's LAPACK) (default: False)",
             CUSTOM
         ]),
         ('sharedlibs', [
             False,
             "Enable building of shared libs as well (default: False)",
             CUSTOM
         ])
     ]
     return ConfigureMake.extra_options(extra_vars)
예제 #37
0
 def extra_options():
     extra_vars = {
         'mem_align': [
             "8",
             "determines if the buffer for a read or write operation is aligned in memory.",
             CUSTOM
         ],
         'logpath_env': [
             "DARSHAN_LOG_DIR_PATH",
             "specifies an environment variable to use to determine the log path at run time",
             CUSTOM
         ],
         'jobid_env': [
             'SLURM_JOBID',
             "specifies the environment variable that Darshan should check to determine the jobid of a job",
             CUSTOM
         ],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #38
0
 def extra_options():
     """Add extra config options specific to PETSc."""
     extra_vars = {
         'sourceinstall': [False, "Indicates whether a source installation should be performed", CUSTOM],
         'shared_libs': [False, "Build shared libraries", CUSTOM],
         'with_papi': [False, "Enable PAPI support", CUSTOM],
         'papi_inc': ['/usr/include', "Path for PAPI include files", CUSTOM],
         'papi_lib': ['/usr/lib64/libpapi.so', "Path for PAPI library", CUSTOM],
         'runtest': ['test', "Make target to test build", BUILD],
         'test_parallel': [
             None,
             "Number of parallel PETSc tests launched. If unset, 'parallel' will be used",
             CUSTOM
         ],
         'download_deps_static': [[], "Dependencies that should be downloaded and installed static", CUSTOM],
         'download_deps_shared': [[], "Dependencies that should be downloaded and installed shared", CUSTOM],
         'download_deps': [[], "Dependencies that should be downloaded and installed", CUSTOM]
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #39
0
파일: elpa.py 프로젝트: namjals/JSC
    def extra_options():
        """Custom easyconfig parameters for ELPA."""
        extra_vars = {
            'auto_detect_cpu_features': [True, "Auto-detect available CPU features, and configure accordingly", CUSTOM],
            'with_mpi': [True, "Enable building of ELPA MPI library", CUSTOM],
            'with_openmp': [True, "Enable building of ELPA OpenMP library", CUSTOM],
            'with_shared': [True, "Enable building of shared ELPA libraries", CUSTOM],
            'with_single': [True, "Enable building of single precision ELPA functions", CUSTOM],
            'with_generic_kernel': [True, "Enable building of ELPA generic kernels", CUSTOM],
        }

        for flag in ELPA_CPU_FEATURE_FLAGS:
            if flag == 'sse4_2':
                conf_opt = ['sse', 'sse-assembly']
            else:
                conf_opt = [flag]

            for opt in conf_opt:
                help_msg = "Configure with --enable-%s (if None, auto-detect support for %s)" % (opt, flag.upper())
                extra_vars['use_%s' % flag] = [None, help_msg, CUSTOM]

        return ConfigureMake.extra_options(extra_vars)
 def extra_options():
     extra_vars = {
         'withchkpt':
         [False, "Enable checkpointing support (required BLCR)", CUSTOM],
         'withmpe': [False, "Build MPE routines", CUSTOM],
         'withhwloc': [
             False,
             "Enable support for using hwloc support for process binding",
             CUSTOM
         ],
         'withlimic2': [
             False, "Enable LiMIC2 support for intra-node communication",
             CUSTOM
         ],
         'debug': [False, "Enable debug build (which is slower)", CUSTOM],
         'rdma_type':
         ["gen2", "Specify the RDMA type (gen2/udapl)", CUSTOM],
         'blcr_path': [None, "Path to BLCR package", CUSTOM],
         'blcr_inc_path': [None, "Path to BLCR header files", CUSTOM],
         'blcr_lib_path': [None, "Path to BLCR library", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #41
0
    def extra_options():
        """Custom easyconfig parameters for FFTW."""
        extra_vars = {
            'auto_detect_cpu_features': [
                True,
                "Auto-detect available CPU features, and configure accordingly",
                CUSTOM
            ],
            'use_fma': [
                None,
                "Configure with --enable-avx-128-fma (DEPRECATED, use 'use_fma4' instead)",
                CUSTOM
            ],
            'with_mpi': [True, "Enable building of FFTW MPI library", CUSTOM],
            'with_openmp':
            [True, "Enable building of FFTW OpenMP library", CUSTOM],
            'with_shared':
            [True, "Enable building of shared FFTW libraries", CUSTOM],
            'with_threads':
            [True, "Enable building of FFTW threads library", CUSTOM],
        }

        for flag in FFTW_CPU_FEATURE_FLAGS:
            if flag == 'fma4':
                conf_opt = 'avx-128-fma'
            else:
                conf_opt = flag

            help_msg = "Configure with --enable-%s (if None, auto-detect support for %s)" % (
                conf_opt, flag.upper())
            extra_vars['use_%s' % flag] = [None, help_msg, CUSTOM]

        for prec in FFTW_PRECISION_FLAGS:
            help_msg = "Enable building of %s precision library" % prec.replace(
                '-precision', '')
            extra_vars[EB_FFTW._prec_param(prec)] = [True, help_msg, CUSTOM]

        return ConfigureMake.extra_options(extra_vars)
예제 #42
0
 def extra_options(extra_vars=None):
     """Define extra easyconfig parameters specific to CMakeMake."""
     extra_vars = ConfigureMake.extra_options(extra_vars)
     extra_vars.update({
         'abs_path_compilers': [
             False,
             "Specify compilers via absolute file path (not via command names)",
             CUSTOM
         ],
         'allow_system_boost': [
             False,
             "Always allow CMake to pick up on Boost installed in OS "
             "(even if Boost is included as a dependency)", CUSTOM
         ],
         'configure_cmd':
         [DEFAULT_CONFIGURE_CMD, "Configure command to use", CUSTOM],
         'srcdir': [
             None, "Source directory location to provide to cmake command",
             CUSTOM
         ],
         'separate_build_dir':
         [False, "Perform build in a separate directory", CUSTOM],
     })
     return extra_vars
예제 #43
0
 def extra_options():
     extra_vars = {
         'supply_blas': [False, "Supply BLAS lib to LAPACK for building", CUSTOM],
         'test_only': [False, "Only make tests, don't try and build LAPACK lib", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #44
0
 def extra_options():
     extra_vars = ConfigureMake.extra_options()
     extra_vars.update({
         'use_openssl': [True, "Use openSSL (if building CURL in CMake)", CUSTOM],
     })
     return extra_vars
 def extra_options():
     """Extra easyconfig parameters for Python packages being installed with python configure/make/make install."""
     extra = PythonPackage.extra_options()
     return ConfigureMake.extra_options(extra_vars=extra)
예제 #46
0
 def extra_options():
     extra_vars = [('runtest', [True, "Run ESPResSo tests.", CUSTOM])]
     return ConfigureMake.extra_options(extra_vars)
예제 #47
0
 def extra_options():
     extra_vars = {
         'runtest': [True, "Run ESPResSo tests.", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #48
0
 def extra_options():
     """Add extra config options specific to bzip2."""
     extra_vars = {
         'with_shared_libs': [True, "Also build shared libraries", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars=extra_vars)
예제 #49
0
	def extra_options(extra_vars=None):
		return ConfigureMake.extra_options(extra_vars=extra_vars)
예제 #50
0
 def extra_options():
     extra_vars = {
         'blas_lapack_mt':
         [False, "Link with multi-threaded BLAS/LAPACK library", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #51
0
 def extra_options():
     """Add extra config options specific to Perl."""
     extra_vars = {
         'use_perl_threads': [True, "Use internal Perl threads by means of the -Dusethreads compiler directive", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #52
0
 def extra_options(extra_vars=None):
     """Combine custom easyconfig parameters specific to ConfigureMake and Rpm generic easyblocks."""
     extra_vars = ConfigureMake.extra_options()
     return Rpm.extra_options(extra_vars=extra_vars)
예제 #53
0
 def extra_options():
     """Add extra config options specific to Perl."""
     extra_vars = {
         'use_perl_threads': [True, "Enable use of internal Perl threads via -Dusethreads configure option", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
 def extra_options(extra_vars=None):
     """Easyconfig parameters specific to libxml2."""
     extra_vars = ConfigureMake.extra_options()
     return PythonPackage.extra_options(extra_vars=extra_vars)
예제 #55
0
 def extra_options():
     extra_vars = {
          'platform': [None, "Target platform to build for (e.g. linux-g++-64, linux-icc-64)", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)
예제 #56
0
 def extra_options():
     extra_vars = {
          'platform': [None, "Target platform to build for (e.g. linux-g++-64, linux-icc-64)", CUSTOM],
          'prefix_opt': [None, "Prefix command line option for configure script ('--prefix=' if None)", CUSTOM],
     }
     return ConfigureMake.extra_options(extra_vars)