Skip to content

LLVM Manager - downloads, compiles and installs LLVM versions

Notifications You must be signed in to change notification settings

milkyapps/llvmgr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llvmgr

Helps you to download, compile and install LLVM. Specially tailored for LLVM development with https://gitlab.com/taricorp/llvm-sys.rs

Install

cargo install --git https://github.com/milkyapps/llvmgr

Usage

> llvmgr install --help
Usage: llvmgr install [-v] <name> <version>

Install LLVM tools

Arguments:
  name           Options: llvm
  version        Options: 16, 17, 18, 19

Options:
  -v, --verbose  Be verbose.
  -h, --help     Show this help message and exit.

Shell Integration at Linux

Suggestion is to source the output of llvmgr env bash at your .bashrc.

eval "$(llvmgr env bash)"

This will export all installed versions as LLVM_SYS_*_PREFIX environment variables.

> llvmgr env bash
export LLVM_SYS_170_PREFIX=/home/xunilrj/.cache/llvmgr/17.0.6
export LLVM_SYS_180_PREFIX=/home/xunilrj/.cache/llvmgr/18.1.2
export LLVM_SYS_160_PREFIX=/home/xunilrj/.cache/llvmgr/16.0.1

About

LLVM Manager - downloads, compiles and installs LLVM versions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages