diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-19 18:24:07 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-19 18:24:07 +0900 |
| commit | a770d62b9be4306846b7e1d8c0c94968be175f58 (patch) | |
| tree | af5dea8fed5799f0e54fff56f7e481517263b6b5 /internal/rosa/package | |
| parent | ff44060763eedf385d9218cc5a93344b8bb04021 (diff) | |
internal/rosa/package: migrate meson
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package')
| -rw-r--r-- | internal/rosa/package/meson.az | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/internal/rosa/package/meson.az b/internal/rosa/package/meson.az new file mode 100644 index 00000000..90ae9354 --- /dev/null +++ b/internal/rosa/package/meson.az @@ -0,0 +1,56 @@ +package meson { + description = "an open source build system"; + website = "https://mesonbuild.com"; + anitya = 6472; + + version* = "1.11.1"; + source = remoteGitHub { + suffix = "mesonbuild/meson"; + tag = version; + checksum = "uvILRxdopwc6Dy17UbIeClcQr0qHqyTaqyk1M9OqWKN9PwB9N6UVAiyN8kSSz3r2"; + }; + + env = [ + "CMAKE_MAKE_PROGRAM=ninja", + ]; + + exec = pip { + enterSource = true; + check = ` +cd 'test cases' +rm -rf \ + 'common/32 has header' \ + 'common/66 vcstag' \ + 'common/153 wrap file should not failed' \ + 'common/184 openmp' \ + 'common/189 check header' \ + 'linuxlike/6 subdir include order' \ + 'linuxlike/9 compiler checks with dependencies' \ + 'linuxlike/13 cmake dependency' \ + 'frameworks/15 llvm' \ + 'frameworks/29 blocks' +cd .. + +python3 ./run_project_tests.py \ + -v \ + ` + jobsFlagE + ` \ + --failfast \ + --backend=ninja +`; + }; + + inputs = [ + python-setuptools, + pkg-config, + cmake, + ninja, + python-pytest, + ]; + + runtime = [ + python, + pkg-config, + cmake, + ninja, + ]; +} |
