Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
967233a
Remove typed pointers from tket-qsystem
cgh-qtnm Feb 23, 2026
b635ddb
Remove typed pointers from qis-compiler, fix tests
cgh-qtnm Feb 23, 2026
b6c53f8
Pin version for integration testing, squash some warnings
cgh-qtnm Feb 23, 2026
4f89946
Bump pinned hugr version
cgh-qtnm Feb 23, 2026
c02d9c6
Use direct deps instead of cargo override, pin branch
cgh-qtnm Feb 23, 2026
24c14cc
Update snaps
cgh-qtnm Feb 26, 2026
f7a83b5
Apply lints, update LLVM version in CI
cgh-qtnm Feb 26, 2026
9baa4cf
Update devenv to use updated LLVM package + env vars
jake-arkinstall Mar 2, 2026
0c579a7
Update lockfile
cgh-qtnm Mar 16, 2026
88c1f46
Fix mismerge in Cargo.toml
cgh-qtnm Mar 16, 2026
894ea83
Remove stack array remnants, plus unused+deprecated import
cgh-qtnm Mar 16, 2026
596f36d
Wrap single TypeBase<NoRV> in vec! to satisfy Into<TypeRowBase<NoRV>>...
cgh-qtnm Mar 16, 2026
2ac589c
Fix BoolOp::not signature
cgh-qtnm Mar 16, 2026
e31b4f2
Update snaps
cgh-qtnm Mar 16, 2026
fecdbc7
Apply some lints
cgh-qtnm Mar 16, 2026
bde82c0
Replace llvm-install-action with apt install in workflows
aborgna-q Mar 17, 2026
c3a885d
Update DEVELOPMENT.md with llvm21 instructions
aborgna-q Mar 17, 2026
014d79f
Update qis-compiler pyproject config
aborgna-q Mar 17, 2026
18d5b10
Update TODO in llvm/rotation.rs
aborgna-q Mar 17, 2026
4667e80
Updated LLVM asset names in qis-compiler pyproject config
aborgna-q Mar 17, 2026
8f3c09e
Fix the llvm assets name
aborgna-q Mar 17, 2026
54e91f5
Try temp workaround for llvm-config running in the manylinux_2_28 con…
aborgna-q Mar 17, 2026
1a67a6e
Regenerate qis-compiler tests with latest guppy
aborgna-q Mar 17, 2026
e79c82f
Disable arm wheel builds for now
aborgna-q Mar 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 38 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ env:

# different strings for install action and feature name
# adapted from https://github.com/TheDan64/inkwell/blob/master/.github/workflows/test.yml
LLVM_VERSION: "14.0"
LLVM_FEATURE_NAME: "14-0"
LLVM_MAIN_VERSION: "21"
LLVM_VERSION: "21.1"
LLVM_FEATURE_NAME: "21-1"

