Expand description
The ZKsync 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 self::target_triple::TargetTriple;
Modules§
- build_
type - The ZKsync LLVM build type.
- ccache_
variant - Compiler cache variants.
- llvm_
path - The ZKsync LLVM builder constants.
- llvm_
project - The LLVM projects to enable during the build.
- lock
- The ZKsync LLVM builder lock file.
- platforms
- The ZKsync LLVM builder platforms.
- sanitizer
- LLVM sanitizers.
- target_
env - The target environments to build LLVM.
- target_
triple - The ZKsync 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.
- clone_
host - Executes the LLVM host repository cloning for stage 1 MUSL builds.