{"id":20981971,"url":"https://github.com/lowrisc/lowrisc-toolchains","last_synced_at":"2026-02-24T14:04:34.453Z","repository":{"id":39859264,"uuid":"201031040","full_name":"lowRISC/lowrisc-toolchains","owner":"lowRISC","description":"UNSUPPORTED INTERNAL toolchain builds","archived":false,"fork":false,"pushed_at":"2025-03-03T12:12:19.000Z","size":104,"stargazers_count":36,"open_issues_count":14,"forks_count":17,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-02T20:38:24.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lowRISC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-07T10:50:01.000Z","updated_at":"2025-03-09T07:50:51.000Z","dependencies_parsed_at":"2024-02-05T22:24:07.898Z","dependency_job_id":"632006f7-4f28-4374-b4cd-7a3f5976c285","html_url":"https://github.com/lowRISC/lowrisc-toolchains","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowRISC%2Flowrisc-toolchains","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowRISC%2Flowrisc-toolchains/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowRISC%2Flowrisc-toolchains/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowRISC%2Flowrisc-toolchains/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lowRISC","download_url":"https://codeload.github.com/lowRISC/lowrisc-toolchains/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254182795,"owners_count":22028363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T05:42:05.509Z","updated_at":"2026-02-24T14:04:34.446Z","avatar_url":"https://github.com/lowRISC.png","language":"Shell","readme":"lowRISC Toolchain Builds\n========================\n\nThis repository contains toolchain builds and tools to create toolchains for lowRISC internal and partner use.\nThe toolchains are *not supported* by lowRISC or recommended to be used outside of lowRISC and partners.\n\nHead over to the\n[GitHub releases for this repository](https://github.com/lowRISC/lowrisc-toolchains/releases)\nfor pre-built toolchains.\n\nThe following toolchains are provided:\n\n* Binutils + Clang RV32IMCB without hardfloat support, targeting [Ibex](https://github.com/lowRISC/ibex).\n* Binutils + Clang RV64IMAC, targeting [Muntjac](https://github.com/lowRISC/muntjac).\n\nCreating a Release\n------------------\n\n1. Push the changes or do a pull request, and wait for the CI workflow to\n   complete.\n\n   The build can be tested by downloading the GitHub artifacts.\n     1. Go to the [Github Actions page](https://github.com/lowRISC/lowrisc-toolchains/actions).\n     2. Select a workflow run from the list.\n     3. Download the desired artifact from the bottom of the page and test it.\n\n2. Tag the release.\n\n   ```sh\n   VERSION=$(date +%Y%m%d)-1\n   git tag -a -m \"Release version $VERSION\" $VERSION\n   ```\n\n3. Push the tag.\n\n   ```sh\n   git push origin $VERSION\n   ```\n\n   Now the release builds on GitHub's CI, and the resulting binaries will be uploaded to\n   [GitHub releases](https://github.com/lowRISC/lowrisc-toolchains/releases).\n\n\nManual Installation\n-------------------\n\n1. Download a release archive matching your host architecture and target system from the\n   [Github releases](https://github.com/lowRISC/lowrisc-toolchains/releases).\n\n2. Extract the archive:\n\n   ```sh\n   xzcat \u003cpath to the downloaded archive\u003e | tar -xvf -\n   ```\n\n3. You should now be able to use the toolchain. You may optionally add the `bin` subfolder\n   to your `PATH` to use the binaries from anywhere.\n\nOpentitan Bazel Integration\n---------------------------\n\nThe Ibex toolchain artifacts are consumed by Bazel for building Opentitan software.\nFor development and testing purposes, you may override the toolchain used with a local build\ninstead of a released version.\n\nIn the following steps, `OPENTITAN` denotes the path to your Opentitan checkout, and\n`TOOLCHAIN` denotes the path to the toolchain you wish to override with\n(if you have a locally built toolchain, this should be the `dist` folder).\n\n1. Create an empty `REPO.bazel` file in the toolchain folder.\n\n   ```sh\n   touch $TOOLCHAIN/REPO.bazel\n   ```\n\n2. Create a symbolic link called `BUILD` in the toolchain folder, pointing to the toolchain's\n   build file in the Opentitan checkout.\n\n   ```sh\n   ln -s $OPENTITAN/third_party/lowrisc/BUILD.lowrisc_rv32imcb_toolchain.bazel $TOOLCHAIN/BUILD\n   ```\n\n3. Override the repository in your Bazel commands.\n\n   ```sh\n   bazel --override_repository=+lowrisc_rv32imcb_toolchain+lowrisc_rv32imcb_toolchain=$TOOLCHAIN ...\n   ```\n\n   Repeatedly specifying the flag can be tedious, so to override the repository by default for all\n   commands, create a `.bazelrc-site` file in your Opentitan checkout containing the following:\n\n   ```\n   common --override_repository=+lowrisc_rv32imcb_toolchain+lowrisc_rv32imcb_toolchain=\u003cpath to your toolchain\u003e\n   ```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flowrisc%2Flowrisc-toolchains","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flowrisc%2Flowrisc-toolchains","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flowrisc%2Flowrisc-toolchains/lists"}