Giter VIP home page Giter VIP logo

pymingwbuild's People

Contributors

mavericktse avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

yumetodo

pymingwbuild's Issues

[proposal]use github api

Extracting url with regex hack is dirty. Why don't you use Github API?

import json
from urllib import request, response
j = json.loads(request.urlopen("https://api.github.com/repos/mirror/mingw-w64/tags").read().decode())

final_url = j[1]

# Search latest version except rc
for i, o in enumerate(j):
    if not "rc" in o["name"]:
        final_url = o["tarball_url"]
        break

# Search for preferred version
for i, o in enumerate(j):
    if o["name"] == preferred_version:
        final_url = o["tarball_url"]
        break

command line options not working

The scrypt seems to just ignore command line [options]. I tried to set the gcc version, but thought I must be doing something wrong, so I ended up downloading the version I wanted, put it in the pkgs folder, and changed the name, so the scrypt would skip extracting it. I tried python3 tc-builder.py --skip-gmp --skip-mpfr --skip-isl --skip-mpc , but it configures and builds each one still. It doesn't just say that it's building them, it must be, because of the time it spends on each option. I just wanted to bring it to your attention - someone with a slow cpu, and not very many cores, could spend a lot of unnecessary time on those steps. Maybe I'm doing something wrong. Thanks.

Also, why will it not download the latest gcc? it only wants to get 9.3.0, but 10.1.0 is available on the same server.

I guess I should add, that pretty much all the dependencies are outdated.

Downloaded from HTTP {'gmp': './pkgs/gmp-6.1.0', 'isl': './pkgs/isl-0.18', 'mingw-w64': './pkgs/mingw-w64-7.0.0', 'pkgconf': './pkgs/pkgconf-1.6.3', 'gcc': './pkgs/gcc-9.3.0', 'mpc': './pkgs/mpc-1.0.3', 'binutils': './pkgs/binutils-2.34', 'mpfr': './pkgs/mpfr', 'cloog': './pkgs/cloog-0.18.1'}

gmp-6.2.0, isl-0.21, gcc-10.1.0, mpc-1.1.0 are more recent versions, they had to be downloaded and put in pkgs folder to trick the scrypt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.