pyccel.codegen.utilities module#
This file contains some useful functions to compile the generated fortran code
- pyccel.codegen.utilities.recompile_object(compile_obj, compiler, language, verbose=False)[source]#
Compile the provided file if necessary.
Check if the file has already been compiled, if it hasn’t or if the source has been modified then compile the file.
- Parameters:
compile_obj (CompileObj) – The object to compile.
compiler (str) – The compiler used.
language (str) – The language in which code is being printed.
verbose (int) – Indicates the level of verbosity.