Exemplo n.º 1
0
def main(op):
    scripts = []

    for py_version, py_info in pythons.items():
        py_compilers = compilers[py_info["compiler"]][py_info["vc"]]
        scripts.append(
            (
                py_version,
                "\n".join(
                    [header(op), build_one(py_version, py_compilers[32], 32), footer()]
                ),
            )
        )

        scripts.append(
            (
                "{}{}".format(py_version, X64_EXT),
                "\n".join(
                    [
                        header(op),
                        build_one("%sx64" % py_version, py_compilers[64], 64),
                        footer(),
                    ]
                ),
            )
        )

    results = map(run_script, scripts)

    for (version, status, trace, err) in results:
        print("Compiled {}: {}".format(version, status and "ERR" or "OK"))
Exemplo n.º 2
0
def main(op):
    scripts = []

    for py_version, compiler_version in pythons.items():
        scripts.append((py_version, "\n".join([
            header(op),
            build_one(py_version, compilers[(compiler_version, 32)]),
            footer()
        ])))

        scripts.append(("%s%s" % (py_version, X64_EXT), "\n".join([
            header(op),
            build_one("%sx64" % py_version, compilers[(compiler_version, 64)]),
            footer()
        ])))

    results = map(run_script, scripts)

    for (version, status, trace, err) in results:
        print("Compiled %s: %s" % (version, status and 'ERR' or 'OK'))
Exemplo n.º 3
0
def main(op):
    scripts = []

    for py_version, py_info in pythons.items():
        py_compilers = compilers[py_info['compiler']][py_info['vc']]
        scripts.append((py_version, "\n".join([
            header(op),
            build_one(py_version, py_compilers[32], 32),
            footer()
        ])))

        scripts.append(("%s%s" % (py_version, X64_EXT), "\n".join([
            header(op),
            build_one("%sx64" % py_version, py_compilers[64], 64),
            footer()
        ])))

    results = map(run_script, scripts)

    for (version, status, trace, err) in results:
        print("Compiled %s: %s" % (version, status and 'ERR' or 'OK'))
Exemplo n.º 4
0
def main(op):
    scripts = []

    for py_version, py_info in pythons.items():
        py_compilers = compilers[py_info['compiler']][py_info['vc']]
        scripts.append((py_version,
                        "\n".join([header(op),
                                   build_one(py_version,
                                             py_compilers[32], 32),
                                   footer()])))

        scripts.append(("%s%s" % (py_version, X64_EXT),
                        "\n".join([header(op),
                                   build_one("%sx64" % py_version,
                                             py_compilers[64], 64),
                                   footer()])))

    results = map(run_script, scripts)

    for (version, status, trace, err) in results:
        print("Compiled %s: %s" % (version, status and 'ERR' or 'OK'))
Exemplo n.º 5
0
def main(op):
    scripts = []

    for py_version, compiler_version in pythons.items():
        scripts.append((py_version,
                        "\n".join([header(op),
                                   build_one(py_version,
                                             compilers[(compiler_version,
                                                        32)]),
                                   footer()])))

        scripts.append(("%s%s" % (py_version, X64_EXT),
                        "\n".join([header(op),
                                   build_one("%sx64" % py_version,
                                             compilers[(compiler_version,
                                                        64)]),
                                   footer()])))

    results = map(run_script, scripts)

    for (version, status, trace, err) in results:
        print("Compiled %s: %s" % (version, status and 'ERR' or 'OK'))