{"name":"llvm@21","full_name":"llvm@21","tap":"homebrew/core","oldnames":[],"aliases":[],"versioned_formulae":["llvm@22","llvm@20","llvm@19","llvm@18","llvm@17","llvm@16","llvm@15","llvm@14"],"desc":"Next-gen compiler infrastructure","license":"Apache-2.0 WITH LLVM-exception","homepage":"https://llvm.org/","versions":{"stable":"21.1.8","head":null,"bottle":true},"urls":{"stable":{"url":"https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/llvm-project-21.1.8.src.tar.xz","tag":null,"revision":null,"using":null,"checksum":"4633a23617fa31a3ea51242586ea7fb1da7140e426bd62fc164261fe036aa142"}},"patches":[{"strip":"p1","url":"https://github.com/llvm/llvm-project/compare/1381ad497b9a6d3da630cbef53cbfa9ddf117bb6...40a8c7c0ff3f688b690e4c74db734de67f0f89e9.diff","sha256":"f6dafd762737eb79761ab7ef814a9fc802ec4bb8d20f46691f07178053b0eb36","type":"unofficial","resolves":[{"type":"defect","id":"https://github.com/llvm/llvm-project/pull/111397"}]},{"strip":"p1","url":"https://raw.githubusercontent.com/macports/macports-ports/437657215603f3ec4801195efa6b80e47b9faeab/lang/llvm-21/files/0140-llvm-no-cmp-spec.patch","sha256":"215d00d5ce5854806092dfad4749ff2cb9b061967c481357ac946293c5f01628","type":"backport","resolves":[{"type":"defect","id":"https://github.com/llvm/llvm-project/pull/160804"}]},{"strip":"p1","url":"https://raw.githubusercontent.com/macports/macports-ports/437657215603f3ec4801195efa6b80e47b9faeab/lang/llvm-21/files/0141-infinity_nan.patch","sha256":"eb483ded080dac022fd2852631ac990549021fb3a525f0f602c5ec84ece93cc0","type":"backport","resolves":[{"type":"defect","id":"https://github.com/llvm/llvm-project/pull/164348"}]},{"strip":"p1","url":"https://github.com/llvm/llvm-project/commit/477a65a051ce151895193f8dede1262fdc251132.patch?full_index=1","sha256":"4bbdb4ab0eaefce2403fdfa96929026940f153f8e7421feba288cbc3dd8fe6e2","type":"backport"},{"strip":"p1","file":"Patches/llvm/21.x-arm64e.x1-support.patch","type":"backport","resolves":[{"type":"defect","id":"https://github.com/llvm/llvm-project/pull/222721"}]}],"revision":0,"version_scheme":0,"compatibility_version":1,"autobump":true,"no_autobump_message":null,"skip_livecheck":false,"bottle":{"stable":{"rebuild":0,"root_url":"https://ghcr.io/v2/homebrew/core","files":{"arm64_golden_gate":{"cellar":":any","url":"https://ghcr.io/v2/homebrew/core/llvm/21/blobs/sha256:46e365b50a5f6f02543f610b7d0b86b6d8a0aa1ab437a615acc753720a6cc73d","sha256":"46e365b50a5f6f02543f610b7d0b86b6d8a0aa1ab437a615acc753720a6cc73d"},"arm64_tahoe":{"cellar":":any","url":"https://ghcr.io/v2/homebrew/core/llvm/21/blobs/sha256:e3a3579a56ca64c479040de7eb4d0748efe369338216e81af2e59e3aed608c58","sha256":"e3a3579a56ca64c479040de7eb4d0748efe369338216e81af2e59e3aed608c58"},"arm64_sequoia":{"cellar":":any","url":"https://ghcr.io/v2/homebrew/core/llvm/21/blobs/sha256:71f4ead77d52d42da9dd7f34441b45304474837b7ace887c7669048f830df6e6","sha256":"71f4ead77d52d42da9dd7f34441b45304474837b7ace887c7669048f830df6e6"},"arm64_sonoma":{"cellar":":any","url":"https://ghcr.io/v2/homebrew/core/llvm/21/blobs/sha256:1d8422fcaacee615ff78ba5ac530b8a141ce127087b3e861ba1faf972dc88256","sha256":"1d8422fcaacee615ff78ba5ac530b8a141ce127087b3e861ba1faf972dc88256"},"sonoma":{"cellar":":any","url":"https://ghcr.io/v2/homebrew/core/llvm/21/blobs/sha256:e58f968196af2f0db01f546cae78792d0b0cf885641c380ec3efa10817f52d13","sha256":"e58f968196af2f0db01f546cae78792d0b0cf885641c380ec3efa10817f52d13"},"arm64_linux":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/llvm/21/blobs/sha256:faaf642e58e4d98e64681beeaa811f269a88eeddeae4d53bc0626311f659d459","sha256":"faaf642e58e4d98e64681beeaa811f269a88eeddeae4d53bc0626311f659d459"},"x86_64_linux":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/llvm/21/blobs/sha256:3e924cb91a56d752a2fb9ea4a01d02838df973611f59ff51747b60c4d67bf82b","sha256":"3e924cb91a56d752a2fb9ea4a01d02838df973611f59ff51747b60c4d67bf82b"}}}},"pour_bottle_only_if":null,"keg_only":true,"keg_only_reason":{"reason":":versioned_formula","explanation":""},"options":[],"build_dependencies":["cmake","ninja","python@3.14"],"dependencies":["zstd"],"test_dependencies":["python@3.14"],"recommended_dependencies":[],"optional_dependencies":[],"uses_from_macos":["libedit","libffi"],"uses_from_macos_bounds":[{},{}],"requirements":[],"conflicts_with":[],"conflicts_with_reasons":[],"link_overwrite":[],"caveats":"CLANG_CONFIG_FILE_SYSTEM_DIR: $HOMEBREW_PREFIX/etc/clang\nCLANG_CONFIG_FILE_USER_DIR:   ~/.config/clang\n\nLLD is now provided in a separate formula:\n  brew install lld@21\n\nUsing `clang`, `clang++`, etc., requires a CLT installation at `/Library/Developer/CommandLineTools`.\nIf you don't want to install the CLT, you can write appropriate configuration files pointing to your\nSDK at ~/.config/clang.\n\nTo use the bundled libunwind please use the following LDFLAGS:\n  LDFLAGS=\"-L$HOMEBREW_PREFIX/opt/llvm@21/lib/unwind -lunwind\"\n\nTo use the bundled libc++ please use the following LDFLAGS:\n  LDFLAGS=\"-L$HOMEBREW_PREFIX/opt/llvm@21/lib/c++ -L$HOMEBREW_PREFIX/opt/llvm@21/lib/unwind -lunwind\"\nFeatures newer than system libc++ will require the following define to enable:\n  CPPFLAGS=\"-D_LIBCPP_DISABLE_AVAILABILITY\"\n\nNOTE: You probably want to use the libunwind and libc++ provided by macOS unless you know what you're doing.\n","installed":[],"linked_keg":null,"pinned":false,"outdated":false,"deprecated":false,"deprecation_date":null,"deprecation_reason":null,"deprecation_replacement_formula":null,"deprecation_replacement_cask":null,"deprecate_args":null,"disabled":false,"disable_date":null,"disable_reason":null,"disable_replacement_formula":null,"disable_replacement_cask":null,"disable_args":null,"post_install_steps":[{"type":"configure_clang_system"}],"post_install_defined":false,"service":null,"tap_git_head":"155d9a473d8cfee0215a5670557917cf7de76254","ruby_source_path":"Formula/l/llvm@21.rb","ruby_source_checksum":{"sha256":"9a37c7204bfb46f123c53d23557c8a8e412b06320835ddcd3759c71e930cb07f"},"variations":{"x86_64_linux":{"build_dependencies":["cmake","ninja","python@3.14","binutils","pkgconf"],"dependencies":["zstd","zlib-ng-compat"],"caveats":"CLANG_CONFIG_FILE_SYSTEM_DIR: $HOMEBREW_PREFIX/etc/clang\nCLANG_CONFIG_FILE_USER_DIR:   ~/.config/clang\n\nLLD is now provided in a separate formula:\n  brew install lld@21\n"},"arm64_linux":{"build_dependencies":["cmake","ninja","python@3.14","binutils","pkgconf"],"dependencies":["zstd","zlib-ng-compat"],"caveats":"CLANG_CONFIG_FILE_SYSTEM_DIR: $HOMEBREW_PREFIX/etc/clang\nCLANG_CONFIG_FILE_USER_DIR:   ~/.config/clang\n\nLLD is now provided in a separate formula:\n  brew install lld@21\n"}},"executables":["FileCheck","UnicodeNameMappingGenerator","amdgpu-arch","analyze-build","bugpoint","c-index-test","clang","clang++","clang-21","clang-apply-replacements","clang-change-namespace","clang-check","clang-cl","clang-cpp","clang-doc","clang-extdef-mapping","clang-format","clang-include-cleaner","clang-include-fixer","clang-installapi","clang-linker-wrapper","clang-move","clang-nvlink-wrapper","clang-offload-bundler","clang-offload-packager","clang-query","clang-refactor","clang-reorder-fields","clang-repl","clang-scan-deps","clang-sycl-linker","clang-tblgen","clang-tidy","clangd","clangd-xpc-test-client","count","diagtool","dsymutil","find-all-symbols","git-clang-format","hmaptool","intercept-build","llc","lli","lli-child-target","llvm-PerfectShuffle","llvm-addr2line","llvm-ar","llvm-as","llvm-bcanalyzer","llvm-bitcode-strip","llvm-c-test","llvm-cat","llvm-cfi-verify","llvm-cgdata","llvm-config","llvm-cov","llvm-ctxprof-util","llvm-cvtres","llvm-cxxdump","llvm-cxxfilt","llvm-cxxmap","llvm-debuginfo-analyzer","llvm-debuginfod","llvm-debuginfod-find","llvm-diff","llvm-dis","llvm-dlltool","llvm-dwarfdump","llvm-dwarfutil","llvm-dwp","llvm-exegesis","llvm-extract","llvm-gsymutil","llvm-ifs","llvm-install-name-tool","llvm-jitlink","llvm-jitlink-executor","llvm-lib","llvm-libtool-darwin","llvm-link","llvm-lipo","llvm-lto","llvm-lto2","llvm-mc","llvm-mca","llvm-ml","llvm-ml64","llvm-modextract","llvm-mt","llvm-nm","llvm-objcopy","llvm-objdump","llvm-opt-report","llvm-otool","llvm-pdbutil","llvm-profdata","llvm-profgen","llvm-ranlib","llvm-rc","llvm-readelf","llvm-readobj","llvm-readtapi","llvm-reduce","llvm-remarkutil","llvm-rtdyld","llvm-sim","llvm-size","llvm-split","llvm-stress","llvm-strings","llvm-strip","llvm-symbolizer","llvm-tblgen","llvm-test-mustache-spec","llvm-tli-checker","llvm-undname","llvm-windres","llvm-xray","mlir-cat","mlir-linalg-ods-yaml-gen","mlir-lsp-server","mlir-minimal-opt","mlir-minimal-opt-canonicalize","mlir-opt","mlir-pdll","mlir-pdll-lsp-server","mlir-query","mlir-reduce","mlir-rewrite","mlir-runner","mlir-tblgen","mlir-transform-opt","mlir-translate","modularize","not","nvptx-arch","obj2yaml","offload-arch","opt","pp-trace","reduce-chunk-list","run-clang-tidy","sancov","sanstats","scan-build","scan-build-py","scan-view","set-xcode-analyzer","split-file","tblgen-lsp-server","tblgen-to-irdl","verify-uselistorder","yaml-bench","yaml2obj"],"analytics":{"install":{"30d":{"llvm@21":2182,"llvm@21 --HEAD":2},"90d":{"llvm@21":7848,"llvm@21 --HEAD":2},"365d":{"llvm@21":70881,"llvm@21 --HEAD":8}},"install_on_request":{"30d":{"llvm@21":415,"llvm@21 --HEAD":2},"90d":{"llvm@21":1344,"llvm@21 --HEAD":2},"365d":{"llvm@21":8201,"llvm@21 --HEAD":7}},"build_error":{"30d":{"llvm@21":2}}},
"generated_date":"2026-10-01"}
