[llvm] workflows: Fix baseline version for llvm abi checks (PR #85166)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 01:46:39 PDT 2024
================
@@ -58,15 +59,27 @@ jobs:
- name: Setup Variables
id: vars
run: |
- if [ ${{ steps.version.outputs.LLVM_VERSION_MINOR }} -ne 0 ] || [ ${{ steps.version.outputs.LLVM_VERSION_PATCH }} -eq 0 ]; then
+ # libLLVM:
+ # 18.1.0 we aren't doing ABI checks.
+ # 18.1.1 We want to check 18.1.0.
+ # libclang:
+ # 18.1.0 We want to check 17.0.x
+ # 18.1.1 We want to check 18.1.0
+ if [ ${{ steps.version.outputs.LLVM_VERSION_PATCH }} -eq 0 ]; then
{
echo "BASELINE_VERSION_MAJOR=$(( ${{ steps.version.outputs.LLVM_VERSION_MAJOR }} - 1))"
echo "ABI_HEADERS=llvm-c"
+ if [ "${{ steps.version.outputs.LLVM_VERSION_MAJOR }}" -le 18 ]; then
----------------
nikic wrote:
Do we need this, given that we're not going to make changes to older versions anymore?
https://github.com/llvm/llvm-project/pull/85166
More information about the llvm-commits
mailing list