def METHOD_NAME(self, version):
    url = "https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/archive/"
    if version <= Version("3.5.0"):
        url += "{0}.tar.gz".format(version)
    else:
        url += "rocm-{0}.tar.gz".format(version)
    return url