internal/rosa/package: muon
Test / Create distribution (push) Successful in 57s
Test / Sandbox (push) Successful in 2m51s
Test / ShareFS (push) Successful in 3m58s
Test / Hakurei (push) Successful in 4m14s
Test / Sandbox (race detector) (push) Successful in 5m37s
Test / Hakurei (race detector) (push) Successful in 6m41s
Test / Flake checks (push) Successful in 1m8s
Test / Create distribution (push) Successful in 57s
Test / Sandbox (push) Successful in 2m51s
Test / ShareFS (push) Successful in 3m58s
Test / Hakurei (push) Successful in 4m14s
Test / Sandbox (race detector) (push) Successful in 5m37s
Test / Hakurei (race detector) (push) Successful in 6m41s
Test / Flake checks (push) Successful in 1m8s
Python-free meson drop-in replacement. Test suite still pulls in bootstrap python, but that is fine. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
package meson-tests {
|
||||
description = "tests from meson/test cases, updated alongside muon";
|
||||
website = "https://github.com/muon-build/meson-tests";
|
||||
exclude = true;
|
||||
|
||||
version# = "0bbaa42e7ba553356fbec038e8b40cf89f90da82";
|
||||
output = remoteTar {
|
||||
url = "https://github.com/muon-build/meson-tests/archive/"+
|
||||
version+".tar.gz";
|
||||
checksum = "W_yNC2Id1aGBXLmBhrQ53UARVBl-nZ2bDZJcmZDaE4GyoZyj6tSURojuTyWgG1U8";
|
||||
compress = gzip;
|
||||
};
|
||||
}
|
||||
|
||||
package muon {
|
||||
description = "meson implementation in C";
|
||||
website = "https://muon.build";
|
||||
anitya = 391173;
|
||||
|
||||
version# = "0.6.0";
|
||||
source = remoteTar {
|
||||
url = "https://git.sr.ht/~lattis/muon/archive/"+version+".tar.gz";
|
||||
checksum = "DiRw1dTaHlL5d3TNK8gykFHI_BAWK7ERooSmVC-kltUkjOubWkN9b-DG21a1ETCe";
|
||||
compress = gzip;
|
||||
};
|
||||
extra = [ meson-tests ];
|
||||
|
||||
writable = true;
|
||||
early = `
|
||||
chmod +w subprojects
|
||||
cp -r ../extra/meson-tests subprojects
|
||||
chmod -R +w subprojects/meson-tests
|
||||
sed -i '/common.220 fs module/d' subprojects/meson-tests/meson.build
|
||||
`;
|
||||
|
||||
exec = generic {
|
||||
build = `
|
||||
(cd /usr/src/muon && CC=cc ./bootstrap.sh /boot)
|
||||
/boot/muon-bootstrap setup \
|
||||
-Dprefix=/system \
|
||||
-Dbuildtype=release \
|
||||
-Dlibcurl=disabled \
|
||||
-Dlibarchive=disabled \
|
||||
-Dlibpkgconf=disabled \
|
||||
-Dtracy=disabled \
|
||||
-Dmeson-docs=disabled \
|
||||
-Dmeson-tests=enabled \
|
||||
-Dwebsite=disabled \
|
||||
/usr/src/muon
|
||||
/boot/muon-bootstrap samu `+jobsFlagE+`
|
||||
`;
|
||||
check = "./muon test "+jobsFlagE+" -R\n";
|
||||
install = "./muon install -d /work\n";
|
||||
};
|
||||
|
||||
inputs = [
|
||||
python-early,
|
||||
kernel-headers,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user