Skip to content

compiler

Toolchain compiler module, provides abstract class for compilers.

Authors:

  • Stijn De Weirdt (Ghent University)
  • Kenneth Hoste (Ghent University)
  • Damian Alvarez (Forschungszentrum Juelich GmbH)

Compiler

Bases: Toolchain

General compiler-like class can't be used without creating new class C(Compiler,Toolchain)

__init__(*args, **kwargs)

Compiler constructor.

comp_family(prefix=None)

Return compiler family used in this toolchain. @prefix: Prefix for compiler (e.g. 'CUDA_').

set_options(options)

Process compiler toolchain options.

set_variables()

Set the variables

mk_infix(prefix)

Create an infix based on the given prefix.