easybuild.main module

Main entry point for EasyBuild: build software from .eb input file

author:Stijn De Weirdt (Ghent University)
author:Dries Verdegem (Ghent University)
author:Kenneth Hoste (Ghent University)
author:Pieter De Baets (Ghent University)
author:Jens Timmerman (Ghent University)
author:Toon Willems (Ghent University)
author:Ward Poelmans (Ghent University)
author:Fotis Georgatos (Uni.Lu, NTUA)
easybuild.main.build_and_install_software(ecs, init_session_state, exit_on_failure=True)

Build and install software for all provided parsed easyconfig files.


Check whether we are running as root, and act accordingly

Parameters:allow_use_as_root – allow use of EasyBuild as root (but do print a warning when doing so)
easybuild.main.find_easyconfigs_by_specs(build_specs, robot_path, try_to_generate, testing=False)

Find easyconfigs by build specifications.

easybuild.main.log_start(eb_command_line, eb_tmpdir)

Log startup info.

easybuild.main.main(args=None, logfile=None, do_build=None, testing=False, modtool=None)

Main function: parse command line options, and act accordingly. :param args: command line arguments to use :param logfile: log file to use :param do_build: whether or not to actually perform the build :param testing: enable testing mode