i6_core.tools.compile
¶
- class i6_core.tools.compile.MakeJob(*args, **kwargs)¶
Executes a sequence of make commands in a given folder
- Parameters:
folder – folder in which the make commands are executed, e.g. a GitCloneRepositoryJob output
make_sequence – list of options that are given to the make calls. defaults to [“all”] i.e. “make all” is executed
configure_opts – if given, runs ./configure with these options before make
num_processes – number of parallel running make processes
output_folder_name – name of the output path folder, if None, the repo is not copied as output
link_outputs – provide “output_name”: “local/repo/file_folder” pairs to link (or copy if output_folder_name=None) files or directories as output. This can be used to access single binaries or a binary folder instead of the whole repository.
- classmethod hash(kwargs)¶
- Parameters:
parsed_args (dict[str]) –
- Returns:
hash for job given the arguments
- Return type:
str
- run()¶
- tasks() Iterator[Task] ¶
- Returns:
yields Task’s
- Return type:
list[sisyphus.task.Task]