semvec/pypi-packages huggingface dataset:
ccnasr 0.1.2
Simple
License: Apache License 2.0
Requires Python: >=3.10

`nasr` can build and install `llvm` and `gcc`.

--- 
Basic Usage:
```
nasr build [compiler] [revision]
```

`compiler` must be either `llvm` or `gcc` and `revision` either a commit hash
or a tag.


`nasr` relies on clones the GCC and LLVM git repos and can build most of their recent revisions/commits/tags, e.g., 
`nasr build gcc releases/gcc-13.1.0` will build GCC 13.1.0.  
The built compilers are installed under `nasr`'s compiler store (a filesystem directory). 
After building a compiler, its installation location is printed, e.g.:
```
% nasr build llvm main 
/path/to/nasr_compiler_store/clang-ff7d2fabe074d95cefb683d4a742eec172bd36d5
% /path/to/nasr_compiler_store/clang-ff7d2fabe074d95cefb683d4a742eec172bd36d5/bin/clang -v
clang version 18.0.0 (https://github.com/llvm/llvm-project.git ff7d2fabe074d95cefb683d4a742eec172bd36d5)
...
```

`nasr` stores everything under `$HOME/.cache`, the default locations can
be overriden via command line flags, e.g., `nasr build llvm master --compiler-store-path /some/other/path`

To update the compiler git repos use `nasr --pull`.

For more options check `nasr -h`.

---
Installation:
```
pip install [-U] nasr
```