internal/rosa/package: azalea proposal

This commit is contained in:
mae
2026-05-23 20:50:35 -05:00
parent 689f972976
commit 0307f781a2
75 changed files with 2854 additions and 2879 deletions

View File

@@ -1,50 +1,47 @@
package tamago {
description = "a Go toolchain extended with support for bare metal execution";
website = "https://github.com/usbarmory/tamago-go";
anitya = 388872;
//az:schema mbf
version* = "1.26.3";
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.3"
source = remoteGitHub {
suffix = "usbarmory/tamago-go";
tag = "tamago-go"+version;
checksum = "-nH3MjAzDDLTeJ2hRKYJcJwo5-Ikci4zOHfB8j1vKn7zrF9TS6zYaoLi8qohGwAE";
};
suffix = "usbarmory/tamago-go"
tag = "tamago-go"+version
checksum = "-nH3MjAzDDLTeJ2hRKYJcJwo5-Ikci4zOHfB8j1vKn7zrF9TS6zYaoLi8qohGwAE"
}
env = [
"CC=cc",
"GOCACHE=/tmp/gocache",
"CGO_ENABLED=0",
];
"CC=cc"
"GOCACHE=/tmp/gocache"
"CGO_ENABLED=0"
]
enterSource = true;
enterSource
exec = generic {
inPlace = true;
build = `
mkdir /work/system/
cp -r . /work/system/tamago
cd /work/system/tamago/src
chmod -R +w ..
inPlace
build = r`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"
install = "../bin/go tool dist banner # print build info"
}
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 ];
inputs = [ bash, go ]
}