pystencils.jit.cpu.compiler_info.ClangInfo

pystencils.jit.cpu.compiler_info.ClangInfo#

class pystencils.jit.cpu.compiler_info.ClangInfo(openmp=True, optlevel='fast', cxx_standard='c++11', target=<Target.CurrentCPU: 32769>, llvm_version=None)#

Compiler info for the LLVM C++ compiler (clang).

Parameters:
  • openmp (bool)

  • optlevel (str | None)

  • cxx_standard (str)

  • target (Target)

  • llvm_version (int | None)

llvm_version: int | None = None#

Major version number of the LLVM installation providing the compiler.

cxx()#

Path to the executable of this compiler

Return type:

str

linker_flags()#

Flags affecting linkage of the extension module

Return type:

list[str]