VaRA research tool¶
Module for the research tool VaRA that describes the VaRA code base layout and how to configure and setup VaRA.
- class varats.tools.research_tools.vara.VaRACodeBase(base_dir)[source]¶
Bases:
varats.tools.research_tools.research_tool.CodeBaseLayout of the VaRA code base: setting up vara-llvm-project fork, VaRA, and optinaly phasar for static analysis.
- setup_vara_remotes()[source]¶
Sets up VaRA specific upstream remotes for projects that were forked.
- Return type
None
- setup_build_link()[source]¶
Setup build-config folder link for VaRA’s default build setup scripts.
- Return type
None
- class varats.tools.research_tools.vara.VaRA(base_dir)[source]¶
Bases:
varats.tools.research_tools.research_tool.ResearchTool[varats.tools.research_tools.vara.VaRACodeBase]Research tool implementation for VaRA.
Find the main repo online on github: https://github.com/se-passau/VaRA
- static source_location()[source]¶
Returns the source location of the research tool.
- Return type
Path
- static has_source_location()[source]¶
Checks if a source location of the research tool is configured.
- Return type
bool
- static install_location()[source]¶
Returns the install location of the research tool.
- Return type
Path
- static has_install_location()[source]¶
Checks if a install location of the research tool is configured.
- Return type
bool
- setup(source_folder, **kwargs)[source]¶
Setup the research tool VaRA with it’s code base. This method sets up all relevant config variables, downloads repositories via the
CodeBase, checkouts the correct branches and prepares the research tool to be built.- Parameters
source_folder (
Optional[Path]) – location to store the code base in**kwargs –
version
install_prefix
- Return type
None