def METHOD_NAME(config, relic_target):
    build_dir = "build_" + config['label']
    try:
        prepare_configuration(build_dir)
        config_configuration(config, build_dir, relic_target)
        build_configuration(build_dir)
        test_configuration(config)
    except Exception as e:
        print("Build failed: ", str(config), e)
        exc_type, exc_value, exc_traceback = sys.exc_info()
        traceback.print_tb(exc_traceback)
    clean_configuration(build_dir)