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.1.tar.gz
.
File metadata
- Download URL: ccbuilder-0.1.1.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87ddbcbfa1082db54214e46bbf8f15788a3a55b9a041e8d703f3213003552894 |
|
MD5 | e68adcb78c512807f6a56d337c36bd3d |
|
BLAKE2b-256 | 4fca77248707feaa488432480833a3047d53e322a603e29dfa2cc2edbc49c28e |
File details
Details for the file ccbuilder-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: ccbuilder-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df45160e0b068a21fea9bf9b35c7839b5106f3d5e25e6bdf2db54c9e64d7dabc |
|
MD5 | aa61a9f42de51ab5d34302e765021e98 |
|
BLAKE2b-256 | 1e146433a4e8b434c9109faaef13672f12b84176105dbf07b30d3fd1349f298d |