Package Details: riscv-gnu-toolchain 2021.09.16-1

Git Clone URL: https://aur.archlinux.org/riscv-gnu-toolchain.git (read-only, click to copy)
Package Base: riscv-gnu-toolchain
Description: GNU toolchain for RISC-V, including GCC. Includes: riscv64-unknown-elf-gcc, riscv32-unknown-elf-gcc, riscv64-unknown-linux-gnu-gcc, and riscv32-unknown-linux-gnu-gcc.
Upstream URL: https://github.com/riscv-collab/riscv-gnu-toolchain
Keywords: riscv32 riscv32-unknown-elf-gcc riscv32-unknown-linux-gnu-gcc riscv64 riscv64-unknown-elf-gcc riscv64-unknown-linux-gnu-gcc
Licenses: GPL2
Provides: riscv-gnu-toolchain, riscv32-unknown-elf-addr2line, riscv32-unknown-elf-ar, riscv32-unknown-elf-as, riscv32-unknown-elf-c++, riscv32-unknown-elf-c++filt, riscv32-unknown-elf-cpp, riscv32-unknown-elf-elfedit, riscv32-unknown-elf-g++, riscv32-unknown-elf-gcc, riscv32-unknown-elf-gcc-11.1.0, riscv32-unknown-elf-gcc-ar, riscv32-unknown-elf-gcc-nm, riscv32-unknown-elf-gcc-ranlib, riscv32-unknown-elf-gcov, riscv32-unknown-elf-gcov-dump, riscv32-unknown-elf-gcov-tool, riscv32-unknown-elf-gdb, riscv32-unknown-elf-gdb-add-index, riscv32-unknown-elf-gprof, riscv32-unknown-elf-ld, riscv32-unknown-elf-ld.bfd, riscv32-unknown-elf-lto-dump, riscv32-unknown-elf-nm, riscv32-unknown-elf-objcopy, riscv32-unknown-elf-objdump, riscv32-unknown-elf-ranlib, riscv32-unknown-elf-readelf, riscv32-unknown-elf-run, riscv32-unknown-elf-size, riscv32-unknown-elf-strings, riscv32-unknown-elf-strip, riscv32-unknown-linux-gnu-addr2line, riscv32-unknown-linux-gnu-ar, riscv32-unknown-linux-gnu-as, riscv32-unknown-linux-gnu-c++, riscv32-unknown-linux-gnu-c++filt, riscv32-unknown-linux-gnu-cpp, riscv32-unknown-linux-gnu-elfedit, riscv32-unknown-linux-gnu-g++, riscv32-unknown-linux-gnu-gcc, riscv32-unknown-linux-gnu-gcc-11.1.0, riscv32-unknown-linux-gnu-gcc-ar, riscv32-unknown-linux-gnu-gcc-nm, riscv32-unknown-linux-gnu-gcc-ranlib, riscv32-unknown-linux-gnu-gcov, riscv32-unknown-linux-gnu-gcov-dump, riscv32-unknown-linux-gnu-gcov-tool, riscv32-unknown-linux-gnu-gdb, riscv32-unknown-linux-gnu-gdb-add-index, riscv32-unknown-linux-gnu-gfortran, riscv32-unknown-linux-gnu-gprof, riscv32-unknown-linux-gnu-ld, riscv32-unknown-linux-gnu-ld.bfd, riscv32-unknown-linux-gnu-lto-dump, riscv32-unknown-linux-gnu-nm, riscv32-unknown-linux-gnu-objcopy, riscv32-unknown-linux-gnu-objdump, riscv32-unknown-linux-gnu-ranlib, riscv32-unknown-linux-gnu-readelf, riscv32-unknown-linux-gnu-run, riscv32-unknown-linux-gnu-size, riscv32-unknown-linux-gnu-strings, riscv32-unknown-linux-gnu-strip, riscv64-unknown-elf-addr2line, riscv64-unknown-elf-ar, riscv64-unknown-elf-as, riscv64-unknown-elf-c++, riscv64-unknown-elf-c++filt, riscv64-unknown-elf-cpp, riscv64-unknown-elf-elfedit, riscv64-unknown-elf-g++, riscv64-unknown-elf-gcc, riscv64-unknown-elf-gcc-11.1.0, riscv64-unknown-elf-gcc-ar, riscv64-unknown-elf-gcc-nm, riscv64-unknown-elf-gcc-ranlib, riscv64-unknown-elf-gcov, riscv64-unknown-elf-gcov-dump, riscv64-unknown-elf-gcov-tool, riscv64-unknown-elf-gdb, riscv64-unknown-elf-gdb-add-index, riscv64-unknown-elf-gprof, riscv64-unknown-elf-ld, riscv64-unknown-elf-ld.bfd, riscv64-unknown-elf-lto-dump, riscv64-unknown-elf-nm, riscv64-unknown-elf-objcopy, riscv64-unknown-elf-objdump, riscv64-unknown-elf-ranlib, riscv64-unknown-elf-readelf, riscv64-unknown-elf-run, riscv64-unknown-elf-size, riscv64-unknown-elf-strings, riscv64-unknown-elf-strip, riscv64-unknown-linux-gnu-addr2line, riscv64-unknown-linux-gnu-ar, riscv64-unknown-linux-gnu-as, riscv64-unknown-linux-gnu-c++, riscv64-unknown-linux-gnu-c++filt, riscv64-unknown-linux-gnu-cpp, riscv64-unknown-linux-gnu-elfedit, riscv64-unknown-linux-gnu-g++, riscv64-unknown-linux-gnu-gcc, riscv64-unknown-linux-gnu-gcc-11.1.0, riscv64-unknown-linux-gnu-gcc-ar, riscv64-unknown-linux-gnu-gcc-nm, riscv64-unknown-linux-gnu-gcc-ranlib, riscv64-unknown-linux-gnu-gcov, riscv64-unknown-linux-gnu-gcov-dump, riscv64-unknown-linux-gnu-gcov-tool, riscv64-unknown-linux-gnu-gdb, riscv64-unknown-linux-gnu-gdb-add-index, riscv64-unknown-linux-gnu-gfortran, riscv64-unknown-linux-gnu-gprof, riscv64-unknown-linux-gnu-ld, riscv64-unknown-linux-gnu-ld.bfd, riscv64-unknown-linux-gnu-lto-dump, riscv64-unknown-linux-gnu-nm, riscv64-unknown-linux-gnu-objcopy, riscv64-unknown-linux-gnu-objdump, riscv64-unknown-linux-gnu-ranlib, riscv64-unknown-linux-gnu-readelf, riscv64-unknown-linux-gnu-run, riscv64-unknown-linux-gnu-size, riscv64-unknown-linux-gnu-strings, riscv64-unknown-linux-gnu-strip
Submitter: sickcodes
Maintainer: sickcodes
Last Packager: sickcodes
Votes: 0
Popularity: 0.000000
First Submitted: 2021-09-20 10:25
Last Updated: 2021-09-20 10:25

