Skip to content

Commit

Permalink
Update LLVM release to v16.0.6.
Browse files Browse the repository at this point in the history
Signed-off-by: Tao He <[email protected]>
  • Loading branch information
sighingnow committed Jul 15, 2023
1 parent 2d477e2 commit 2c39671
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ macos_instance:

env:
MACOSX_DEPLOYMENT_TARGET: "10.15"
LLVM_VER: 16.0.4
LLVM_VER: 16.0.6

task:
checkout_script:
Expand Down
5 changes: 4 additions & 1 deletion .github/free-disk-space.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ df -h
echo "Removing large directories"
# deleting 15GB
rm -rf /usr/share/dotnet/
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
df -h

2 changes: 1 addition & 1 deletion .github/workflows/libclang-alpine-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: libclang-alpine-amd64
on: [push, pull_request]

env:
LLVM_VER: 16.0.4
LLVM_VER: 16.0.6

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libclang-linux-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: libclang-linux-aarch64
on: [push, pull_request]

env:
LLVM_VER: 16.0.4
LLVM_VER: 16.0.6

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libclang-linux-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: libclang-linux-amd64
on: [push, pull_request]

env:
LLVM_VER: 16.0.4
LLVM_VER: 16.0.6

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libclang-linux-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: libclang-linux-arm
on: [push, pull_request]

env:
LLVM_VER: 16.0.4
LLVM_VER: 16.0.6

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libclang-macosx-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: libclang-macosx-amd64
on: [push, pull_request]

env:
LLVM_VER: 16.0.4
LLVM_VER: 16.0.6

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libclang-macosx-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: libclang-macosx-arm64
on: [push, pull_request]

env:
LLVM_VER: 16.0.4
LLVM_VER: 16.0.6
BIN: /usr/local/opt/llvm/bin

concurrency:
Expand Down Expand Up @@ -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.4-arm64-apple-darwin21.6 \
-DLLVM_DEFAULT_TARGET_TRIPLE=16.0.6-arm64-apple-darwin21.6 \
-DLLVM_ENABLE_PIC=False \
-DLLVM_ENABLE_PROJECTS=clang \
-DLLVM_ENABLE_TERMINFO=OFF \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libclang-windows-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: libclang-windows-aarch64
on: [push, pull_request]

env:
LLVM_VER: 16.0.4
LLVM_VER: 16.0.6

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libclang-windows-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: libclang-windows-amd64
on: [push, pull_request]

env:
LLVM_VER: 16.0.4
LLVM_VER: 16.0.6

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
# built documents.
#
# The short X.Y version.
version = '16.0.4'
version = '16.0.6'
# The full version, including alpha/beta/rc tags.
release = '16.0.4'
release = '16.0.6'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:Date: 2021-04-17
:Version: 16.0.4
:Version: 16.0.6
:Authors: - The LLVM Team

.. meta::
Expand Down
4 changes: 2 additions & 2 deletions scripts/update_python_clang_bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail

TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"

LLVM_VERSION="${LLVM_VERSION:-16.0.4}"
LLVM_VERSION="${LLVM_VERSION:-16.0.6}"
LLVM_URL_PREFIX="https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-${LLVM_VERSION}/clang/bindings/python"

LISTING=(
Expand All @@ -20,7 +20,7 @@ function run() {
BINDINGS_DIR="${TOP_DIR}/python"

for clang_py_file in "${LISTING[@]}"; do
run curl -fsSL "${LLVM_URL_PREFIX}/${clang_py_file}" -o "${BINDINGS_DIR}/${clang_py_file}"
run curl --insecure -fsSL "${LLVM_URL_PREFIX}/${clang_py_file}" -o "${BINDINGS_DIR}/${clang_py_file}"
done

pushd "${TOP_DIR}" > /dev/null
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='libclang',
version='16.0.4',
version='16.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',
Expand Down
2 changes: 1 addition & 1 deletion setup_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def run(self):

setup(
name='libclang',
version='16.0.4',
version='16.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',
Expand Down

0 comments on commit 2c39671

Please sign in to comment.