Skip to content

Commit d9d35d8

Browse files
committed
update workflows and readmes
1 parent 976f60d commit d9d35d8

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/workflows/ci-rs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ env:
2222
HUGR_TEST_SCHEMA: "1"
2323
# different strings for install action and feature name
2424
# adapted from https://github.com/TheDan64/inkwell/blob/master/.github/workflows/test.yml
25-
LLVM_VERSION: "14.0"
26-
LLVM_FEATURE_NAME: "14-0"
25+
LLVM_VERSION: "20.1"
26+
LLVM_FEATURE_NAME: "20-1"
2727

2828
jobs:
2929
# Check if changes were made to the relevant files.
@@ -343,7 +343,7 @@ jobs:
343343
cargo llvm-cov clean --workspace
344344
cargo llvm-cov --no-report --no-default-features --doctests
345345
cargo llvm-cov --no-report --all-features --doctests
346-
cargo llvm-cov --no-report -p hugr-llvm --features llvm14-0 --doctests
346+
cargo llvm-cov --no-report -p hugr-llvm --features llvm20-1 --doctests
347347
cargo llvm-cov --no-report -p hugr-persistent --doctests
348348
- name: Generate coverage report
349349
run: cargo llvm-cov --all-features report --codecov --output-path coverage.json

.github/workflows/release-plz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99

1010
env:
11-
LLVM_VERSION: "14.0"
11+
LLVM_VERSION: "20.1"
1212

1313
jobs:
1414
release-plz-pr:

.github/workflows/semver-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
if: ${{ needs.changes.outputs.rust == 'true' }}
2626
uses: CQCL/hugrverse-actions/.github/workflows/rs-semver-checks.yml@main
2727
with:
28-
apt-dependencies: llvm-14
28+
apt-dependencies: llvm-20
2929
secrets:
3030
GITHUB_PAT: ${{ secrets.HUGRBOT_PAT }}

DEVELOPMENT.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To setup the environment manually you will need:
3434
- uv `>=0.7`: <https://docs.astral.sh/uv/getting-started/installation>
3535
- Optional: capnproto `>=1.0`: <https://capnproto.org/install.html>
3636
Required when modifying the `hugr-model` serialization schema.
37-
- Optional: llvm `== 14.0`. The "llvm" feature (backed by the sub-crate `hugr-llvm`)
37+
- Optional: llvm `== 20.1`. The "llvm" feature (backed by the sub-crate `hugr-llvm`)
3838
requires LLVM installed. We use the rust bindings
3939
[llvm-sys](https://crates.io/crates/llvm-sys) to [llvm](https://llvm.org/).
4040

@@ -46,11 +46,11 @@ just setup
4646

4747
#### Note on LLVM
4848

49-
You will need llvm 14.0 installed in order for `just check` to run all its
49+
You will need llvm 20.1 installed in order for `just check` to run all its
5050
checks successfully. On Debian-based systems you can install it as the
51-
`llvm-14` package; you will also need to install `libpolly14-dev`. You should
52-
set the environment variable `LLVM_SYS_140_PREFIX` to point to its location
53-
(e.g. `/usr/lib/llvm-14`) when running `just check`.
51+
`llvm-20` package; you will also need to install `libpolly20-dev`. You should
52+
set the environment variable `LLVM_SYS_201_PREFIX` to point to its location
53+
(e.g. `/usr/lib/llvm-20`) when running `just check`.
5454

5555
## 🏃 Running the tests
5656

hugr-llvm/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ A general, extensible, rust crate for lowering `HUGR`s into `LLVM` IR. Built on
1111
You'll need to point your `Cargo.toml` to use a single LLVM version feature flag corresponding to your LLVM version, by calling
1212

1313
```bash
14-
cargo add hugr-llvm --features llvm14-0
14+
cargo add hugr-llvm --features llvm20-1
1515
```
1616

17-
At present only `llvm14-0` is supported but we expect to introduce supported versions as required. Contributions are welcome.
17+
At present only `llvm20-1` is supported
1818

1919
See the [llvm-sys][] crate for details on how to use your preferred llvm installation.
2020

0 commit comments

Comments
 (0)