aether_dsc.OpenMP#

class aether_dsc.OpenMP(library, directory, include, compile_flags, link_flags)[source]#

Bases: object

Where the shipped runtime is and how to build against it.

Parameters:
  • library (Path)

  • directory (Path)

  • include (Path | None)

  • compile_flags (tuple[str, ...])

  • link_flags (tuple[str, ...])

library: Path#

the runtime file, .../aether/_omp/libgomp.so.1 or libomp.dylib

directory: Path#

the rpath a dependent adds

Type:

its directory

include: Path | None#

a directory holding omp.h (macOS only; Linux compilers bring their own)

compile_flags: tuple[str, ...]#

flags that turn OpenMP on in a compile

the runtime by full path and the rpath to it

Type:

link line

rpath()[source]#

The directory to put on a dependent’s rpath.

Return type:

str