hermetic-llvm
A zero sysroot, fully hermetic C/C++ cross compilation toolchain for Bazel based on LLVM.
File Explorer
- SKILL.md
- metadata.template.json
- presubmit.yml
- source.template.json
- build_public_starlark_docs.sh
- ci.bazelrc
- ci.yaml
- llvm-prebuilt.sh
- llvm-prebuilt.yml
- prebuilts-extras.sh
- prebuilts-extras.yml
- publish.yml
- release.yml
- release_prep.sh
- settings.json
- BUILD.bazel
- gcc.bzl
- make_select_gcc_repository_target.bzl
- trampoline.BUILD.bazel
- autoconf_config.bzl
- autoconf_hdr.bzl
- BUILD.bazel
- cc_configure_probe.bzl
- checks.bzl
- providers.bzl
- autoconf.checks.md
- autoconf.README.md
- autoconf.usage.md
- BUILD.bazel
- config_define_status.txt
- config_macro_status.txt
- autoconf_inventory.sh
- autoconf_inventory_targets.bzl
- BUILD.bazel
- acinclude.m4.bzl
- AGENTS.md
- BUILD.bazel
- configure.ac.bzl
- crossconfig.m4.bzl
- gcc_config_checks.bzl
- libstdcxx_config_h.bzl
- libstdcxx_cxxconfig_header.bzl
- libstdcxx_gthr_headers.bzl
- libstdcxx_largefile_config_header.bzl
- libstdcxx_symbols_version_script.bzl
- linkage.m4.bzl
- target_config.bzl
- libstdcxx-filesystem-source-noexcept.patch
- libstdcxx-constinit.patch
- libstdcxx-cow-string-inst.patch
- libstdcxx-cow-string-inst.patch
- libstdcxx-filesystem-source-noexcept.patch
- libstdcxx-cow-string-inst.patch
- libstdcxx-filesystem-source-noexcept.patch
- libstdcxx-experimental-fs-path-noexcept.patch
- libstdcxx-pstl-disable-parallel-policies.patch
- BUILD.bazel
- AGENTS.md
- BUILD.bazel
- gcc.BUILD.bazel
- version.bzl
- 0001-libarchive_enable_xar_support.patch
- 0002-feat-add-pbzx-read-filter.patch
- 0003-give-mingw-acceptable-posix-types.patch
- BUILD.bazel
- abi-note-2.31.S
- BUILD.bazel
- elf-init-2.31.c
- BUILD.bazel
- pthread_atfork.c
- at_quick_exit.c
- atexit.c
- BUILD.bazel
- 0001-Add-empty-config.h.patch
- 0002-Add-abi-tag.h.patch
- 0003-Adding-libc-modules.h.patch
- BUILD.bazel
- COPYING.LIB
- glibc.BUILD.bazel
- helpers.bzl
- LICENSE
- NOTICE
- README.md
- BUILD.bazel
- musl.BUILD.bazel
- musl_headers.bzl
- BUILD.bazel
- BUILD.bazel
- libcxx_headers.bzl
- BUILD.bazel
- bundle_resources_no_python.patch
- libcxx-lgamma_r.patch
- lld-coff-thinlto-lazy-index.patch
- llvm-bazel-blake3-windows-gnu.patch
- llvm-bazel9.patch
- llvm-compression-defines.patch
- llvm-link-multicall.patch
- llvm-windows-stack-size.patch
- no_rules_python.patch
- no_zlib_genrule.patch
- windows_link_and_genrule.patch
- BUILD.bazel
- libcxx_headers.bzl
- BUILD.bazel
- bundle_resources_no_python.patch
- clang-format-multicall.patch
- clang-tidy-multicall.patch
- clangd-multicall.patch
- libcxx-lgamma_r.patch
- lld-coff-thinlto-lazy-index.patch
- llvm-bazel-blake3-windows-gnu.patch
- llvm-link-multicall.patch
- llvm-profdata-multicall.patch
- llvm-windows-stack-size.patch
- no_rules_python.patch
- windows_link_and_genrule.patch
- BUILD.bazel
- libcxx_headers.bzl
- BUILD.bazel
- clang-hardlink-filenames.patch
- llvm-abi-breaking-checks.patch
- llvm-bzl-library.patch
- llvm-cov-multicall.patch
- llvm-driver-tool-order.patch
- llvm-dsymutil-corefoundation.patch
- llvm-extra.patch
- llvm-install-name-tool-output.patch
- llvm-readtapi-multicall.patch
- pfm-rules-cc-load.patch
- thinlto-roundtrip-before-codegen.patch
- BUILD.bazel
- compiler-rt.BUILD.bazel
- filter_builtin_sources.bzl
- README.md
- targets.bzl
- weak_symbols.bzl
- BUILD.bazel
- libc.BUILD.bazel
- README.md
- BUILD.bazel
- libcxx.BUILD.bazel
- BUILD.bazel
- libcxxabi.BUILD.bazel
- BUILD.bazel
- libunwind.BUILD.bazel
- BUILD.bazel
- openmp.BUILD.bazel
- BUILD.bazel
- clang-format-multicall.patch
- clang-prepend-arg-reexec.patch
- clang-tidy-multicall.patch
- clangd-multicall.patch
- compiler-rt-symbolizer_skip_cxa_atexit.patch
- lit_test_stub.patch
- lld-macho-thinlto-obj-path.patch
- llvm-cov-multicall.patch
- llvm-driver-best-tool-match.patch
- llvm-extra.patch
- llvm-http-windows-gnu.patch
- llvm-link-multicall.patch
- llvm-profdata-multicall.patch
- no_frontend_builtin_headers.patch
- no_rules_python.patch
- thinlto-roundtrip-before-codegen.patch
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- CLTools_macOSNMOS_SDK.BUILD.bazel
- 0001-allow-disabling-autoconfiguration.patch
- BUILD.bazel
- BUILD
- BUILD.bazel
- BUILD.bazel
- defs.bzl
- BUILD.bazel
- cxxstdlib_versions.bzl
- BUILD.bazel
- BUILD.bazel
- linux_kernel_versions.bzl
- BUILD.bazel
- BUILD.bazel
- libc_versions.bzl
- BUILD.bazel
- abis.bzl
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- .bazelrc
- .bazelversion
- add.c
- add.h
- BUILD.bazel
- hello.c
- linux_kernel_version_test.c
- MODULE.bazel
- test.cc
- test_hello_qemu.sh
- BUILD.bazel
- hello.cc
- MODULE.bazel
- error.h
- BUILD.bazel
- defs.bzl
- error_header_test.c
- MODULE.bazel
- .bazelignore
- .bazelrc
- .bazelversion
- asan_fail.cc
- asan_libcxx_container_overflow.cc
- asan_output_test.sh
- asan_runtime_cc_test.cc
- bazel_version.bzl
- BUILD.bazel
- build_docker.sh
- cfi_fail.cc
- cfi_output_test.sh
- comm_symbol_strong.c
- comm_symbol_tentative.S
- coverage_lcov_test.sh
- coverage_lib.cc
- coverage_lib.h
- coverage_lib_test.cc
- defs.bzl
- dfsan_fail.cc
- dfsan_output_test.sh
- Dockerfile
- dsym_output_test.sh
- duplicate_static_library_failure_test.cc
- duplicate_static_library_failure_test.sh
- duplicate_symbol_a.cc
- duplicate_symbol_b.cc
- external_include_paths_test.sh
- fission_debug_package_test.sh
- fuzzer_asan_main.cc
- fuzzer_main.cc
- fuzzer_output_test.sh
- fuzzer_sanitizer_output_test.sh
- fuzzer_ubsan_main.cc
- header_parse_system_header.h
- libomp_test.cc
- libstdcxx_headers.cc
- libstdcxx_main_dynamic_output_test.sh
- lsan_fail.cc
- lsan_output_test.sh
- lsan_runtime_cc_test.cc
- main.cc
- MODULE.bazel
- msan_fail.cc
- msan_output_test.sh
- musl_header_generation_tests.bzl
- no_optimize.cc
- nsan_fail.cc
- nsan_output_test.sh
- objc_c_lib.h
- objc_cc_test.cc
- objc_lib.h
- objc_lib.m
- objc_main.m
- optimize.cc
- profile_main.cc
- profile_output_test.sh
- pthread.cc
- rtsan_fail.cc
- rtsan_output_test.sh
- safestack_fail.cc
- safestack_output_test.sh
- supports_pic.cc
- supports_pic_dylib_test.sh
- tsan_fail.cc
- tsan_output_test.sh
- tysan_fail.cc
- tysan_output_test.sh
- ubsan_fail.cc
- ubsan_output_test.sh
- ubsan_runtime_cc_test.cc
- windows_add.cc
- windows_dll_main.cc
- windows_explicit_def.cc
- windows_explicit_def_test.cc
- windows_generated_def.cc
- windows_generated_def_test.cc
- windows_runtime_dynamic_libraries_test.bzl
- windows_test.cc
- windows_unicode_test.cc
- WORKSPACE
- xray_main.cc
- xray_output_test.py
- .bazelrc
- BUILD.bazel
- MODULE.bazel
- pfm_test.cc
- rules_foreign_cc.patch
- linkstamp.cc
- main.rs
- .bazelrc
- .bazelversion
- BUILD.bazel
- Cargo.lock
- Cargo.toml
- libmagic_sh_script.patch
- LICENSE.txt
- MODULE.bazel
- README.md
- rust_binary_cross_build_test_suite.bzl
- test_hello_world.sh
- test_platform.sh
- main.rs
- .bazelrc
- .bazelversion
- BUILD.bazel
- libmagic_sh_script.patch
- LICENSE.txt
- MODULE.bazel
- README.md
- rules_rust_gnullvm_staticlib.patch
- rust_binary_cross_build_test_suite.bzl
- test_hello_world.sh
- test_platform.sh
- .bazelrc
- .bazelversion
- BUILD.bazel
- hello.cc
- MODULE.bazel
- README.md
- BUILD.bazel
- gcc.bzl
- llvm.bzl
- llvm_toolchain_minimal.bzl
- llvm_toolchain_minimal_index.json
- osx.bzl
- toolchain.bzl
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- kernel-headers.BUILD.bazel
- kernel_headers.bzl
- kernel_headers_index.json
- kernel_helpers.bzl
- libc_kernel_versions.bzl
- make_select_kernel_headers_repository_target.bzl
- trampoline.BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- declare_config_settings.bzl
- BUILD.bazel
- constraints.bzl
- BUILD.bazel
- BUILD.bazel
- common.bzl
- declare_platforms.bzl
- BUILD.bazel
- extra_bins_release.bzl
- extras.BUILD.bazel
- BUILD.bazel
- llvm_release.bzl
- BUILD.bazel
- mtree.bzl
- platforms.bzl
- BUILD.bazel
- llvm_project_archive.bzl
- llvm_project_common.bzl
- llvm_project_from_git.bzl
- llvm_project_from_path.bzl
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- glibc-headers.BUILD.bazel
- glibc.bzl
- glibc_headers_index.json
- make_select_glibc_repository_target.bzl
- trampoline.BUILD.bazel
- abilists
- BUILD.bazel
- glibc_dynamic_linker.bzl
- glibc_linker_script.bzl
- glibc_shared_library.bzl
- glibc_stubs_assembly_files.bzl
- libc_aware_target_triple.bzl
- README.md
- BUILD.bazel
- BUILD.bazel
- libstdcxx_shared_elf_test.sh
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- mingw.bzl
- BUILD.bazel
- crt_object.bzl
- crt_sources.bzl
- import_libs.bzl
- mingw.BUILD.bazel
- BUILD.bazel
- musl.bzl
- BUILD.bazel
- libc_musl_srcs_filegroup.bzl
- BUILD.bazel
- copy_to_resource_directory.bzl
- defs.bzl
- empty.c
- module_map.bzl
- README.md
- BUILD.bazel
- cfi_ignore.txt
- ubsan_ignore.txt
- BUILD.bazel
- defs.bzl
- hello.go
- BUILD.bazel
- interface_library_test.bzl
- unversioned.c
- verify_interface_library.sh
- versioned.c
- versioned.lds
- BUILD.bazel
- kernel_headers_test.bzl
- BUILD.bazel
- main.c
- verify_dynamic_non_pie.sh
- verify_static_non_pie.sh
- verify_static_pie.sh
- BUILD.bazel
- gazelle_pure.patch
- go.mod
- go.sum
- go_compiler_flags.patch
- wasm.c
- wasm64.c
- wasm_test.go
- BUILD.bazel
- BUILD.bazel
- macos_minimum_os_flag.bzl
- BUILD.bazel
- BUILD.bazel
- llvm_target_triple.bzl
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- fdo_freestanding.c
- bootstrap_binary.bzl
- BUILD.bazel
- declare_toolchains.bzl
- fdo_profile.bzl
- README.md
- transition_settings.bzl
- zstd_fdo.BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- llvm.bzl
- llvm_release.BUILD.bazel
- llvm_release_windows.BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- cc_internal_symbolizer_object.bzl
- cc_runtime_binary.bzl
- cc_runtime_library.bzl
- cc_runtime_shared_library.bzl
- cc_runtime_static_library.bzl
- cc_stage0_object.bzl
- cc_unsanitized_library.bzl
- README.md
- with_cfg_runtimes_common.bzl
- bootstrap_stages.bzl
- BUILD.bazel
- cc_toolchain.bzl
- declare_toolchains.bzl
- README.md
- selects.bzl
- BUILD.bazel
- header_parser.c
- link_wrapper.c
- static_library_validator.c
- BUILD.bazel
- defs.bzl
- gen_llvm_versions_index.py
- update_osx_sdk.py
- .bazelignore
- .bazelrc
- .bazelversion
- .buildifier.json
- .gitattributes
- .gitignore
- BUILD.bazel
- defs.bzl
- directory.bzl
- http_bsdtar_archive.bzl
- http_pkg_archive.bzl
- LICENSE
- llvm_versions.json
- MODULE.bazel
- MODULE.bazel.lock
- rbe.bzl
- README.md
- sh_script.bzl
- zig_index.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bazel
View Details ▼
bazel
Open-source build and test tool similar to Make, Maven, and Gradle.
bazel build {{target}}
Build the specified target in the workspace:
bazel clean
Remove output files and stop the server if running:
bazel shutdown
Stop the bazel server:
zig
View Details ▼
zig
The Zig compiler and toolchain.
zig build
Compile the project in the current directory:
zig build run
Compile and run the project in the current directory:
zig init
Initialize a `zig build` project with library and executable:
pkgutil
View Details ▼
pkgutil
Query and manipulate Mac OS X Installer packages and receipts.
pkgutil --pkgs
List package IDs for all installed packages:
pkgutil --check-signature {{path/to/file.pkg}}
Verify cryptographic signatures of a package file:
pkgutil --files {{com.microsoft.Word}}
List all the files for an installed package given its ID:
# Project Badges
-
CI Visit
