Crate compiler_llvm_builder

source ·
Expand description

The ZKsync LLVM builder library.

Re-exports§

Modules§

  • The ZKsync LLVM build type.
  • The ZKsync LLVM builder constants.
  • The ZKsync LLVM builder lock file.
  • The ZKsync LLVM builder platforms.
  • The LLVM builder utilities.

Functions§

  • 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.
  • Executes the checkout of the specified branch.
  • Executes the build artifacts cleaning.
  • Executes the LLVM repository cloning.
  • Executes the LLVM host repository cloning for stage 1 MUSL builds.