Module compiler_llvm_builder::utils
source · Expand description
The LLVM builder utilities.
Constants§
- The number of parallel download requests.
- The number of download retries if failed.
- The download timeout in seconds.
- The LLVM host repository tag.
- The LLVM host repository URL.
- The musl snapshots URL.
- The minimum required XCode version.
- The XCode version 15.
Functions§
- Create an absolute path, appending it to the current working directory.
- Checks if the tool exists in the system.
- The subprocess runner.
- Download a file from the URL to the path.
- The
musl
downloading sequence. - Identify XCode version using
pkgutil
. - Call ninja to build the LLVM.
- Converts a Windows path into a Unix path.
- Unpack a tarball.