Expand description
The LLVM builder utilities.
Constants§
- DOWNLOAD_
PARALLEL_ REQUESTS - The number of parallel download requests.
- DOWNLOAD_
RETRIES - The number of download retries if failed.
- DOWNLOAD_
TIMEOUT_ SECONDS - The download timeout in seconds.
- LLVM_
HOST_ SOURCE_ TAG - The LLVM host repository tag.
- LLVM_
HOST_ SOURCE_ URL - The LLVM host repository URL.
- MUSL_
SNAPSHOTS_ URL - The musl snapshots URL.
- XCODE_
MIN_ VERSION - The minimum required XCode version.
- XCODE_
VERSION_ 15 - The XCode version 15.
Functions§
- absolute_
path - Create an absolute path, appending it to the current working directory.
- check_
presence - Checks if the tool exists in the system.
- command
- The subprocess runner.
- download
- Download a file from the URL to the path.
- download_
musl - The
musl
downloading sequence. - get_
xcode_ version - Identify XCode version using
pkgutil
. - ninja
- Call ninja to build the LLVM.
- path_
windows_ to_ unix - Converts a Windows path into a Unix path.
- unpack_
tar - Unpack a tarball.