- HandlerMinelayerData: BUILD_RTI Guards für RTI-Abhängigkeiten - svcTabCommon: Export-Header-Fix via Fallback-Target - TrainingAreaBase: Stub-Header für BUILD_RTI=OFF - ddsfts: Include-Pfad und Dependency-Fixes - BUILD_RTI=OFF Compilation vollständig unterstützt Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M0JNZA586SACX1PRZ2DJAE5S
40 lines
1.2 KiB
Python
40 lines
1.2 KiB
Python
#!/usr/bin/env python3
|
|
import subprocess
|
|
import sys
|
|
import os
|
|
|
|
os.chdir('/home/torsten/swy/sandbox')
|
|
|
|
# Configure
|
|
print("=" * 60)
|
|
print("CONFIGURE")
|
|
print("=" * 60)
|
|
result = subprocess.run([
|
|
'docker', 'run', '--rm', '--user', 'root',
|
|
'-v', '/home/torsten/swy/sandbox:/repo',
|
|
'migration-pipeline:ubuntu26.04',
|
|
'bash', '-c',
|
|
'cd /repo/qt-migration-legatus/qt6-after/qt6-migrated-legatus && '
|
|
'cmake -B /tmp/build_full -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBUILD_RTI=ON 2>&1 | tail -20'
|
|
], capture_output=True, text=True)
|
|
print(result.stdout)
|
|
if result.returncode != 0:
|
|
print("CONFIGURE FAILED")
|
|
print(result.stderr)
|
|
sys.exit(1)
|
|
|
|
# Build mit Fehler-Erfassung
|
|
print("=" * 60)
|
|
print("BUILD")
|
|
print("=" * 60)
|
|
result = subprocess.run([
|
|
'docker', 'run', '--rm', '--user', 'root',
|
|
'-v', '/home/torsten/swy/sandbox:/repo',
|
|
'migration-pipeline:ubuntu26.04',
|
|
'bash', '-c',
|
|
'cd /tmp/build_full && cmake --build . --parallel 4 2>&1 | tee /tmp/build_log.txt | grep -E "(error:|Error:|fehler:|undefined reference)" | head -50'
|
|
], capture_output=True, text=True, timeout=600)
|
|
print(result.stdout)
|
|
print("STDERR:", result.stderr)
|
|
print("EXIT:", result.returncode)
|