1
0
forked from rosa/hakurei

internal/rosa/gnu: mpc fetch source tarball

This does not have submodules, so the overhead of git is unnecessary.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-23 12:55:52 +09:00
parent ea0692548f
commit 37a0c3967e

View File

@@ -1052,10 +1052,11 @@ func init() {
func (t Toolchain) newMPC() (pkg.Artifact, string) { func (t Toolchain) newMPC() (pkg.Artifact, string) {
const ( const (
version = "1.4.1" version = "1.4.1"
checksum = "wdXAhplnS89FjVp20m2nC2CmLFQeyQqLpQAfViTy4vPxFdv2WYOTtfBKeIk5_Rec" checksum = "ZffaZyWkvIw0iPvRe5EJ7O-VvHtSkbbb3K_7SgPtK810NvGan7nbF0T5-6tozjQN"
) )
return t.NewPackage("mpc", version, t.newTagRemote( return t.NewPackage("mpc", version, newFromGitLab(
"https://gitlab.inria.fr/mpc/mpc.git", "gitlab.inria.fr",
"mpc/mpc",
version, checksum, version, checksum,
), &PackageAttr{ ), &PackageAttr{
// does not find mpc-impl.h otherwise // does not find mpc-impl.h otherwise