[Toolchain] Archive versioning
Allow toolchain builder to add a suffix to toolchain name. It is useful for rebuilding the same toolchain in different environment. (cherry picked from commit 83148fc5bb4e8bcc5afcf119df53ec1bc854be17)
This commit is contained in:
@@ -8,8 +8,9 @@ This directory contains a set of scripts and configuration files that allow one
|
||||
### Usage
|
||||
1. First, you need to build a Docker image with crosstool-ng inside. Use `create_image.sh` for it.
|
||||
2. Now you can build an actual toolchain. To pick one, take a look inside `toolchains` folder.
|
||||
It is organized as `$TARGET/$VERSION`. Then run `./run_container.sh $TARGET $VERSION`. Building a toolchain might take a while (~17 minutes on Ryzen 5 3600).
|
||||
It is organized as `$TARGET/$VERSION`. Then run `./run_container.sh $TARGET $VERSION $TOOLCHAIN_VERSION_SUFFIX`. Building a toolchain might take a while (~17 minutes on Ryzen 5 3600).
|
||||
Once ready, an archive will be placed in `artifacts` folder.
|
||||
`$TOOLCHAIN_VERSION_SUFFIX` is an optional argument that adds suffix to the end of toolchain name.
|
||||
|
||||
### Example
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user