Files
hakurei/internal/rosa/package/tamago.az
T
cat b4916dd431
Test / Create distribution (push) Successful in 53s
Test / Sandbox (push) Successful in 2m43s
Test / Hakurei (push) Successful in 3m50s
Test / ShareFS (push) Successful in 3m53s
Test / Sandbox (race detector) (push) Successful in 5m42s
Test / Hakurei (race detector) (push) Successful in 6m40s
Test / Flake checks (push) Successful in 1m6s
internal/rosa/package/tamago: 1.26.4 to 1.26.5
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-14 22:29:37 +09:00

51 lines
1.1 KiB
Go

package tamago {
description = "a Go toolchain extended with support for bare metal execution";
website = "https://github.com/usbarmory/tamago-go";
anitya = 388872;
version# = "1.26.5";
source = remoteGitHub {
suffix = "usbarmory/tamago-go";
tag = "tamago-go"+version;
checksum = "QESl24dveM1jniFx_PkPGbxQe7daHcnMlMQXC1MXz6EEmxSeYyrI-tMLi0NEu8QE";
};
env = [
"CC=cc",
"GOCACHE=/tmp/gocache",
"CGO_ENABLED=0",
];
enterSource = true;
exec = generic {
inPlace = true;
build = `
mkdir /work/system/
cp -r . /work/system/tamago
cd /work/system/tamago/src
chmod -R +w ..
sed -i \
's,/lib/ld-musl-` + linuxArch + `.so.1,/system/bin/linker,' \
cmd/link/internal/` + arch + `/obj.go
sed -i \
's/cpu.X86.HasAVX512VBMI/& \&\& cpu.X86.HasPOPCNT/' \
internal/runtime/gc/scan/scan_amd64.go
rm \
os/root_unix_test.go \
cmd/cgo/internal/testsanitizers/tsan_test.go \
cmd/cgo/internal/testsanitizers/cshared_test.go
set +u
. ./make.bash "$@" --no-banner
set -u
`;
check = "bash run.bash --no-rebuild\n";
install = "../bin/go tool dist banner # print build info";
};
inputs = [ bash, go ];
}