SynthstromAudible / dbt-toolchain

Toolchain for Deluge Build Tool (DBT)
GNU General Public License v3.0
2 stars 3 forks source link

Deluge Build Tool (DBT) Toolchain

Scripted tooling for fetching toolchain components from multiple sources to build each zip/tarball.

As of right now, Linux, Mac (darwin), and are supported on either of arm64/aarch64 or x86_64 architectures. Windows is supported on x86_64 only.

These toolchains are installed and used by DBT in-place as "portable" or "standalone" style packages. The appropriate toolchain is installed based on which platform the scripts are run from so you should (once DBT is working) not have to download these independently.

The docker workflow tests the build on amd64/x86_64 only.

Rules for making version changes (new downloadables are only pushed on a version change)

The workflow is run on every push. If you don't want it run on your push, cancel it manually in Github Actions.

The workflow will only place/replace the Released files available for download on a new version tag creation (or deletion and recreation of the tag... see the next section if this is needed for some reason). At present, the logic is not very robust so please follow these instructions:

Do not use tags for anything else in this repo!

Rules for replacing downloadables at the same version

This is not advisable as there's no mechanism for ensuring clients download the new version. That said, there can be good reasons for doing this (like if a newly released toolchain has a problem that's found before the version is incremented in the community firmware repo). Follow these steps:

Toolchain inclusions

See config.toml for list of packages and their relevant versions

Details:

xpack OpenOCD

In order to enable support for DelugeProbe and other third-party debuggers, OpenOCD will need to be used.

Python

Standalone Python requires libcrypt.so.1 to be installed in the host Linux distribution. Where it's not included by default look for a libxcrypt-compat package or similar in your distribution package manager and install that.