Pinned Comments

sickcodes commented on 2021-09-20 10:27

If this package is out of date for a day or two while I catch up, you can use change the nightly release date as specified in the releases page: https://github.com/riscv-collab/riscv-gnu-toolchain/releases

Pull requests: https://github.com/sickcodes/aur

Latest Comments

sickcodes commented on 2021-09-22 01:27

Thank you felix, I moved the nightly style build to https://aur.archlinux.org/packages/riscv-gnu-toolchain-bin/

I will modify this PKGBUILD to create from source.

Secondly, thanks for confirming that it's okay to get creative with pkgver()!

I will adjust any other, or future -git packages :)

felixonmars commented on 2021-09-21 18:04

-git ones are supposed to using git sources and do not need any changes to always point to the latest source (with the help of a pkgver() function). This package could build from source of a tag (pre-released one works too imho, if there is no stable release).

I agree that you should move the current downloading-binary one to -bin :)

sickcodes commented on 2021-09-21 17:55

Hey Felix, thanks for the feedback as I was considering making a -git version for built versions.

Alternatively, should I move this rendition to -bin and replace this with the build from sources one with the extra flags instead of using -git?

felixonmars commented on 2021-09-21 17:09

Hi. Since this package is installing from pre-built binary packages, it should use the "-bin" suffix (e.g. riscv-gnu-toolchain-bin).

Also upstream is marking releases as pre-releases, so that a "-nightly" suffix may help too. I am not sure if they are going to make "stable" releases ever, so this is up to you (e.g. riscv-gnu-toolchain-nightly-bin).

sickcodes commented on 2021-09-20 10:27

If this package is out of date for a day or two while I catch up, you can use change the nightly release date as specified in the releases page: https://github.com/riscv-collab/riscv-gnu-toolchain/releases

Pull requests: https://github.com/sickcodes/aur