{
    "version": "22.1.4-20260421",
    "description": "LLVM toolchain based on mingw-w64. (MSVCRT, mstorsjo build)",
    "homepage": "https://github.com/mstorsjo/llvm-mingw/",
    "license": "GPL-3.0-or-later,ZPL-2.1,Apache-2.0 WITH LLVM-exception,ISC",
    "architecture": {
        "64bit": {
            "url": "https://github.com/mstorsjo/llvm-mingw/releases/download/20260421/llvm-mingw-20260421-msvcrt-x86_64.zip",
            "hash": "8ed5ed0a6ebddc567fe35d18da15b8873d6f1b837dee5925f05eb6030ad67098",
            "extract_dir": "llvm-mingw-20260421-msvcrt-x86_64"
        },
        "32bit": {
            "url": "https://github.com/mstorsjo/llvm-mingw/releases/download/20260421/llvm-mingw-20260421-msvcrt-i686.zip",
            "hash": "b5f1c2e1102ea04c00f2ba3a1f0ee60f0a2d44ab01d698c4a3846a01feef0e2f",
            "extract_dir": "llvm-mingw-20260421-msvcrt-i686"
        }
    },
    "post_install": "Copy-Item \"$dir\\bin\\mingw32-make.exe\" \"$dir\\bin\\make.exe\"",
    "env_add_path": "bin",
    "checkver": {
        "github": "https://github.com/mstorsjo/llvm-mingw/",
        "regex": "llvm-mingw\\s+(?<time>\\d+)\\swith\\s+LLVM\\s+(?<llvm>[\\d.]+)",
        "replace": "${llvm}-${time}"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/mstorsjo/llvm-mingw/releases/download/$matchTime/llvm-mingw-$matchTime-msvcrt-x86_64.zip",
                "extract_dir": "llvm-mingw-$matchTime-msvcrt-x86_64"
            },
            "32bit": {
                "url": "https://github.com/mstorsjo/llvm-mingw/releases/download/$matchTime/llvm-mingw-$matchTime-msvcrt-i686.zip",
                "extract_dir": "llvm-mingw-$matchTime-msvcrt-i686"
            }
        }
    }
}
