'Return true if compilers for parent and child are ABI compatible.'

def compiler_compatible(self, parent, child, **kwargs):

    if ((not parent.compiler) or (not child.compiler)):
        return True
    if (parent.compiler.name != child.compiler.name):
        return False
    if kwargs.get('loose', False):
        return True
    for pversion in parent.compiler.versions:
        for cversion in child.compiler.versions:
            if pversion.satisfies(cversion):
                return True
            elif ((parent.compiler.name == 'gcc') and self._gcc_compiler_compare(pversion, cversion)):
                return True
            elif ((parent.compiler.name == 'intel') and self._intel_compiler_compare(pversion, cversion)):
                return True
    return False
