1
0
Fork 0
forked from hanez/xtc

Phase 30: complete configurable installation and release qualification

This commit is contained in:
Johannes Findeisen 2026-10-27 17:13:09 +01:00
commit 90eac33a71
18 changed files with 399 additions and 59 deletions

View file

@ -44,6 +44,11 @@ def main():
flags = subprocess.check_output(['pkg-config', '--cflags', '--libs', '--static', 'xtc'], env=env, text=True)
assert str(prefix / 'include') in flags or str(prefix / 'lib/pkgconfig/../../include') in flags
assert (prefix / 'share/doc/xtc/USER_MANUAL.md').exists()
assert (prefix / 'share/doc/xtc/RELEASE_NOTES.md').exists()
subprocess.run([str(prefix / 'bin/xtc-check'), '--inspect',
str(prefix / 'share/xtc/examples/midi-demo.xtc')], check=True)
for name in ('project-performance-baseline.json', 'graph-performance-phase29.json'):
assert (prefix / 'share/doc/xtc' / name).is_file()
if a.build_dir:
again = root / 'repacked.tar.gz'
command = [sys.executable, 'tools/package.py', '--build-dir', str(a.build_dir), '--output', str(again)]