nlcpy.jit.get_default_ldflags

nlcpy.jit.get_default_ldflags(openmp=True)[source]

Gets default linker flags.

Parameters
openmpbool

Enables OpenMP or not. Defaults to True.

Returns
ldflagstuple of str

Linker flags.

Examples

>>> import nlcpy
>>> nlcpy.jit.get_default_ldflags(openmp=True)
('-fpic', '-shared', '-fopenmp')