llvm_add()
def llvm_add(name, version, toolchain_name)Add LLVM to your sysroot.
Sets LLVM_SPACES_WORKSPACE to the workspace root and adds a cmake toolchain file
with the specified name. The toolchain file needs LLVM_SPACES_WORKSPACE set to
work correctly.
Args
name-strThe name of the rule.version-strThe LLVM version from //@packages/star/llvm.org/llvmtoolchain_name-strThe name of the toolchain file (default is “llvm-toolchain.cmake”).