def target_ranges(self, spec, single_target_fn):
    target = spec.architecture.target
    if (str(target) in archspec.cpu.TARGETS):
        return [single_target_fn(spec.name, target)]
    self.target_constraints.add((spec.name, target))
    return [fn.node_target_satisfies(spec.name, target)]
def target_ranges(self, spec, single_target_fn):
    target = spec.architecture.target
    if (str(target) in archspec.cpu.TARGETS):
        return [single_target_fn(spec.name, target)]
    self.target_constraints.add((spec.name, target))
    return [fn.node_target_satisfies(spec.name, target)]