def _huge_sources_hook(sources):
    _sources = str(sources).replace("\\", "/")
    if len(str(_sources)) < MAX_SOURCES_LENGTH:
        return sources

    tmp_file = join(gettempdir(), "pioarargs-%s" % md5(_sources).hexdigest())
    with open(tmp_file, "w") as f:
        # fix space in paths
        for line in _sources.split(".o "):
            if not line.endswith(".o"):
                line += ".o"
            f.write('"%s" ' % line)

    return '@"%s"' % tmp_file
dataset/ETHPy150Open platformio/platformio/platformio/builder/tools/pioar.py/_huge_sources_hook/original