def METHOD_NAME(self):
    spec = self.spec
    args = []
    if spec.satisfies("@3.5.0"):
        args.append(
            "-DCMAKE_PREFIX_PATH={0}/include/hsa;{1}/include,".format(
                spec["hsa-rocr-dev"].prefix, spec["hsakmt-roct"].prefix
            )
        )
    if spec.satisfies("@3.7.0:5.1"):
        args.append(self.define("CMAKE_MODULE_PATH", spec["hip"].prefix.cmake))
    elif spec.satisfies("@5.2.0:"):
        args.append(self.define("CMAKE_MODULE_PATH", spec["hip"].prefix.lib.cmake.hip))
    return args