From 70e4243d8fe1a300466cba233f7a08f88d59d2fe Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 24 Aug 2025 17:36:58 +0300 Subject: [PATCH] Update package version to 20.1.8 --- check-version.sh | 12 ++++++++++++ pkg.info | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..20c0adc --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Github repository +REPO="llvm/llvm-project" + +# Get tag name using Github Rest API +TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name') + +# Get version number from tag name +VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev) + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 1682cf6..e9c1907 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,8 @@ name: libclc description: Open Source implementation of the library requirements of the OpenCL C programming language -version: 18.1.7 +version: 20.1.8 url: https://libclc.llvm.org/ license: NCSA OR MIT architecture: any -depends: ["clang","llvm","cmake","ninja","python3","spirv-llvm-translator"] +make_depends: ["clang","llvm","cmake","ninja","python3","spirv-llvm-translator"] type: source