def _all_targets_satisfiying(single_constraint):
    allowed_targets = []
    if (':' not in single_constraint):
        return [single_constraint]
    (t_min, _, t_max) = single_constraint.partition(':')
    for test_target in archspec.cpu.TARGETS.values():
        if (t_min and (not (t_min <= test_target))):
            continue
        if (t_max and (not (t_max >= test_target))):
            continue
        allowed_targets.append(test_target)
    return allowed_targets
def _all_targets_satisfiying(single_constraint):
    allowed_targets = []
    if (':' not in single_constraint):
        return [single_constraint]
    (t_min, _, t_max) = single_constraint.partition(':')
    for test_target in archspec.cpu.TARGETS.values():
        if (t_min and (not (t_min <= test_target))):
            continue
        if (t_max and (not (t_max >= test_target))):
            continue
        allowed_targets.append(test_target)
    return allowed_targets