From Fedora Project Wiki
No edit summary
Line 4: Line 4:
这里记录所有关于 [[Architectures/RISC-V|RISC-V]] 的 Fedora 软件包的信息 .  如果你想帮忙编译软件包或者修复有问题的软件包,你来对地方了。
这里记录所有关于 [[Architectures/RISC-V|RISC-V]] 的 Fedora 软件包的信息 .  如果你想帮忙编译软件包或者修复有问题的软件包,你来对地方了。


= Autobuilder =
= 自动编译工具 =


All packages are now built with an [https://github.com/rwmjones/fedora-riscv-autobuild autobuilder] which picks up packages as they are built in [http://koji.fedoraproject.org/koji/ Fedora Koji build system] and tries to rebuild them for RISC-V.  [https://fedorapeople.org/groups/risc-v/ The status of builds, build logs, RPMs and SRPMs can be found here].
现在,所有软件包都用 [https://github.com/rwmjones/fedora-riscv-autobuild 自动编译工具] 来编译。 which picks up packages as they are built in [http://koji.fedoraproject.org/koji/ Fedora Koji build system] and tries to rebuild them for RISC-V.  [https://fedorapeople.org/groups/risc-v/ The status of builds, build logs, RPMs and SRPMs can be found here].


The autobuilder can also be manually told to build a particular package, or to do a mass rebuild of every package in Fedora.  If you need a particular package rebuilt, please ping <code>rwmjones</code> in the <code>#fedora-riscv</code> IRC channel on FreeNode.
The autobuilder can also be manually told to build a particular package, or to do a mass rebuild of every package in Fedora.  If you need a particular package rebuilt, please ping <code>rwmjones</code> in the <code>#fedora-riscv</code> IRC channel on FreeNode.

Revision as of 09:38, 2 December 2016

Shortcut:
Arch:RISC-V

这里记录所有关于 RISC-V 的 Fedora 软件包的信息 . 如果你想帮忙编译软件包或者修复有问题的软件包,你来对地方了。

自动编译工具

现在,所有软件包都用 自动编译工具 来编译。 which picks up packages as they are built in Fedora Koji build system and tries to rebuild them for RISC-V. The status of builds, build logs, RPMs and SRPMs can be found here.

The autobuilder can also be manually told to build a particular package, or to do a mass rebuild of every package in Fedora. If you need a particular package rebuilt, please ping rwmjones in the #fedora-riscv IRC channel on FreeNode.

We are currently only building Fedora 25 packages, but expect to move to Rawhide in the near future.

Fixing broken builds

Fedora has an upstream first policy and Fedora/RISC-V tries to stay as close as possible to this rule. Please send all your riscv64 changes to the upstream project. From there they will trickle down into Fedora.

If your package needs specfile changes, then you can ask the Fedora package maintainer to add those changes for you. However you should not do this for hacks, for patches which should go upstream, or for missing dependencies. If there are missing dependencies, work on the dependencies first. More information on this point.

If you have fixed a build, then there are two ways to get it into Fedora/RISC-V. Either do a primary arch build in Koji, which (if successful) the autobuilder will pick up automatically. Or ping rwmjones on #fedora-riscv and he will kick off a manual build.

Exceptions to upstream first policy

Currently we have forked the following packages:

  • kernel
  • glibc
  • binutils
  • gcc
  • gdb

This is a temporary situation. We encourage RISC-V to send their changes to these projects upstream as soon as possible.

Testing builds locally

Download the stage4 disk image and follow the instructions: Architectures/RISC-V/Disk images.

How stage4 is built

See this repository.