easybuild.tools.toolchain.variables module

Toolchain specific variables

author:Stijn De Weirdt (Ghent University)
author:Kenneth Hoste (Ghent University)
class easybuild.tools.toolchain.variables.CommaStaticLibs(*args, **kwargs)

Bases: easybuild.tools.toolchain.variables.LibraryList

Comma-separated list

PREFIX = 'lib'
SEPARATOR = ','
SUFFIX = '.a'
class easybuild.tools.toolchain.variables.CommandFlagList(*args, **kwargs)

Bases: easybuild.tools.toolchain.variables.FlagList

Command and flags list
First of the list has no prefix (i.e. the executable) The remainder of the options are considered flags
class easybuild.tools.toolchain.variables.FlagList(*args, **kwargs)

Bases: easybuild.tools.variables.StrList

Flag list

PREFIX = '-'
class easybuild.tools.toolchain.variables.IncludePaths(*args, **kwargs)

Bases: easybuild.tools.variables.AbsPathList

Absolute path to directory containing include files

PREFIX = '-I'
class easybuild.tools.toolchain.variables.LibraryList(*args, **kwargs)

Bases: easybuild.tools.variables.StrList

Link library list

JOIN_BEGIN_END = True
PREFIX = '-l'
SANITIZE_REMOVE_DUPLICATE_KEEP = -1
change(separator=None, separator_begin_end=None, prefix=None, prefix_begin_end=None)

Change prefix and/or separator of base and/or BEGIN/END

set_packed_linker_options(separator=', ', separator_begin_end=', ', prefix=None, prefix_begin_end=None)

Use packed linker options format

class easybuild.tools.toolchain.variables.LinkLibraryPaths(*args, **kwargs)

Bases: easybuild.tools.variables.AbsPathList

Absolute path to directory containing libraries

PREFIX = '-L'
class easybuild.tools.toolchain.variables.LinkerFlagList(*args, **kwargs)

Bases: easybuild.tools.variables.StrList

Linker flags

IS_BEGIN = None
IS_END = None
LINKER_TOGGLE_START_STOP_GROUP = None
LINKER_TOGGLE_STATIC_DYNAMIC = None
PACKED_LINKER_OPTIONS = None
PREFIX = '-Wl,'
sanitize()
toggle_dynamic()

Append dynamic linking flags

toggle_startgroup()

Append start group

toggle_static()

Append static linking flags

toggle_stopgroup()

Append stop group