dolfin.pkgconfig

Tool for querying pkg-config files

This module exists solely to extract the compilation and linking information saved in the dolfin.pc pkg-config file, needed for JIT compilation.

Functions

exists(package)

Test for the existence of a pkg-config file for a named package

parse(package)

Return a dict containing compile-time definitions

dolfin.pkgconfig.exists(package)[source]

Test for the existence of a pkg-config file for a named package

dolfin.pkgconfig.parse(package)[source]

Return a dict containing compile-time definitions