Crate revive_llvm_builder

Source
Expand description

The revive LLVM builder library.

Re-exports§

pub use self::build_type::BuildType;
pub use self::llvm_path::LLVMPath;
pub use self::lock::Lock;
pub use self::platforms::Platform;
pub use target_env::TargetEnv;
pub use target_triple::TargetTriple;

Modules§

build_type
The revive LLVM build type.
builtins
Utilities for compiling the LLVM compiler-rt builtins.
ccache_variant
Compiler cache variants.
llvm_path
The revive LLVM builder constants.
llvm_project
The LLVM projects to enable during the build.
lock
The revive LLVM builder lock file.
platforms
The revive LLVM builder platforms.
sanitizer
LLVM sanitizers.
target_env
The target environments to build LLVM.
target_triple
The PolkaVM LLVM target triples.
utils
The LLVM builder utilities.

Functions§

build
Executes the building of the LLVM framework for the platform determined by the cfg macro. Since cfg is evaluated at compile time, overriding the platform with a command-line argument is not possible. So for cross-platform testing, comment out all but the line to be tested, and perhaps also checks in the platform-specific build method.
checkout
Executes the checkout of the specified branch.
clean
Executes the build artifacts cleaning.
clone
Executes the LLVM repository cloning.