Skip to content

Commit

Permalink
Update results.py
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriiPerets authored Aug 12, 2024
1 parent 9286b61 commit dffd9d1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/bashi/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,3 +641,20 @@ def filter_func(param_val_pair: ParameterValuePair) -> bool:
return True

parameter_value_pairs[:] = filter(filter_func, parameter_value_pairs)

def _remove_unsupported_gcc_versions_for_ubuntu2004(parameter_value_pairs: List[ParameterValuePair]):
"""Remove pairs where GCC version 6 is used with Ubuntu 20.04.
Args:
parameter_value_pairs (List[ParameterValuePair]): List of parameter-value pairs.
"""
for compiler_type in (HOST_COMPILER, DEVICE_COMPILER):
remove_parameter_value_pairs(
parameter_value_pairs,
parameter1=compiler_type,
value_name1=GCC,
value_version1="!=6",
parameter2=UBUNTU,
value_name2=UBUNTU,
value_version2="!=20.04",
)

0 comments on commit dffd9d1

Please sign in to comment.