# Path to the cached tket-c-api library
# When this envvar is set, the `./.github/actions/tket-c-api` action **must** be run to fetch the artifacts
Expand Down Expand Up @@ -76,9 +77,11 @@ jobs:
- name: Check formatting
run: cargo fmt -- --check
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${{ env.LLVM_MAIN_VERSION }} main'
sudo apt update
sudo apt install llvm-${{ env.LLVM_MAIN_VERSION }} libpolly-${{ env.LLVM_MAIN_VERSION }}-dev
- name: Run clippy
run: cargo clippy --all-targets --all-features --workspace -- -D warnings
- name: Build docs
Expand All @@ -102,10 +105,11 @@ jobs:
version: ${{ env.UV_VERSION }}
enable-cache: true
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
directory: ${{ runner.temp }}/llvm
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${{ env.LLVM_MAIN_VERSION }} main'
sudo apt update
sudo apt install llvm-${{ env.LLVM_MAIN_VERSION }} libpolly-${{ env.LLVM_MAIN_VERSION }}-dev
- name: Install tket-c-api library
uses: ./.github/actions/tket-c-api
with:
Expand Down Expand Up @@ -193,9 +197,11 @@ jobs:
- name: Configure default rust toolchain
run: rustup override set ${{steps.toolchain.outputs.name}}
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${{ env.LLVM_MAIN_VERSION }} main'
sudo apt update
sudo apt install llvm-${{ env.LLVM_MAIN_VERSION }} libpolly-${{ env.LLVM_MAIN_VERSION }}-dev
- name: Install tket-c-api library
uses: ./.github/actions/tket-c-api
with:
Expand Down Expand Up @@ -227,9 +233,11 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${{ env.LLVM_MAIN_VERSION }} main'
sudo apt update
sudo apt install llvm-${{ env.LLVM_MAIN_VERSION }} libpolly-${{ env.LLVM_MAIN_VERSION }}-dev
- name: Install tket-c-api library
uses: ./.github/actions/tket-c-api
with:
Expand Down Expand Up @@ -261,9 +269,11 @@ jobs:
toolchain: "nightly"
components: llvm-tools-preview
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${{ env.LLVM_MAIN_VERSION }} main'
sudo apt update
sudo apt install llvm-${{ env.LLVM_MAIN_VERSION }} libpolly-${{ env.LLVM_MAIN_VERSION }}-dev
- name: Install tket-c-api library
uses: ./.github/actions/tket-c-api
with:
Expand Down Expand Up @@ -308,9 +318,11 @@ jobs:
- name: Configure default rust toolchain
run: rustup override set ${{steps.toolchain.outputs.name}}
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${{ env.LLVM_MAIN_VERSION }} main'
sudo apt update
sudo apt install llvm-${{ env.LLVM_MAIN_VERSION }} libpolly-${{ env.LLVM_MAIN_VERSION }}-dev
- name: Install tket-c-api library
uses: ./.github/actions/tket-c-api
with:
Expand Down Expand Up @@ -391,9 +403,11 @@ jobs:
version: ${{ env.UV_VERSION }}
enable-cache: true
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${{ env.LLVM_MAIN_VERSION }} main'
sudo apt update
sudo apt install llvm-${{ env.LLVM_MAIN_VERSION }} libpolly-${{ env.LLVM_MAIN_VERSION }}-dev
- name: Install Python ${{ env.PYTHON_LOWEST }}
run: uv python install ${{ env.PYTHON_LOWEST }}
- name: Run qis-compiler tests
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python-qis-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
# TODO: Temporarily disabled until we create a manylinux_2_28 compatible docker image for ARM with LLVM 21.
#- ubuntu-24.04-arm
- macos-15
- macos-15-intel
- windows-2022
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ env:
RUSTC_WRAPPER: "sccache"
# different strings for install action and feature name
# adapted from https://github.com/TheDan64/inkwell/blob/master/.github/workflows/test.yml
LLVM_VERSION: "14.0"
LLVM_FEATURE_NAME: "14-0"
LLVM_MAIN_VERSION: "21"
LLVM_VERSION: "21.1"
LLVM_FEATURE_NAME: "21-1"

jobs:
# Check if the tag matches the package name,
Expand Down Expand Up @@ -123,9 +124,11 @@ jobs:
version: ${{ env.UV_VERSION }}
enable-cache: true
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${{ env.LLVM_MAIN_VERSION }} main'
sudo apt update
sudo apt install llvm-${{ env.LLVM_MAIN_VERSION }} libpolly-${{ env.LLVM_MAIN_VERSION }}-dev

# Set the path to the cached tket-c-api library
# When this envvar is set, the `./.github/actions/tket-c-api` action **must** be run to fetch the artifacts
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/unsoundness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ env:

# different strings for install action and feature name
# adapted from https://github.com/TheDan64/inkwell/blob/master/.github/workflows/test.yml
LLVM_VERSION: "14.0"
LLVM_FEATURE_NAME: "14-0"
LLVM_MAIN_VERSION: "21"
LLVM_VERSION: "21.1"
LLVM_FEATURE_NAME: "21-1"

# Path to the cached tket-c-api library
# When this envvar is set, the `./.github/actions/tket-c-api` action **must** be run to fetch the artifacts
Expand All @@ -46,9 +47,11 @@ jobs:
rustup override set nightly
cargo miri setup
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-${{ env.LLVM_MAIN_VERSION }} main'
sudo apt update
sudo apt install llvm-${{ env.LLVM_MAIN_VERSION }} libpolly-${{ env.LLVM_MAIN_VERSION }}-dev
- name: Install tket-c-api library
uses: ./.github/actions/tket-c-api
with:
Expand Down
Loading
Loading