Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace binary toolchain with code to download it from SiFive #23

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Oct 28, 2020

  1. Remove parts of toolchain from SiFive distribution

    Files found in
    https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
    do not have to be stored in binary form in this repo as they have known
    build script and could be rebuilt from source.
    v3l0c1r4pt0r committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    e0fedbe View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2020

  1. Recreate toolchain from tarball if not present in tree

    Download tarball from SiFive and extract to exactly same location, where
    it was committed, just before attempting to make any further make rules.
    
    File .generated.linux.gtk.x86_64 is used as an indicator that toolchain
    is fine, so download and unpack is done only, if it's not there. This
    avoids redownloading on every make call.
    v3l0c1r4pt0r committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    34c2000 View commit details
    Browse the repository at this point in the history
  2. Ignore unpacked binary files

    Whole toolchain should not make its way into repository, anymore
    v3l0c1r4pt0r committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    75ae816 View commit details
    Browse the repository at this point in the history
  3. Use .installed for toolchain readiness indication

    Using .generated* of a name that was used before would break Darwin and
    MSYS. Now they should work, too.
    v3l0c1r4pt0r committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    bac18cd View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. Configuration menu
    Copy the full SHA
    2fd5691 View commit details
    Browse the repository at this point in the history