From 76cfa0dab7a8a5b5f3aab87602d754a1682aec7a Mon Sep 17 00:00:00 2001 From: Tao He Date: Fri, 23 Feb 2024 00:30:18 +0800 Subject: [PATCH] Upgrade llvm version to v17.0.6 Signed-off-by: Tao He --- .cirrus.yml | 2 +- .github/workflows/libclang-alpine-amd64.yml | 2 +- .github/workflows/libclang-linux-aarch64.yml | 2 +- .github/workflows/libclang-linux-amd64.yml | 2 +- .github/workflows/libclang-linux-arm.yml | 2 +- .github/workflows/libclang-macosx-amd64.yml | 2 +- .github/workflows/libclang-macosx-arm64.yml | 4 ++-- .github/workflows/libclang-windows-aarch64.yml | 2 +- .github/workflows/libclang-windows-amd64.yml | 2 +- docs/conf.py | 4 ++-- docs/index.rst | 2 +- scripts/update_python_clang_bindings.sh | 2 +- setup.py | 2 +- setup_ext.py | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c52e466..c791bd6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -3,7 +3,7 @@ macos_instance: env: MACOSX_DEPLOYMENT_TARGET: "10.15" - LLVM_VER: 16.0.6 + LLVM_VER: 17.0.6 task: checkout_script: diff --git a/.github/workflows/libclang-alpine-amd64.yml b/.github/workflows/libclang-alpine-amd64.yml index c4c5425..005bbc7 100644 --- a/.github/workflows/libclang-alpine-amd64.yml +++ b/.github/workflows/libclang-alpine-amd64.yml @@ -3,7 +3,7 @@ name: libclang-alpine-amd64 on: [push, pull_request] env: - LLVM_VER: 16.0.6 + LLVM_VER: 17.0.6 concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} diff --git a/.github/workflows/libclang-linux-aarch64.yml b/.github/workflows/libclang-linux-aarch64.yml index 07b7eb2..2caeecf 100644 --- a/.github/workflows/libclang-linux-aarch64.yml +++ b/.github/workflows/libclang-linux-aarch64.yml @@ -3,7 +3,7 @@ name: libclang-linux-aarch64 on: [push, pull_request] env: - LLVM_VER: 16.0.6 + LLVM_VER: 17.0.6 concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} diff --git a/.github/workflows/libclang-linux-amd64.yml b/.github/workflows/libclang-linux-amd64.yml index 87c5e03..83718e8 100644 --- a/.github/workflows/libclang-linux-amd64.yml +++ b/.github/workflows/libclang-linux-amd64.yml @@ -3,7 +3,7 @@ name: libclang-linux-amd64 on: [push, pull_request] env: - LLVM_VER: 16.0.6 + LLVM_VER: 17.0.6 concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} diff --git a/.github/workflows/libclang-linux-arm.yml b/.github/workflows/libclang-linux-arm.yml index a615a0f..2f0afc6 100644 --- a/.github/workflows/libclang-linux-arm.yml +++ b/.github/workflows/libclang-linux-arm.yml @@ -3,7 +3,7 @@ name: libclang-linux-arm on: [push, pull_request] env: - LLVM_VER: 16.0.6 + LLVM_VER: 17.0.6 concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} diff --git a/.github/workflows/libclang-macosx-amd64.yml b/.github/workflows/libclang-macosx-amd64.yml index ae8f7cb..0aa8ce1 100644 --- a/.github/workflows/libclang-macosx-amd64.yml +++ b/.github/workflows/libclang-macosx-amd64.yml @@ -3,7 +3,7 @@ name: libclang-macosx-amd64 on: [push, pull_request] env: - LLVM_VER: 16.0.6 + LLVM_VER: 17.0.6 concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} diff --git a/.github/workflows/libclang-macosx-arm64.yml b/.github/workflows/libclang-macosx-arm64.yml index 78f6802..42188b0 100644 --- a/.github/workflows/libclang-macosx-arm64.yml +++ b/.github/workflows/libclang-macosx-arm64.yml @@ -3,7 +3,7 @@ name: libclang-macosx-arm64 on: [push, pull_request] env: - LLVM_VER: 16.0.6 + LLVM_VER: 17.0.6 BIN: /usr/local/opt/llvm/bin concurrency: @@ -48,7 +48,7 @@ jobs: -DCMAKE_OSX_ARCHITECTURES=arm64 \ -DCMAKE_SYSTEM_NAME=Darwin \ -DDEFAULT_SYSROOT="$(xcrun --show-sdk-path)" \ - -DLLVM_DEFAULT_TARGET_TRIPLE=16.0.6-arm64-apple-darwin21.6 \ + -DLLVM_DEFAULT_TARGET_TRIPLE=17.0.6-arm64-apple-darwin21.6 \ -DLLVM_ENABLE_PIC=False \ -DLLVM_ENABLE_PROJECTS=clang \ -DLLVM_ENABLE_TERMINFO=OFF \ diff --git a/.github/workflows/libclang-windows-aarch64.yml b/.github/workflows/libclang-windows-aarch64.yml index 7133a18..38f21c3 100644 --- a/.github/workflows/libclang-windows-aarch64.yml +++ b/.github/workflows/libclang-windows-aarch64.yml @@ -3,7 +3,7 @@ name: libclang-windows-aarch64 on: [push, pull_request] env: - LLVM_VER: 16.0.6 + LLVM_VER: 17.0.6 concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} diff --git a/.github/workflows/libclang-windows-amd64.yml b/.github/workflows/libclang-windows-amd64.yml index 988f5d4..f5319c3 100644 --- a/.github/workflows/libclang-windows-amd64.yml +++ b/.github/workflows/libclang-windows-amd64.yml @@ -3,7 +3,7 @@ name: libclang-windows-amd64 on: [push, pull_request] env: - LLVM_VER: 16.0.6 + LLVM_VER: 17.0.6 concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} diff --git a/docs/conf.py b/docs/conf.py index 0c6531e..3111ec9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -63,9 +63,9 @@ # built documents. # # The short X.Y version. -version = '16.0.6' +version = '17.0.6' # The full version, including alpha/beta/rc tags. -release = '16.0.6' +release = '17.0.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/index.rst b/docs/index.rst index cc6dc09..d1eaf29 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,5 +1,5 @@ :Date: 2021-04-17 -:Version: 16.0.6 +:Version: 17.0.6 :Authors: - The LLVM Team .. meta:: diff --git a/scripts/update_python_clang_bindings.sh b/scripts/update_python_clang_bindings.sh index 2d8ffb6..8eed31f 100755 --- a/scripts/update_python_clang_bindings.sh +++ b/scripts/update_python_clang_bindings.sh @@ -3,7 +3,7 @@ set -euo pipefail TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" -LLVM_VERSION="${LLVM_VERSION:-16.0.6}" +LLVM_VERSION="${LLVM_VERSION:-17.0.6}" LLVM_URL_PREFIX="https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-${LLVM_VERSION}/clang/bindings/python" LISTING=( diff --git a/setup.py b/setup.py index 2aa96a3..6757b18 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='libclang', - version='16.0.6', + version='17.0.6', description='Clang Python Bindings, mirrored from the official LLVM repo: https://github.com/llvm/llvm-project/tree/main/clang/bindings/python, to make the installation process easier.', long_description=long_description, long_description_content_type='text/markdown', diff --git a/setup_ext.py b/setup_ext.py index 9702d51..fd76b0f 100644 --- a/setup_ext.py +++ b/setup_ext.py @@ -54,7 +54,7 @@ def run(self): setup( name='libclang', - version='16.0.6', + version='17.0.6', description='Clang Python Bindings, mirrored from the official LLVM repo: https://github.com/llvm/llvm-project/tree/main/clang/bindings/python, to make the installation process easier.', long_description=long_description, long_description_content_type='text/markdown',