fab.fab_base.site_specific.default.setup_gnu#

This file contains a function that sets the default flags for all GNU based compilers and linkers in the ToolRepository.

This function gets called from the default site-specific config file

Functions

setup_gnu(build_config, args)

Defines the default flags for all GNU compilers and linkers.

fab.fab_base.site_specific.default.setup_gnu.setup_gnu(build_config, args)#

Defines the default flags for all GNU compilers and linkers.

Parameters:
  • build_config (BuildConfig) – the Fab build config instance from which required parameters can be taken.

  • args (Namespace) – all command line options

Return type:

Dict[str, List[AddFlags]]