diff --git a/.github/workflows/reusable-cpp-coverage.yml b/.github/workflows/reusable-cpp-coverage.yml index ed7f3412..5beae68f 100644 --- a/.github/workflows/reusable-cpp-coverage.yml +++ b/.github/workflows/reusable-cpp-coverage.yml @@ -24,7 +24,7 @@ on: type: boolean llvm-version: description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters, e.g., 'a832a52')" - default: "21.1.8" + default: "23.1.2" type: string use-sccache-gha: description: "Whether to use sccache with the GitHub Actions cache backend" @@ -72,7 +72,7 @@ jobs: - name: Set up MLIR if: ${{ inputs.setup-mlir }} - uses: munich-quantum-software/setup-mlir@3f32263ce571a8b745068980f30f188b6e800763 # v1.4.2 + uses: munich-quantum-software/setup-mlir@8d3eae73d0f0196fd30c787d91ebd2018cb6c709 # v1.5.0 with: llvm-version: ${{ inputs.llvm-version }} diff --git a/.github/workflows/reusable-cpp-linter.yml b/.github/workflows/reusable-cpp-linter.yml index 582cb550..a8f4c28a 100644 --- a/.github/workflows/reusable-cpp-linter.yml +++ b/.github/workflows/reusable-cpp-linter.yml @@ -60,7 +60,7 @@ on: type: boolean llvm-version: description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters like 'a832a52')" - default: "21.1.8" + default: "23.1.2" type: string concurrency: @@ -102,7 +102,7 @@ jobs: - name: Set up MLIR if: ${{ inputs.setup-mlir }} - uses: munich-quantum-software/setup-mlir@3f32263ce571a8b745068980f30f188b6e800763 # v1.4.2 + uses: munich-quantum-software/setup-mlir@8d3eae73d0f0196fd30c787d91ebd2018cb6c709 # v1.5.0 with: llvm-version: ${{ inputs.llvm-version }} diff --git a/.github/workflows/reusable-cpp-tests-macos.yml b/.github/workflows/reusable-cpp-tests-macos.yml index 2dfc7012..5b39929a 100644 --- a/.github/workflows/reusable-cpp-tests-macos.yml +++ b/.github/workflows/reusable-cpp-tests-macos.yml @@ -43,7 +43,7 @@ on: type: boolean llvm-version: description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters, e.g., 'a832a52')" - default: "21.1.8" + default: "23.1.2" type: string preset-name: description: "The CMake preset to use for configuration and build" @@ -93,7 +93,7 @@ jobs: - name: Set up MLIR if: ${{ inputs.setup-mlir }} - uses: munich-quantum-software/setup-mlir@3f32263ce571a8b745068980f30f188b6e800763 # v1.4.2 + uses: munich-quantum-software/setup-mlir@8d3eae73d0f0196fd30c787d91ebd2018cb6c709 # v1.5.0 with: llvm-version: ${{ inputs.llvm-version }} diff --git a/.github/workflows/reusable-cpp-tests-ubuntu.yml b/.github/workflows/reusable-cpp-tests-ubuntu.yml index 7f39a414..f78e787f 100644 --- a/.github/workflows/reusable-cpp-tests-ubuntu.yml +++ b/.github/workflows/reusable-cpp-tests-ubuntu.yml @@ -43,7 +43,7 @@ on: type: boolean llvm-version: description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters, e.g., 'a832a52')" - default: "21.1.8" + default: "23.1.2" type: string preset-name: description: "The CMake preset to use for configuration and build" @@ -93,7 +93,7 @@ jobs: - name: Set up MLIR if: ${{ inputs.setup-mlir }} - uses: munich-quantum-software/setup-mlir@3f32263ce571a8b745068980f30f188b6e800763 # v1.4.2 + uses: munich-quantum-software/setup-mlir@8d3eae73d0f0196fd30c787d91ebd2018cb6c709 # v1.5.0 with: llvm-version: ${{ inputs.llvm-version }} diff --git a/.github/workflows/reusable-cpp-tests-windows.yml b/.github/workflows/reusable-cpp-tests-windows.yml index c76dc34f..048df0fd 100644 --- a/.github/workflows/reusable-cpp-tests-windows.yml +++ b/.github/workflows/reusable-cpp-tests-windows.yml @@ -41,12 +41,8 @@ on: type: boolean llvm-version: description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters, e.g., 'a832a52')" - default: "21.1.8" + default: "23.1.2" type: string - mlir-debug: - description: "Whether to use a debug build of MLIR" - default: false - type: boolean preset-name: description: "The CMake preset to use for configuration and build" required: true @@ -168,10 +164,9 @@ jobs: - name: Set up MLIR if: ${{ inputs.setup-mlir }} - uses: munich-quantum-software/setup-mlir@3f32263ce571a8b745068980f30f188b6e800763 # v1.4.2 + uses: munich-quantum-software/setup-mlir@8d3eae73d0f0196fd30c787d91ebd2018cb6c709 # v1.5.0 with: llvm-version: ${{ inputs.llvm-version }} - debug: ${{ inputs.mlir-debug }} - name: Install the latest version of uv uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 diff --git a/.github/workflows/reusable-python-linter.yml b/.github/workflows/reusable-python-linter.yml index 63f4b5d8..4cebbd12 100644 --- a/.github/workflows/reusable-python-linter.yml +++ b/.github/workflows/reusable-python-linter.yml @@ -32,7 +32,7 @@ on: type: boolean llvm-version: description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters, e.g., 'a832a52')" - default: "21.1.8" + default: "23.1.2" type: string check-stubs: description: "Whether to check if the stub files are up to date. Requires a nox session called `stubs` to exist." @@ -90,7 +90,7 @@ jobs: - name: Set up MLIR if: ${{ inputs.setup-mlir }} - uses: munich-quantum-software/setup-mlir@3f32263ce571a8b745068980f30f188b6e800763 # v1.4.2 + uses: munich-quantum-software/setup-mlir@8d3eae73d0f0196fd30c787d91ebd2018cb6c709 # v1.5.0 with: llvm-version: ${{ inputs.llvm-version }} diff --git a/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml b/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml index 842bf41b..ddc17565 100644 --- a/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml +++ b/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml @@ -27,9 +27,13 @@ on: description: "Whether to set up MLIR" default: false type: boolean + mlir-assertions: + description: "Whether the MLIR SDK should retain assertions (Linux consumers select the SDK inside cibuildwheel)" + default: false + type: boolean llvm-version: description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters, e.g., 'a832a52')" - default: "21.1.8" + default: "23.1.2" type: string secrets: AWS_S3_BUCKET: @@ -74,9 +78,10 @@ jobs: - name: Set up MLIR if: ${{ inputs.setup-mlir && !startsWith(inputs.runs-on, 'ubuntu') }} - uses: munich-quantum-software/setup-mlir@3f32263ce571a8b745068980f30f188b6e800763 # v1.4.2 + uses: munich-quantum-software/setup-mlir@8d3eae73d0f0196fd30c787d91ebd2018cb6c709 # v1.5.0 with: llvm-version: ${{ inputs.llvm-version }} + assertions: ${{ inputs.mlir-assertions }} - name: Install the latest version of uv uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 diff --git a/.github/workflows/reusable-python-tests.yml b/.github/workflows/reusable-python-tests.yml index 96bd0290..d005bfa3 100644 --- a/.github/workflows/reusable-python-tests.yml +++ b/.github/workflows/reusable-python-tests.yml @@ -36,7 +36,7 @@ on: type: boolean llvm-version: description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters, e.g., 'a832a52')" - default: "21.1.8" + default: "23.1.2" type: string free-disk-space: description: "Whether to free disk space before running the tests" @@ -183,7 +183,7 @@ jobs: - name: Set up MLIR if: ${{ inputs.setup-mlir }} - uses: munich-quantum-software/setup-mlir@3f32263ce571a8b745068980f30f188b6e800763 # v1.4.2 + uses: munich-quantum-software/setup-mlir@8d3eae73d0f0196fd30c787d91ebd2018cb6c709 # v1.5.0 with: llvm-version: ${{ inputs.llvm-version }} diff --git a/.github/workflows/reusable-qiskit-upstream-tests.yml b/.github/workflows/reusable-qiskit-upstream-tests.yml index 07a8a1bc..7232d59b 100644 --- a/.github/workflows/reusable-qiskit-upstream-tests.yml +++ b/.github/workflows/reusable-qiskit-upstream-tests.yml @@ -28,7 +28,7 @@ on: type: boolean llvm-version: description: "The LLVM version to set up (formatted as 'major.minor.patch') or commit hash (minimum 7 characters, e.g., 'a832a52')" - default: "21.1.8" + default: "23.1.2" type: string concurrency: @@ -65,7 +65,7 @@ jobs: - name: Set up MLIR if: ${{ inputs.setup-mlir }} - uses: munich-quantum-software/setup-mlir@3f32263ce571a8b745068980f30f188b6e800763 # v1.4.2 + uses: munich-quantum-software/setup-mlir@8d3eae73d0f0196fd30c787d91ebd2018cb6c709 # v1.5.0 with: llvm-version: ${{ inputs.llvm-version }}