mirror of
https://github.com/NaC-L/Mergen.git
synced 2026-05-12 09:40:34 +00:00
eb10474eb8
Lifter improvements: - PathSolver.ipp: enhanced path memoization, switch-target diagnostics - GEPTracker.ipp: expanded value tracking, graceful bail-out paths - Semantics_Misc.ipp: clean up CPUID handler (remove dead comments, simplify constant emission) Rewrite infrastructure: - instruction_microtests.json: add jumptable manifest entries (calc_jumptable, jumptable_basic, jumptable_dense) with semantic cases - golden_ir_hashes.json: add hashes for new jumptable samples - build_samples.cmd: support C jumptable /O2 compilation pass - oracle vectors: regenerated (oracle_vectors.json trimmed to current seed set, full-handler vectors updated with new handlers) - run_microtests.cmd / run_all_handlers.cmd: script improvements - test.py: add jumptable semantic cases to coverage Dev scripts: - configure_iced/zydis.cmd, build_iced/zydis.cmd: improved toolchain detection and MERGEN_BUILD_JOBS support Review automation: - format_comment.py, invariant_guard.py, risk_map.py, shard_pr.py: minor fixes aligned with verify_plan public API rename Docs: - REWRITE_BASELINE.md: updated coverage summary and script docs - REVIEWER_RULES.md: minor formatting
27 lines
744 B
Batchfile
27 lines
744 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
set "CMAKE_BIN="
|
|
for /f "usebackq delims=" %%I in (`where cmake 2^>nul`) do (
|
|
set "CMAKE_BIN=%%I"
|
|
goto found_cmake
|
|
)
|
|
if exist "C:\Program Files\CMake\bin\cmake.exe" set "CMAKE_BIN=C:\Program Files\CMake\bin\cmake.exe"
|
|
|
|
:found_cmake
|
|
if not defined CMAKE_BIN (
|
|
echo ERROR: CMake not found in PATH
|
|
exit /b 1
|
|
)
|
|
|
|
for %%I in ("%~dp0..\.." ) do set "REPO_ROOT=%%~fI"
|
|
|
|
if not exist "%REPO_ROOT%\build_iced\CMakeCache.txt" (
|
|
echo ERROR: build_iced not configured. Run scripts\dev\configure_iced.cmd first.
|
|
exit /b 1
|
|
)
|
|
|
|
set "BUILD_JOBS=%MERGEN_BUILD_JOBS%"
|
|
if not defined BUILD_JOBS set "BUILD_JOBS=4"
|
|
"%CMAKE_BIN%" --build "%REPO_ROOT%\build_iced" --config Release --parallel %BUILD_JOBS%
|
|
exit /b %errorlevel% |