A clang/gcc compiler builder
Project description
ccbuilder
can build and install llvm
and gcc
.
Basic Usage:
ccbuilder build [compiler] [revision]
compiler
must be either llvm
or gcc
and revision
either a commit hash
or a tag.
ccbuilder
relies on clones the GCC and LLVM git repos and can build most of their recent revisions/commits/tags, e.g.,
ccbuilder build gcc releases/gcc-13.1.0
will build GCC 13.1.0.
The built compilers are installed under ccbuilder
's compiler store (a filesystem directory).
After building a compiler, its installation location is printed, e.g.:
% ccbuilder build llvm main
/path/to/ccbuilder_compiler_store/clang-ff7d2fabe074d95cefb683d4a742eec172bd36d5
% /path/to/ccbuilder_compiler_store/clang-ff7d2fabe074d95cefb683d4a742eec172bd36d5/bin/clang -v
clang version 18.0.0 (https://github.com/llvm/llvm-project.git ff7d2fabe074d95cefb683d4a742eec172bd36d5)
...
ccbuilder
stores everything under $HOME/.cache
, the default locations can
be overriden via command line flags, e.g., ccbuilder build llvm master --compiler-store-path /some/other/path
To update the compiler git repos use ccbuilder --pull
.
For more options check ccbuilder -h
.
Installation:
pip install [-U] ccbuilder
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ccbuilder-0.1.2.tar.gz
.
File metadata
- Download URL: ccbuilder-0.1.2.tar.gz
- Upload date:
- Size: 100.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59467850ee82cc4d0e9b3a5049de9ec5fb4787099989bcf51fd8e6e32bd522b8 |
|
MD5 | d566f17934a74d64e4f97e245f3ddf15 |
|
BLAKE2b-256 | ee4d7d95be1a22cb85e4abe18a68bbb05e6657bee665925cef3ccc65612cbee1 |
File details
Details for the file ccbuilder-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ccbuilder-0.1.2-py3-none-any.whl
- Upload date:
- Size: 109.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 519e5fa085c024c8988b8e0df2f4507ea79ef71025000b41f1101daa8841cc97 |
|
MD5 | 32ea9bb1814808305c53095ff9d324e9 |
|
BLAKE2b-256 | fcdfdf87b38126147c7c424c15d23f0c7dc72444a36319d2b47bd8f4df08f5e1 |