(package
    (name "llvm")
    (version "21.1.8")
    (homepage "https://llvm.org/")
    (dependencies xz cmake python)
    (src (tar
        (url "https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-21.1.8.tar.gz")
        (dir "llvm-project-llvmorg-21.1.8/llvm")
        (blake3 "1f31353d644097c18a13ffc0a5d5ec5ba8d5926c836e27101cd749beeff246a9")))
    (build
        (cmake
            (configure_flags "-DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=\"X86\" -DLLVM_ENABLE_PROJECTS=\"clang;lld;lldb\""))))
