An EL2 monitor/hypervisor and toolchain that boots macOS 27 on the ASUS A16 (Snapdragon X2 Elite), with an Adreno Metal plug-in and IOGPU kext, and air2ir3, an AIR to Mesa ir3 shader compiler. MIT, with GPL-2.0 components listed in LICENSE and THIRD_PARTY_NOTICES.md. No Apple, Qualcomm, ASUS or Microsoft binaries are included.
14 lines
508 B
Python
Executable File
14 lines
508 B
Python
Executable File
#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: MIT
|
|
from pathlib import Path
|
|
import subprocess
|
|
import tempfile
|
|
|
|
ROOT=Path(__file__).resolve().parents[1]
|
|
with tempfile.TemporaryDirectory() as directory:
|
|
binary=str(Path(directory)/'cpu-runtime')
|
|
subprocess.run(['clang','-std=gnu11','-O1','-g','-fsanitize=address,undefined',
|
|
'-Icompat','tools/test-cpu-runtime.c','compat/cpu-runtime.c','-o',binary],
|
|
cwd=ROOT,check=True,timeout=30)
|
|
subprocess.run([binary],check=True,timeout=30)
|