mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 11:00:43 +00:00
Add gfx1030 decoding, semantic validation, Metal shader generation, and an independent CPU interpreter for three reproducible compute fixtures. Include native Metal tests, LLVM fixture verification, and the existing CI and Phase 01 handoff. Verified formatting, all-features Clippy and tests, LLVM decoding, native ARM64 linkage, and all three demo fixtures with Metal API and shader validation enabled. Signed-off-by: Ranveer Soni <git@ranveersoni.me>
15 lines
502 B
Bash
Executable File
15 lines
502 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
|
|
export MTL_DEBUG_LAYER=1
|
|
export MTL_SHADER_VALIDATION=1
|
|
export MTL_SHADER_VALIDATION_REPORT_TO_STDERR=1
|
|
export MTL_SHADER_VALIDATION_ABORT_ON_FAULT=1
|
|
export CARGO_BUILD_JOBS=${CARGO_BUILD_JOBS:-4}
|
|
|
|
cargo test --locked -p xenora-metal --features gpu-tests --test native_compute --no-run
|
|
timeout 30s cargo test --locked -p xenora-metal --features gpu-tests --test native_compute -- \
|
|
--nocapture --test-threads=1
|