)]}'
{
  "commit": "9d485fc23e8ddec4cdf24923ce2e71a47fce8915",
  "tree": "7d9fcd89aacca7f0b4d74d5b4b5596d26bf82a82",
  "parents": [
    "0492b214495cda17591a865027fb331a32da1fe9"
  ],
  "author": {
    "name": "Pooja Hemashekar",
    "email": "hemashekar@roofline.ai",
    "time": "Wed Sep 02 14:45:26 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Sep 02 14:45:26 2026 +0200"
  },
  "message": "[CI] Add bare-metal RISCV 64 sample and QEMU smoke test (#24844)\n\nAdds `samples/baremetal_riscv64`, a single-op inference runner for\nbare-metal RISCV 64 under `qemu-system-riscv64` (`-machine virt`, no OS,\nsemihosted I/O), together with a pkgci smoke test.\n\nThe sample covers two execution paths:\n- `llvm-cpu` using `inline-dynamic` and the embedded-ELF loader.\n- `vmvx-inline` using `inline-static`.\n\nThe runner uses the inline HAL instead of the full-HAL implementation\nfollowing `samples/simple_embedding`, because HAL device creation\ncurrently requires a proactor that `IREE_PLATFORM_GENERIC` does not\nprovide.\n\nThe runtime is compiled and linked using an xPack GCC/newlib sysroot.\nIts newlib is built with `-mcmodel\u003dmedany` required for QEMUs RAM base\nand provides `semihost.specs` for semihosted I/O and exit handling.\n\nNo HAL device drivers are enabled; the embedded-ELF loader is enabled\nexplicitly for the LLVMCPU runner. The sample is `EXCLUDE_FROM_ALL` and\nCI builds only `samples/baremetal_riscv64/all`, so it does not affect\nother Generic RISCV builds.\n\n\nAssisted-by: Claude Code\n\nSigned-off-by: Pooja Hemashekar \u003chemashekar@roofline.ai\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1d99c8dd44a5cf864e641f8f0694243ccfa18fe3",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_test_riscv64.yml",
      "new_id": "0583df66eae52a1e85d43e23ffeee506185af7dd",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_test_riscv64.yml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "683bdf0c2ed1f312186ef4668cc72fff5775e7f3",
      "new_mode": 33261,
      "new_path": "build_tools/cmake/build_riscv_baremetal.sh"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5e7769c51a66601735bfef4ce8d89837350bb906",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/generic_riscv64_gcc.cmake"
    },
    {
      "type": "modify",
      "old_id": "0dfdc27a70a223ed8bb598f6cf2200cfc2f3473e",
      "old_mode": 33188,
      "old_path": "samples/CMakeLists.txt",
      "new_id": "fe5cfa2cf3fdef9b1d2712cb5a827b6a9447c147",
      "new_mode": 33188,
      "new_path": "samples/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9fef40631dcfe29532a2aa2e9ea985ed8a2daf72",
      "new_mode": 33188,
      "new_path": "samples/baremetal_riscv64/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a2433febfcd3f4816341462b4cce5a6a32a9b6bc",
      "new_mode": 33188,
      "new_path": "samples/baremetal_riscv64/README.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2245c2d80489f7d08a42e459a400056e1d5dcda7",
      "new_mode": 33261,
      "new_path": "samples/baremetal_riscv64/run_qemu.sh"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b69c1bec757f4091571ba079797301897fa65581",
      "new_mode": 33188,
      "new_path": "samples/baremetal_riscv64/runner.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3d8f97e47e575700b0af066dd08ee24d11db7779",
      "new_mode": 33188,
      "new_path": "samples/baremetal_riscv64/simple_mul.mlir"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "374114fdfeeea27897b70313582f7a952e711dba",
      "new_mode": 33188,
      "new_path": "samples/baremetal_riscv64/start.S"
    }
  ]
}
